Communication system having synchronized units and synchronization method for units
09705663 ยท 2017-07-11
Assignee
Inventors
Cpc classification
Y02T90/16
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
B60L58/21
PERFORMING OPERATIONS; TRANSPORTING
H01M10/425
ELECTRICITY
H01M10/441
ELECTRICITY
Y02T10/70
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
H02J7/0013
ELECTRICITY
Y02E60/10
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
H04Q2209/845
ELECTRICITY
H04Q2209/753
ELECTRICITY
H01M2220/20
ELECTRICITY
H04L65/00
ELECTRICITY
B60L3/12
PERFORMING OPERATIONS; TRANSPORTING
H02J7/00047
ELECTRICITY
International classification
H04L7/00
ELECTRICITY
H01M10/46
ELECTRICITY
H01M10/42
ELECTRICITY
B60L3/12
PERFORMING OPERATIONS; TRANSPORTING
H02J7/00
ELECTRICITY
Abstract
Disclosed are a communication system and a synchronization method for enabling synchronization of units included in the communication system in case of a communication line failure. In the communication system according to the present invention, all units are synchronized with the period of an ADSYNC outputted from a master unit when the ADSYNC, in which a data transmission preparation period and a data transmission period make a single cycle, is outputted from the master unit; slave units output a free-run ADSYNC when an ADSYNC is not outputted from the master unit; and, when a plurality of the slave units output free-run ADSYNCs, the slave units are synchronized with any one free-run ADSYNC from among the outputted free-run ADSYNCs.
Claims
1. A communication system comprising: a plurality of slave units in which adjacent slave units are connected via a signal line; and a master unit connected to the plurality slave units via a signal line, wherein when ADSYNC is outputted from the master unit, the slave units are all synchronized to a cycle of the ADSYNC outputted from the master unit, one cycle of the ADSYNC composed of a data transmission preparation section and a data transmission section, when ADSYNC is not outputted from the master unit, the slave units output free-run ADSYNCs, and when the free-run ADSYNCs are outputted from the plurality slave units, the slave units are synchronized to any one of the outputted free-run ADSYNCs, wherein the ADSYNC changes in logic level of a signal between the data transmission preparation section and a start point of the data transmission section.
2. The communication system according to claim 1, wherein the slave units are synchronized to free-run ADSYNC with a smallest width of a data transmission preparation section and a smallest width of an ADSYNC cycle among the free-run ADSYNCs outputted from the plurality of slave units.
3. The communication system according to claim 1, wherein the plurality of slave units stores a minimum width of a preset data transmission preparation section and a minimum width of a preset ADSYNC cycle, and the plurality of slave units is synchronized in association with the minimum width of the preset data transmission preparation section and the minimum width of the preset ADSYNC cycle based on the ADSYNC outputted from the master unit.
4. The communication system according to claim 3, wherein the synchronization in association with the minimum width of the preset data transmission preparation section and the minimum width of the preset ADSYNC cycle represents that a width of a data transmission preparation section of a synchronized ADSYNC is greater than the minimum width of the preset data transmission preparation section and a synchronized ADSYNC cycle is greater than the minimum width of the preset ADSYNC cycle.
5. The communication system according to claim 1, wherein data transmission is performed by overlapping a communication protocol other than ADSYNC in the data transmission section.
6. A battery pack comprising: a communication system according to claim 1; and secondary batteries connected to the slave units of the communication system, wherein the slave units comprise battery management systems to control the charge and discharge of the secondary batteries.
7. A battery operating system comprising: a battery pack according to claim 6; and a load which is supplied with power from the battery pack.
8. A method of synchronizing units in a communication system, the communication system comprising a plurality of slave units in which adjacent slave units are connected via a signal line, and a master unit connected to the plurality slave units via a signal line, to synchronize the slave units, the method comprising: (a) synchronizing all the slave units to a cycle of ADSYNC outputted from the master unit when the ADSYNC is outputted from the master unit, one cycle of the ADSYNC composed of a data transmission preparation section and a data transmission section; (b) outputting free-run ADSYNCs from the slave units when ADSYNC is not outputted from the master unit; and (c) synchronizing the slave units to any one free-run ADSYNC among the free-run ADSYNCs outputted from the plurality of slave units when the free-run ADSYNCs are outputted from the plurality slave units, wherein the ADSYNC changes in logic level of a signal between the data transmission preparation section and a start point of the data transmission section.
9. The method of synchronizing units in a communication system according to claim 8, wherein the step (c) comprises synchronizing the slave units to free-run ADSYNC with a smallest width of a data transmission preparation section and a smallest width of an ADSYNC cycle among the free-run ADSYNCs outputted from the plurality of slave units.
10. The method of synchronizing units in a communication system according to claim 8, wherein the plurality of slave units stores a minimum width of a preset data transmission preparation section and a minimum width of a preset ADSYNC cycle, and the step (a) comprises synchronizing the plurality of slave units in association with the minimum width of the preset data transmission preparation section and the minimum width of the preset ADSYNC cycle based on the ADSYNC outputted from the master unit.
11. The method of synchronizing units in a communication system according to claim 10, wherein the synchronizing in association with the minimum width of the preset data transmission preparation section and the minimum width of the preset ADSYNC cycle in the step (a) represents that a width of a data transmission preparation section of a synchronized ADSYNC is greater than the minimum width of the preset data transmission preparation section and a synchronized ADSYNC cycle is greater than the minimum width of the preset ADSYNC cycle.
12. The method of synchronizing units in a communication system according to claim 8, further comprising: (d) transmitting data by overlapping a communication protocol other than ADSYNC in the data transmission section.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying drawing illustrates a preferred embodiment of the present disclosure and together with the foregoing disclosure, serves to provide further understanding of the technical spirit of the present disclosure, and thus, the present disclosure is not construed as being limited to the drawing.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
MODE FOR CARRYING OUT THE INVENTION
(12) Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. Prior to the description, it should be understood that the terms used in the specification and the appended claims should not be construed as limited to general and dictionary meanings, but interpreted based on the meanings and concepts corresponding to technical aspects of the present disclosure on the basis of the principle that the inventor is allowed to define terms appropriately for the best explanation. Therefore, the description proposed herein is just a preferable example for the purpose of illustrations only, not intended to limit the scope of the disclosure, so it should be understood that other equivalents and modifications could be made thereto without departing from the spirit and scope of the disclosure.
(13)
(14) Referring to
(15) The master unit 10 is connected to each of the slave units 11, 12, and 13 via signal lines 14. Also, the slave units 11, 12, and 13 are connected to each other via a signal line 15. The signal lines 14 and 15 provide an electrical connection for data transmission and reception.
(16) For the convenience of description, assume the communication system 100 according to the present disclosure is a battery pack including secondary batteries. The slave units 11, 12, and 13 are connected to a plurality of secondary batteries (not shown), and each of the slave units 11, 12, and 13 includes a battery management system (BMS) (not shown) to control the charge/discharge of the secondary batteries. The BMS performs various control functions applicable at the ordinary level, including measurement of electrical characteristic values including voltage or electric current, charge/discharge control, voltage equalization control, and state of charge (SOC) estimation for each of the secondary batteries. Thus, the slave units 11, 12, and 13 may transmit data associated with the state of the secondary batteries, for which the slave units 11, 12, and 13 are responsible, to the master unit 10, or receive a control signal related to the charge/discharge of the secondary batteries from the master unit 10, through the signal lines 14.
(17) Referring to
(18)
(19) Referring to
(20) The universal asynchronous receiver/transmitter (UART) enables communication using a single communication line. However, even in this case, communication may be disabled due to a failure in a central processing unit (CPU), for example.
(21) Even though communication is disabled, if units are synchronized, voltage measurement or self-diagnosis is performed correctly and it is easy to know the content of data from the outside.
(22) In contrast, even when communication is enabled, if units are not synchronized, each slave unit differs in timing of voltage measurement and self-diagnosis, so voltage measurement is not performed correctly or data obtained through voltage measurement is unhelpful. Hereinafter, one of the problems of non-synchronization is cited as an example.
(23) For example, assume the master unit 10 commands each of the slave units 11, 12, and 13 to measure a current voltage and transmit a voltage value with an aim of voltage equalization control. If the slave units 11, 12, and 13 are not synchronized, each of the slave units 11, 12, and 13 measures the voltage at different times, and the master unit 10 may command the voltage equalization control using voltage values measured at different times. As a result, effective voltage equalization may not be achieved. Therefore, to prevent the problem, there is a need for synchronization between units included in the communication system 100.
(24) The communication system 100 according to the present disclosure synchronizes units using a communication protocol ADSYNC.
(25) Also, the communication system 100 according to the present disclosure may enable overlapping of communication based on a single-line communication protocol (UART communication protocol) after synchronization using ADSYNC. Also, data transmission and reception may be performed using the overlapped communication protocol (UART communication protocol). In normal condition, data communication is carried out via SPI, but when SPI communication is disenabled due to disconnection or other reasons, communication may be carried out using ADSYNC. That is, synchronization and communication is enabled via one remaining communication line. In the worst case, for example, even though communication is disenabled due to a CPU failure, synchronization may be enabled and many effects described in the foregoing may be expected. As an example of overlapping communication, the use of a minimum width of a preset transmission preparation section and a minimum width of a preset ADSYNC cycle is cited. This method is very simple overlapping communication, and its detailed description is omitted herein.
(26)
(27) One cycle of the ADSYNC consists of a data transmission preparation section and a data transmission section. To distinguish the data transmission preparation section from the data transmission section, the ADSYNC changes in logic level of the signal between a start point of the data transmission preparation section and a start point of the data transmission section. According to an exemplary embodiment of the present disclosure, the data transmission preparation section allows output as a high logic level signal (H), and the data transmission section allows output as a low logic level signal (L). The high logic level may be set to 5V and the low logic level may be set to 0V, but the present disclosure is not limited to the example. In this instance, it will be readily appreciated if the data transmission preparation section illustrated in the drawing is interpreted as a preset minimum width, and one cycle is interpreted as a minimum width of a preset ADSYNC cycle.
(28) The units synchronized by the ADSYNC may collect data intended to transmit, for example, data associated with voltage measurement and failure diagnosis, during the data transmission preparation section. Also, the units synchronized by the ADSYNC may transmit and receive the collected data within a preset width during the data transmission section. As shown in the example of
(29) Here, the ADSYNC cycle presented as below refers to one cycle of the signal composed of the data transmission preparation section and the data transmission section (ADSYNC cycle =data transmission preparation section+data transmission section).
(30) According to the present disclosure, when ADSYNC is outputted from the master unit 10, the slave units 11, 12, and 13 are all synchronized to the cycle of the ADSYNC outputted from the master unit 10.
(31)
(32) Referring to
(33)
(34) Referring to (a) through (c) of
(35) According to an exemplary embodiment of the present disclosure, the plurality of slave units 11, 12 and 13 stores a minimum width of the preset data transmission preparation section and a minimum width of the preset ADSYNC cycle. Also, the plurality of slave units 11, 12 and 13 is synchronized in association with the minimum width of the preset data transmission preparation section and the minimum width of the preset ADSYNC cycle based on the ADSYNC outputted from the master unit 10.
(36) The synchronization in association with the minimum width of the preset data transmission preparation section and the minimum width of the preset ADSYNC cycle may represent that a width of a data transmission preparation section of a synchronized ADSYNC is greater than the minimum width of the preset data transmission preparation section and a synchronized ADSYNC cycle is greater than the minimum width of the preset ADSYNC cycle. For convenience of understanding, its description is provided with reference to
(37)
(38) First, on the top of
(39) Subsequently, seeing (a) of
(40) Subsequently, seeing (b) of
(41) Subsequently, seeing (c) of
(42) That is, when the width of the data transmission preparation section and the width of the ADSYNC cycle of the ADSYNC outputted from the master unit 10 are greater than the minimum width (i) of the preset data transmission preparation section and the minimum width (ii) of the preset ADSYNC cycle, the slave units 11, 12, and 13 are synchronized to the ADSYNC outputted from the master unit 10. In contrast, when the width of the data transmission preparation section and the width of the ADSYNC cycle of the ADSYNC outputted from the master unit 10 are smaller than the minimum width (i) of the preset data transmission preparation section and the minimum width (ii) of the preset ADSYNC cycle, the slave units 11, 12, and 13 are synchronized to assure the minimum width (i) of the preset data transmission preparation section and the minimum width (ii) of the preset ADSYNC cycle.
(43) In this instance, the section (iii) as shown in (a), (b) and (c) of
(44) The minimum width (i) of the preset data transmission preparation section may be variously set in consideration of an amount of data to be collected by the slave units 11, 12, and 13, the performance of the slave units 11, 12, and 13, an amount of data to be transmitted, and the communication capacity of the signal lines 14 and 15.
(45) According to the present disclosure, when ADSYNC is not outputted from the master unit 10, the slave units 11, 12, and 13 output free-run ADSYNC.
(46)
(47) Referring to
(48)
(49) Referring to
(50) In this instance, the slave units 11, 12 and 13 according to the present disclosure are synchronized to any one of the outputted free-run ADSYNCs.
(51) According to an exemplary embodiment of the present disclosure, the slave units 11, 12 and 13 are synchronized to free-run ADSYNC with a smallest width of a data transmission preparation section and a smallest width of an ADSYNC cycle among the free-run ADSYNCs outputted from the plurality of slave units.
(52)
(53) Referring to
(54) The communication system 100 according to the present disclosure may be one component of a battery pack including the communication system 100 and the secondary batteries connected to the slave units 11, 12, and 13 of the communication system 100. In this instance, BMSs may be included in the slave units to control the charge/discharge of the secondary batteries.
(55) The battery pack according to the present disclosure may be one component of a battery operating system including the battery pack and a load which is supplied with power from the battery pack.
(56) The battery operating system may include, for example, an electric vehicle (EV), a hybrid electric vehicle (HEV), an electric bike (E-Bike), a power tool, an energy storage system, an uninterruptible power supply (UPS), a portable computer, a mobile phone, a portable audio device, a portable video device, and the like, and the load may include, for example, a motor that generates a rotational force by power supplied from the battery pack, or a power inverter circuit that inverts power supplied from the battery pack to power required for various circuit components.
(57) Hereinafter, a method of synchronizing units in the communication system 100 is described. However, in the description of the method according to the present disclosure, because the architecture of the communication system 100 has been described in detail, an overlapping description is omitted herein.
(58)
(59) First, at step 20, the plurality of slave units 11, 12, and 13 determines if ADSYNC is outputted from the master unit 10, one cycle of the ADSYNC consisting of a data transmission preparation section and a data transmission section. When ADSYNC is outputted from the master unit 10 (YES at step 10), a processor of the method advances to step 21. In contrast, when ADSYNC is not outputted from the master unit 10 (NO at step 10), the processor of the method advances to step 22.
(60) At step 22, the plurality of slave units 11, 12, and 13 outputs free-run ADSYNCs. Also, the processor of the method advances to step 23. At step 23, the plurality of slave units is synchronized to any one of the outputted free-run ADSYNCs.
(61) According to an exemplary embodiment of the present disclosure, the plurality of slave units 11, 12, and 13 is synchronized to free-run ADSYNC with a smallest width of a data transmission preparation section and a smallest width of an ADSYNC cycle among the outputted free-run ADSYNCs. Then, the method is existed.
(62) When at step 20, ADSYNC is outputted from the master unit 10 (YES at step 20) and the processor of the method advances to step 21, the method is as follows.
(63) At step 21, the plurality of slave units 11, 12, and 13 determines if a minimum width of a preset data transmission preparation section and a minimum width a preset ADSYNC cycle are stored. When the minimum width of the preset data transmission preparation section and the minimum width of the preset ADSYNC cycle are stored in the plurality of slave units 11, 12, and 13 (YES at step 21), the processor of the method advances to step 24. In contrast, when the minimum width of the preset data transmission preparation section and of the minimum width the preset ADSYNC cycle are not stored in the plurality of slave units 11, 12, and 13 (NO at step 21), the processor of the method advances to step 25.
(64) At step 22, the plurality of slave units 11, 12, and 13 is synchronized to the cycle of the ADSYNC outputted from the master unit 10. Then, the method is existed.
(65) When at step 21, the minimum width of the preset data transmission preparation section and of the minimum width the preset ADSYNC cycle are stored in the plurality of slave units 11, 12, and 13 (YES at step 21) and the processor of the method advances to step 24, the method is as follows.
(66) At step 24, the plurality of slave units 11, 12, and 13 is synchronized in association with the minimum width of the preset data transmission preparation section and of the minimum width the preset ADSYNC cycle based on the ADSYNC outputted from the master unit 10.
(67) According to an exemplary embodiment of the present disclosure, the synchronization in association with the minimum width of the preset data transmission preparation section and of the minimum width the preset ADSYNC cycle may imply that a width of a data transmission preparation section of the synchronized ADSYNC is greater than the minimum width of the preset data transmission preparation section, and the synchronized ADSYNC cycle is greater than the minimum width of the preset ADSYNC cycle.
(68) According to the present disclosure, even when a failure such as disconnection occurs in a certain signal line, data transmission and reception is enabled using the remaining signal. Also, according to another aspect of the present disclosure, through ADSYNC synchronization to free-run, various measurements and self-diagnosis may be carried out in a synchronized manner. Also, the synchronized data may be transmitted to the outside. Further, a temporary communication error may be dealt with, and a stop error in the entire system caused thereby may be prevented.
(69) In the description of the present disclosure, it should be understood that each element of the present disclosure shown in
(70) That is, each element corresponds to a logic element to realize the technical spirit of the present disclosure, and accordingly, even though each element is integrated or separated, it should be construed as falling within the scope of the present disclosure if a function performed by a logic element of the present disclosure can be implemented, and it should be understood that it falls within the scope of the present disclosure regardless of whether names are identical or not if it is an element performing an identical or similar function.
(71) While the present disclosure has been hereinabove described in connection with only a limited number of embodiments and drawings, the present disclosure is not limited thereto and it should be understood that various changes and modifications may be made by an ordinary person skilled in the art within the spirit and scope of the disclosure and the appended claims and their equivalents.