Method and system for providing pulsed power and data on a bus
09768978 · 2017-09-19
Assignee
Inventors
Cpc classification
H04L12/40045
ELECTRICITY
H02J7/0014
ELECTRICITY
H02J7/00047
ELECTRICITY
International classification
H04L25/49
ELECTRICITY
H02J7/00
ELECTRICITY
Abstract
A method and system for providing pulsed power and data from a main control unit to slave units via a first bus. The main control unit has an AC signal generator for providing a plurality of first pulses (P1) on the bus for providing the power to the slave units. Each slave unit is AC-coupled to the bus via a first series capacitor arranged for converting the first pulses (P1) into second pulses (P2). Data communication from the main control unit to the slave units is established by modulating the first pulses (P1), and by demodulating the second pulses (P2). The modulation may be based on Pulse Position Modulation, Pulse Width Modulation, Pulse Count Modulation, Pulse Amplitude modulation. Zero, one or more bits may be communicated per first pulse. Optionally the slave units may communicate to the main control unit via a second bus.
Claims
1. A system for providing power and data signals from a main control unit to at least one slave unit via a first bus comprising: the main control unit comprising a first AC signal generator adapted for providing a first AC signal comprising a plurality of first pulses for providing power to the at least one slave unit via the first bus; each slave unit being AC-coupled to the first bus by means of a first series capacitor device, each first series capacitor device being arranged for converting the first pulses provided at its inputs into second pulses at its output, the second pulses having at least one edge or flank; the main control unit being adapted for sending data to the at least one slave unit by modulating the plurality of first pulses; the at least one slave unit being adapted for receiving the data by demodulating the plurality of second pulses by determining pulse amplitudes or time differences between receipt of the at least one edges or flanks or by counting pulses.
2. The system of claim 1 wherein the at least one edges or flanks are rising or falling edges, and the slave unit is adapted to determine time differences between receipt of the rising or falling edges of different pulses.
3. The system of claim 1, wherein the at least one edges or flanks are rising edges and falling edges and the slave unit is adapted to determine time differences between receipt by the slave unit of rising edges and trailing edges of a pulse.
4. The system according to claim 1, wherein: the main control unit is adapted for providing the first AC signal such that the first pulses have a rising or falling edge; the main control unit is adapted for sending the data by changing the time distances between the rising or falling edges of consecutive first pulses; at least one slave unit is adapted for receiving the data by determining the time distances between the rising or falling edges of consecutive second pulses, and for translating the determined time distances to corresponding data-symbols.
5. The system according to claim 1, wherein the main control unit and the at least one slave unit are adapted for applying resp. detecting at least a first and a second predetermined time distance (Δt1, Δt2) corresponding to a first and a second data symbol.
6. The system according to claim 1, wherein the system is a rechargeable energy storage system comprising a string of rechargeable energy storage devices coupled in series, and each slave unit is a balancing unit for charging or discharging one of the rechargeable energy storage devices.
7. The system according to claim 1, furthermore comprising a second bus, connected between the main control unit and the at least one slave unit by means of a galvanic decoupling element for communicating data from the at least one slave unit to the main control unit.
8. The system according to claim 7, wherein the at least one slave unit is adapted for sending data to the main control unit over the second bus synchronously with the first AC signal.
9. The system according to claim 7, wherein: the galvanic decoupling element is a second series capacitor device; the at least one slave unit is adapted for providing a second AC signal comprising a plurality of third pulses having a rising or a falling edge to the second series capacitor device, whereby the time distances between the rising or falling edges of consecutive third pulses are modulated according to the data to be sent from the slave unit to the main control unit; the main control unit is adapted for detecting the time distances between the rising or falling edges of fourth pulses originating at an output of the second series capacitor devices when the third pulses are applied to its input.
10. A method for providing power and data signals from a main control unit to at least one slave unit via a first bus, the at least one slave unit being AC-coupled to the first bus by means of one or more series capacitor devices, the method comprising the steps of: providing combined power and data signals from the main control unit to the at least one slave unit by generating a first AC signal comprising a plurality of first pulses, each pulse having at least one edge or flank, and by applying the first AC signal to the first bus; receiving the first pulses at the input of the one or more series capacitor devices, and providing second pulses at the output of the one or more series capacitor devices; sending the data from the main control unit to the at least one slave unit by modulating the plurality of first pulses; receiving the data in the at least one slave unit by demodulating the plurality of second pulses by determining pulse amplitudes, or time differences between receipt of the at least one edges or flanks or by counting pulses, wherein the at least one edges or flanks are rising or falling edges and the slave unit is adapted to determine time differences between receipt of the rising or falling edges of different pulses.
11. The method of claim 10, the modulating and demodulating being by any of, or any combination of pulse position modulation (PPM), pulse width modulation (PWM), PFM (pulse frequency modulation), pulse interval modulation (PIM), or pulse count modulation.
12. The method according to claim 10, wherein: the first AC signal is generated such that the first pulses have a rising or a falling edge; the modulation of the first pulses is done by changing the time distances between the rising or falling edges of consecutive first pulses; the demodulation of the second pulses is done by detecting the time distances between the rising or falling edges of consecutive second pulses, and by translating the determined time distances to corresponding data-symbols.
13. The method according to claim 10, wherein the first AC generator applies a first and a second predetermined time-distance (Δt1, Δt2) for transmitting a first and a second data symbol; and wherein the at least one slave unit demodulates the second pulses by measuring the time distances between the rising or falling edges of consecutive second pulses, and by selecting one of the first and second predefined time distances (Δt1, Δt2) corresponding to the measured time distance, and by translating the selected time distances (Δt1, Δt2) to corresponding the first and second data symbols.
14. The method according to claim 10, the at least one slave unit furthermore being communicatively coupled to a second bus by means of a galvanic decoupling element, the method furthermore comprising the step of: communicating data from one of the slave units via the second bus to the main control unit.
15. A method for providing power and data signals from a main control unit to at least one slave unit via a first bus, the at least one slave unit being AC-coupled to the first bus by means of one or more series capacitor devices, the method comprising the steps of: providing combined power and data signals from the main control unit to the at least one slave unit by generating a first AC signal comprising a plurality of first pulses, each pulse having at least one edge or flank, and by applying the first AC signal to the first bus; receiving the first pulses at the input of the one or more series capacitor devices, and providing second pulses at the output of the one or more series capacitor devices; sending the data from the main control unit to the at least one slave unit by modulating the plurality of first pulses; receiving the data in the at least one slave unit by demodulating the plurality of second pulses by determining pulse amplitudes, or time differences between receipt of the at least one edges or flanks or by counting pulses, wherein the at least one edges or flanks are rising edges and falling edges and the slave unit is adapted to determine time differences between receipt by the slave unit of rising edges and falling edges of a pulse.
16. The method of claim 15, the modulating and demodulating being by any of, or any combination of pulse position modulation (PPM), pulse width modulation (PWM), PFM (pulse frequency modulation), pulse interval modulation (PIM), or pulse count modulation.
17. The method according to claim 15, wherein: the first AC signal is generated such that the first pulses have a rising or a falling edge; the modulation of the first pulses is done by changing the time distances between the rising or falling edges of consecutive first pulses; the demodulation of the second pulses is done by detecting the time distances between the rising or falling edges of consecutive second pulses, and by translating the determined time distances to corresponding data-symbols.
18. The method according to claim 15, wherein the first AC generator applies a first and a second predetermined time-distance (Δt1, Δt2) for transmitting a first and a second data symbol; and wherein the at least one slave unit demodulates the second pulses by measuring the time distances between the rising or falling edges of consecutive second pulses, and by selecting one of the first and second predefined time distances (Δt1, Δt2) corresponding to the measured time distance, and by translating the selected time distances (Δt1, Δt2) to corresponding the first and second data symbols.
19. The method according to claim 15, the at least one slave unit furthermore being communicatively coupled to a second bus by means of a galvanic decoupling element, the method furthermore comprising the step of: communicating data from one of the slave units via the second bus to the main control unit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18) The drawings are only schematic and are non-limiting.
(19) In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes.
(20) Any reference signs in the claims shall not be construed as limiting the scope. In the different drawings, the same reference signs refer to the same or analogous elements.
DETAILED DESCRIPTION OF THE INVENTION
(21) The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims. The drawings described are only schematic and are non-limiting. In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes. The dimensions and the relative dimensions do not correspond to actual reductions to practice of the invention.
(22) Furthermore, the terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a sequence, either temporally, spatially, in ranking or in any other manner. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other sequences than described or illustrated herein.
(23) Moreover, the terms top, under and the like in the description and the claims are used for descriptive purposes and not necessarily for describing relative positions. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other orientations than described or illustrated herein.
(24) It is to be noticed that the term “comprising”, used in the claims, should not be interpreted as being restricted to the means listed thereafter; it does not exclude other elements or steps. It is thus to be interpreted as specifying the presence of the stated features, integers, steps or components as referred to, but does not preclude the presence or addition of one or more other features, integers, steps or components, or groups thereof. Thus, the scope of the expression “a device comprising means A and B” should not be limited to devices consisting only of components A and B. It means that with respect to the present invention, the only relevant components of the device are A and B.
(25) Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment, but may. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner, as would be apparent to one of ordinary skill in the art from this disclosure, in one or more embodiments.
(26) Similarly it should be appreciated that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
(27) Furthermore, while some embodiments described herein include some but not other features included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention, and form different embodiments, as would be understood by those in the art. For example, in the following claims, any of the claimed embodiments can be used in any combination.
(28) In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In other instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
(29) When in the present document reference is made to “data”, reference is made to any kind of data, including e.g. payload data, address information, commands, etc. How the data is interpreted, is a matter of the communication protocol used between the main control unit and the slave units. Although some aspects of a possible protocol will be described in more detail, the invention is not limited thereto, and other protocols can be used as well.
(30) When in the present document reference is made to “rise time” of a “rising edge” of a signal changing from a “low” voltage level to a “high” voltage level, reference is made to the time taken by the signal to change from a 10% value to a 90% value of the step from the low to the high level. For example, where the pulsed signal is a rectangular block-wave with a 12 V amplitude (varying between 0 V and 12 V), the rise time is defined as the time required for the signal to change from 1.20 V to 10.80 V.
(31) Where embodiments are described using rising edges these may also be implemented using falling edges. Leading edges can be preferred to trailing edges when determining timings.
(32) Embodiments of the present invention can be used with energy storage systems but the present invention is not limited to energy storage systems alone, but can also be used in other applications where a main control unit is to provide power and data to one or more slave units, while being galvanically separated therefrom. The principles of the present invention may for example also be used in medical applications, where one or more slave devices are implanted in a body, and where a main control unit, external to the body, provides power and data to the slave devices via capacitive coupling. Another application may be an access-control system, whereby the main control unit is part of a badge reader, and the slave units are part of an access card.
First Embodiment
(33)
(34)
(35) An important aspect of the present invention, is how both power and data can be transmitted over the same bus 130, which bus is galvanically decoupled from the slaves 115 by means of series capacitors 119, as will be described next.
(36)
(37)
(38) Having described the structure of the system 113, and in particular of the slave units 115, its working will now be described referring to
(39) First, it will be explained, by means of the simple test circuit of
(40)
(41)
(42) In the example shown in
(43) The above description relates to embodiments of the present invention that can be described as using a form of pulse frequency modulation (i.e. as shown in and described with respect to
(44) Alternatively in further embodiments modulation may be performed by keeping the period of the pulses constant but by varying the on and off time of the block wave (
(45) In accordance with further embodiments of the present invention, a combination of the two former techniques may be used, e.g. an idle signal is generated by a given period T1. These pulses transmit only power. For data a different time T2 is used (see
(46) Yet another alternative embodiment of the present invention makes use of a modulation technique is shown in
(47) In yet another embodiment modulation can be performed by using a block wave with more than one amplitude much in a similar manner as different periods. This is a form of amplitude modulation. In this case the modulation can be performed by switching between power supplies having different output voltages for the block wave, for example. This requires an extra switch at the sender side. For demodulation an extra comparator may be required to determine the original amplitude.
(48) Embodiments of the present invention can also be used for bi-directional data transmissions. For example, the slaves can generate pulses data for transmission to a master or to other slaves, e.g. in the form of a broadcast signal. For example, a high impedance state may be generated within the originally generated block wave timing or at any appropriate timeslot in any of the embodiments of the present invention, e.g. also with embodiments without stopping the block wave generation. In this case the block wave can be considered as a clock pulse train that allows synchronous communication from slave to main controller. A slave communicates by generating a different types of pulse of its own on the data line during the high impedance state (see
(49) In any of the embodiments of the present invention the size of the decoupling capacitor at the slave unit or elsewhere can be determined in the following way with reference to
I=U/R
When I is known, C can be calculated with next formula:
I=C*Δv/Δt
(50) The micro-controller 118 of the slave units 115 can easily decode or demodulate such combined power and data signal, e.g. by using an input pin which automatically generates an interrupt on a rising edge, and the micro-controller only needs to determine the time interval between subsequent pulses, e.g. by measuring a time-value (or counter-value) when the first pulse occurs, and measuring a time-value (or counter value) when the second pulse occurs, and then calculating the difference between these time-instances (or counter values) as Δt, and then find the best match with one of the predefined values Δt1, Δt2 and Δt3, and assign the corresponding bits ‘0’ or ‘1’ or ‘no data-bit’.
(51) It is clear to the persons skilled in the art, that the above specifies one possible embodiment of a “physical layer” of the well-known OSI-model which can be used on the hardware of
(52) Although any suitable higher layer protocol may be used on top of this physical layer, a suitable protocol for use in the rechargeable energy system 113 will be described next, as an embodiment, and without limiting systems according to the invention thereto.
(53) In an example, each micro-controller 118, and thus each slave unit 115, would have a unique address on the bus, e.g. a 5-bit address in a system having 32 slave-units. The address may e.g. be hardcoded in the slave software, or written in non-volatile memory (flash or EEPROM, embedded into the slave, or externally connected thereto), or may even be set at PCB-level by stuffing pull-up or pull-down resistors, or by using dip-switches, or in any other way. A communication cycle begins with an ‘idle’-state, corresponding to the “no-data-bits” mentioned above. The main control unit 120 only sends power pulses, no data. The slave units 115 are “listening” to the bus by measuring the time differences Δt between the rising edges of successive pulses (in this case they would detect Δt3). Then, the main control unit 120 sends a data-packet consisting of a predetermined number of bits comprising instruction information and address information. As an example only, the main control unit 12 can send an 8 bits data-packet, comprising 3 bits for the instruction+5 bits for the address. Such 8-bit data packet provides for eight possible commands and thirty-two slave addresses. Of course, the length of the data-packet may be adapted to the needs, i.e. the number of addresses and the number of commands required for the particular application. One of the possible commands may be “open all first switches SW1”, in which case the address field is irrelevant, and each slave unit 115 would open its first switch SW1. Another command could be: “close one first switch SW1”, in which case only the addressed slave unit closes its first switch. Another command could be “measure all voltages”. Each micro-controller 118 would then measure the voltage of its electrical cell 12, by using its A/D convertor, and store the value temporarily in memory. Another command could be “transmit one measured voltage”, and the addressed slave would transmit the measured voltage over the second bus 40.
(54) The communication over the second bus 140 may be based on the same frequency as the communication of the first bus 130, e.g. may be synchronous therewith, but that is not absolutely required.
(55) In the synchronous case, each incoming power pulse would be used as a clock signal for outputting the data on the second bus 140, i.e. at each rising edge of the incoming pulses, the addressed slave would send one bit-value to its opto-coupler 135, until all bits of the measured value are sent. Since the master 120 is sending the first pulses P1 on the first bus 30, it can easily decode the data on the second bus 140.
(56) As an example of asynchronous communication, each slave unit 115 may use its own timing, e.g. by using an RS232-like timing protocol over the optical interface, e.g. using a local clock derived from a local oscillator. Of course, the main control unit 120 would have to use the same protocol on the receiving side of the second bus 140 to decode the data received from the slaves 115.
(57) Whereas the waveforms shown in
(58) As yet a further possible implementation (not shown), four time differences Δt1, Δt2, Δt3, Δt4 may be used, whereby Δt1 corresponds to the symbol ‘00’ comprising two bits, Δt2 corresponds to ‘01’, Δt3 corresponds to the symbol ‘10’, and Δt4 corresponds to the symbol ‘11’. By using such a hardware layer, two data-bits can be sent per power pulse. Possible timing could be Δt1=about 32.5 microseconds, Δt2=about 37.5 microseconds, Δt3=about 42.5 microseconds and Δt4=about 47.5 microseconds, (each with a tolerance of +/−1.5 microseconds, or less), but another timing may also be chosen.
(59) As still another possible implementation (not shown), five time differences Δt1, Δt2, Δt3, Δt4, Δt5 may be used, whereby Δt1 corresponds to the symbol ‘00’ comprising two bits, Δt2 corresponding to ‘01’, Δt3 corresponds to the symbol ‘10’, and Δt4 corresponds to the symbol ‘11’, and Δt5 corresponds to “no data”. The latter symbol may e.g. be used as packet separator. An advantage hereof is that it is easier to resynchronize in case of sync-loss, since not an entire package or even multiple packets of a given length need to be scanned.
(60) Form the above, it should be clear to the skilled reader, that it is also possible to send more than two data-bits per power pulse, by using more, e.g. eight or nine, predefined time differences Δt1 to Δt8 and optional Δt9, corresponding to ‘000’, ‘001’, . . . ‘111’ and optional “no-data”. To achieve reliable communication over the first bus 130, the rising edges is preferably be steep, i.e. have a short “rise time” in relation to the predefined distances. For example, the rise time should preferably be less than 20% of the smallest time difference between rising edges, preferably less than 10%, more preferably less than 5%, or even less than 3%. In general, the higher the pulse frequency of the first pulses P1, the shorter the rise-time has to be, in order to maintain reliable communication.
(61) Although the first embodiment is described as an energy storage system, it is clear that the method and system for providing pulsed power and data on the bus, as explained above can also be applied in other systems where a main control unit is connected to a bus, and where one or more slave units are connected to the bus by means of a series capacitor, such as e.g. a medical implanted device mentioned above. Likewise, the slave units of such a system do not need to be balancing units, depending on the application. For example, lead acid battery cells generally do not require individual balancing, but individual monitoring may be required. The same applies for fuel cells and flow cells.
Second Embodiment
(62) Having explained the main principles of the present invention by means of the first embodiment described in relation to
(63)
(64) The main difference between the second embodiment and the first embodiment is that there is no second channel in the second embodiment through which the slaves 215 can communicate data to the main control unit 220. Thus the present invention can also be used in uni-directional communication systems.
(65)
Third Embodiment
(66)
(67) The main difference between the third embodiment and the first embodiment is that the slave units 315 can communicate back to the main control unit 320 via the same channel 330 and through the same series capacitor 319 (or capacitive circuit, or capacitive device). The main control unit 320 and the slave units 315 would, however, not be able to communicate simultaneously (not full-duplex), because baseband communication is used, but may communicate e.g. alternatingly for a predefined time period. This may require that the output driver of the AC signal generator 314 is placed in a high impedance state when the slaves are sending. However, the AC signal generator may also be decoupled from the first bus in other ways, such as e.g. by means of a switch (not shown) between the bus 330 and the AC signal generator 314, or in any other way.
(68) In an example, first the main control unit 320 would provide sufficient energy and optionally also data to the slave units 315 by sending first pulses P1, in any manner or in a similar manner as described above, and would then stop sending pulses. Subsequently, one of the slaves would provide third pulses P3, e.g. rectangular pulses with rising edges, to the capacitor 319 (or capacitive circuit, or capacitive device) in any way or in a similar way as described above for the main control unit 320. However, the third pulses P3 need not be exactly the same as the first pulses P1 because the slave units 315 only need to send data without power to the main control unit 320, and thus the pulses P3 may e.g. have a different amplitude and/or shape and/or timing, and the data may be sent at a different frequency as is used for the first pulses. The third pulses P3 are transformed into fourth pulses P4 through the series capacitor 319 (or capacitive circuit, or capacitive device) in a similar manner as shown in
(69)
(70) In case the system 313 is an energy storage system (thus by adding storage cells and switches SW1, SW2), that system would provide the same functionality as the prior art circuit 13 (
Fourth Embodiment
(71)
(72) The main difference between the fourth embodiment and the first embodiment (of
(73) In an example, first the main control unit 420 would provide sufficient energy and optionally also data to the slave units 415 by sending first pulses P1, in any manner or in a similar manner as described above. Depending on the implementation, in particular on the processing capabilities of the microcontroller, the main unit may then stop sending pulses so that the slave units do not require decoding or demodulating, or may continue sending power pulses only, or may continue sending power and data pulses, but only for a subset of the slaves. Subsequently, one of the slaves would provide third pulses P3, e.g. rectangular pulses with rising edges, to the capacitor 441 (or capacitive circuit, or capacitive device) in any way or in a similar way as described above for the main control unit 420. However, as described above, the third pulses P3 need not be exactly the same as the first pulses P1 because the slave units 415 only need to send data without power to the main control unit 420, and thus the pulses P3 may e.g. have a different amplitude and/or shape and/or timing. The third pulses P3 would be transformed into fourth pulses P4 through the series capacitor 441 (or capacitive circuit, or capacitive device) in any manner or in a similar manner as shown in
(74)
(75) In case the system 413 is an energy storage system (thus by adding storage cells and switches SW1, SW2), that system would provide the same functionality as the prior art circuit 13 (