This application claims the benefit of Swedish Patent Application No. 1950122-0, filed Feb. 1, 2019, the disclosure of which is incorporated herein by reference in its entirety.
The present disclosure pertains to the field of battery powered devices and battery modules that connect the devices to a server for data exchange. More specifically, the present disclosure relates to methods for connecting a battery powered device to a server via a battery module powering the device, related battery modules, and related servers.
Many battery powered devices are being connected to the Internet as part of the movement towards Web 3.0, smart devices, or “internet of things”. Depending on the device, the connection ability may be challenging and may affect size and costs of the device. This raises issues, such as how to ensure secure handling of data from the device and secure operation of the device.
Accordingly, there is a need for devices and methods for providing a secure connection between a battery powered main device and a server for secure exchange of data.
The present disclosure provides a method, performed at a battery module, of connecting a main device to a server via a battery module for powering the main device, the battery module comprising a processing unit, a memory, a first interface for communicating with a wireless network, and a second interface for establishing a data transfer connection to the main device, the method comprising establishing a wireless network connection to the server by means of the first interface; identifying the battery module to the server using the wireless network connection; establishing a data transfer connection to the main device by means of the second interface; receiving an identifier of the main device using the data transfer connection; and identifying the main device to the server using the wireless network connection.
Also, a corresponding battery module for powering a main device is provided, comprising a battery pack for storing electrical energy and having a contact for supplying power to the main device; a processing unit comprising a memory; a first interface for communicating with a wireless network; and a second interface for establishing a data transfer connection to the main device; wherein the processing unit is configured to perform the above method to be performed at a battery module.
The present disclosure provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a battery module comprising a processing unit cause the battery module to perform any of the methods disclosed herein.
Further, the present disclosure provides a method, performed by a server, of managing data related to a main device and a battery module for powering the main device, the server comprising a memory holding battery supply configuration data and sensor data configuration associated with battery module and/or the main device and configured to connect to the battery module via a wireless network, the method comprising establishing a wireless network connection to the battery module; receiving an identifier of the battery module using the wireless network connection; receiving an identifier of the main device to be powered by the battery module using the wireless network connection; and transmitting the battery supply configuration data for the main device and/or the sensor data configuration associated with battery module and/or the main device to the battery module using the wireless network connection.
Also, a server comprising a processing unit, a memory, an interface unit configured to connect to a wireless network is provided, wherein the server is configured to perform the above method to be performed by a server.
The present disclosure provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a server comprising a processing unit cause the server to perform any of the methods disclosed herein.
It is an advantage of the present disclosure that the connectivity functionality or means for forming a wireless connection is placed in the battery module. This allows using one battery module to provide secure connectivity for many different main devices. This approach also provides shorter development time for developers of main devices since they need not worry about connectivity. With such cloud connected battery solution, the expensive electronics for establishing connectivity are included in the battery module, which can lower the price and complexity of the main device.
The above and other features and advantages of the present disclosure will become readily apparent to those skilled in the art by the following detailed description of some embodiments thereof with reference to the attached drawings, in which:
Various embodiments and details are described hereinafter, with reference to the figures when relevant. It should be noted that the figures may or may not be drawn to scale and that elements of similar structures or functions are represented by like reference numerals throughout the figures. It should also be noted that the figures are only intended to facilitate the description of the embodiments. They are not intended as an exhaustive description of the invention or as a limitation on the scope of the invention. In addition, an illustrated embodiment needs not have all the aspects or advantages shown. An aspect or an advantage described in conjunction with a particular embodiment is not necessarily limited to that embodiment and can be practiced in any other embodiments even if not so illustrated, or if not so explicitly described.
The figures are schematic and simplified for clarity, and they merely show details which may aid the understanding of the invention, while other details have been left out. Throughout, the same reference numerals are used for identical or corresponding parts.
Furthermore, the operations of the battery module 2 may be considered a method that the battery module is configured to carry out. Also, while the described functions and operations may be implemented in software, such functionality may as well be carried out via dedicated hardware or firmware, or some combination of hardware, firmware and/or software.
The memory 11 may be one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, a random access memory (RAM), or other suitable device. In a typical arrangement, the memory 11 may include a non-volatile memory for long term data storage and a volatile memory that functions as system memory for the processing unit 10. The memory 11 may exchange data with the processing unit 10 over a data bus. Control lines and an address bus between the memory 11 and the processing unit 10 also may be present. The memory 11 is considered a non-transitory computer readable medium.
The battery module 2 further comprises a battery pack 12 for storing electrical energy and having a contact 14 for supplying power (electrical energy) to the main device. The battery pack 12 can have different capacities depending on the type of main devices it is intended to be used with. The contact 14 for supplying power to the main device is positioned so that electrical connection to the main device 4 is established when the battery module is inserted into or connected to the main device. The battery module 2 may comprise a power supply controller 13 at a line between the battery pack 12 and contact 14. The power supply controller is connected to the processing unit 10, allowing the processing unit to control the power supply from the battery pack 12 to the main device 4. The battery pack may be rechargeable and the battery module may have a socket or similar for connecting the battery pack to an external charge reservoir, e.g. via a charging station or a charge cable. The socket may be provided by the contact for supplying power to the main device.
The battery module 2 further comprises a first interface 16 for communicating with the wireless network 18. The wireless network 18 could be a WLAN or a wireless communications system such as a cellular system or network (e.g. Narrowband IoT, e.g. low cost Narrowband IoT or category M). The first interface 16 for communicating with the wireless network 18 may comprise an applet which is configured to enable connectivity to the server 8. In one or more embodiments, the first interface 16 may be a modem that communicates with a cellular network. The battery module 2 may further comprise an access circuit connected to the modem that carries out cellular network authentication and access. When the wireless network connection 6 to the server 8 is established, the battery module 2 is said to be online, and when there is no wireless network connection to the server 8, the battery module 2 is said to be offline.
The battery module 2 further comprises a second interface 20 for establishing a data transfer connection to the main device 4. Multiple protocols and standards exist for the communication between the battery module 2 and the main device 4. Any communication link is possible, e.g. a serial interface for industry such as Inter-Integrated Circuit (I2C), Serial Peripheral Interface (SPI) or Universal Serial Bus (USB) or any other. Contactless interfaces are also possible, such as Bluetooth or RFID (for identification only) which may be advantageous for main devices operating in wet, dusty, or otherwise exposed environments. Standardization is initiated to enable sharing of battery pack status etc., which could be gathered within the battery module as well, see e.g. www.batterystandards.info.
The battery module 2 is configured to establish, via the first interface 16, a wireless network connection 6 to the server 8; to identify, via the wireless network connection 6, the battery module 2 to the server 8; to establish, via the second interface 20, a data transfer connection to the main device 2; to receive, via the data transfer connection 20, an identifier of the main device 2; and to identify, via the wireless network connection 6, the main device 2 to the server 8.
The main device 4 may comprise a contact 15 for engaging contact 14 to receive power from the battery pack 12, and a third interface 21 for establishing a data transfer connection to the second interface 20 of the battery module 2.
The battery module 2 may comprises one or more sensors 22. The main device 4 may also comprises one or more sensors 22. Since the battery module 2 can be used to supply power to a large variety of main devices 2, many different sensors may be relevant. In some embodiments, one or more of the following sensors may be comprised by the battery module 2 and/or the main device 4: geographic position sensor, acceleration sensor, pressure, temperature sensor, humidity sensor, voltage sensor, electrical current sensor, fingerprint sensor, iris sensor, RFID sensor, angular velocity sensor, light sensor, IR sensor, and torque sensor.
In order to identify the battery module 2 and the main device 4, each comprise an identifier (ID) such as a serial number. To enable secure authentication of the battery module 2 and main device 4, each may comprise a secure element, 26 and 27 respectively, which comprise the identifier.
The disclosure also provides the server 8 comprises a processing unit 30, a memory 31, and an interface unit 32 configured to connect to the wireless network, wherein the server is configured to perform the method described herein (e.g. methods disclosed in
The server 8 is configured to establish, for example via the interface unit 32, a wireless network connection 6 to the battery module 2; to receive, via the wireless network connection 6, an identifier of the battery module 2; to receive, via the wireless network connection 6, an identifier of the main device 4 to be powered by the battery module 2; and to transmit battery, via the wireless network connection 6, supply configuration data for the main device 4 and/or the sensor data configuration associated with battery module 2 and/or the main device 4 to the battery module.
The disclosure further provides a system 34 comprising the battery module 2, the main device 4 and the server 8.
The disclosure provides a method performed at the battery module 2, of connecting the main device 4 to the server 8 via the battery module, and a method performed at the server 8. The methods are described in the following with reference to
Method 100 comprises identifying, S103, the battery module to the server using the wireless network connection. For example, the battery module 2 identifies, S103, itself to the server 8 using the wireless network connection 6.
In step S105, the battery module 2 sets up communication to the main device 4. Method 100 comprises establishing, S106, a data transfer connection to the main device 4 by means of a second interface 20 (e.g. for establishing a data transfer connection to the main device 4), and receiving, S108, an identifier of the main device 4 using the data transfer connection.
Method 100 comprises identifying S110 the main device to the server using the wireless network connection. For example, the battery module 2 identifies, S110, the main device 4 to the server 8 using the wireless network connection 6 (e.g. to complete the connection between the main device 4 and the server 8). The main device 4 is now connected to the server 8 via the battery module 2, and secure transfer of data can be carried out.
Steps S101 and S105 may be carried out simultaneously, immediately after one another, or with a time in between. For example, step S101 of setting up the wireless network connection 6 with the server 8 may be performed separately by the user pressing a button on the battery module 2 even before the battery module 2 is attached to the main device 4 or before the main device 4 is turned on. Then, at a later stage, when the battery module 2 has been attached to the main device or when the main device 4 is turned on, step S105 is performed to set up communication between the battery module 2, the main device 4, and the server 8. This is advantageous as it may save time when starting the main device since the wireless network connection 6 has already been established.
In one or more embodiments, shown in
In one or more embodiments, shown in
Steps S103 and S107 may be carried out simultaneously, immediately after one another, or with a time in between. For example, step S103 of setting up communication between the battery module 2, the main device 4 may be performed separately as soon as the battery module 2 has been attached to the main device 4, also without turning the main device 4 on. In step S109, the main device may store the received identifier of the main device 4. Then, at a later stage, when the main device is turned, the wireless network connection 6 with the server 8 is established and identifiers are exchanged in step S107. Again, this can be advantageous as it may save time when starting the main device 4 since one of the required connections has already been established.
The battery module 2 may comprise the secure entity 26 so that steps S102 and S104 of establishing wireless network connection 6 and identifying the battery module 2 to the server 8 may comprise performing a secure authentication using the secure entity 26 of the battery module 2. The secure entity 26 of battery module 2 may comprise a secure element hardware or software, such as TrustZone technology, in the battery module that enables secure identification of the battery module 2 towards the server 8. The secure entity 26 of battery module may comprise an applet which is configured to enable the secure authentication to establish a secure connection to the server 8 on the wireless network connection 6. The secure connection can be enabled in several ways e.g. via both radio level security as available in e.g. 3rd Generation Partnership Project (3GPP) network such as Long-Term Evolution (LTE) and application level security as with Transport Layer Security (TLS).
Similarly, the main device 4 may comprise the secure entity 27 so that steps S106 and S108 of establishing the data transfer connection and receiving an identifier of the main device 4 comprises performing a secure authentication using the secure entity 27 of the main device 4. The secure entity 27 of the main device may e.g. be a secure element hardware or TrustZone technology in the battery module and/or the main device that enables secure identification of the main device 4 towards the battery module 2. It also enables additional secure applications such as e.g. Near-field Communication (NFC) based local access rights control, e.g. to manage who can use the main device and where.
When the battery supply configuration data has been received, the method may comprise configuring the battery module 2 according to the received battery supply configuration data for the main device 4. Further, the method 100, 200 may comprise supplying S113, by the battery module 2, power to the main device 4 according to the received battery supply configuration data to operate the main device 4. For this purpose, referring to
Third interface 21 may be passive, such as an RFID tag, or active involving a microprocessor requiring electric power to operate. In one or more embodiments, the main device needs power in order for the data transfer connection to be established. For this purpose, the disclosure provides an example method 300 illustrated in flow chart of
The one or more sensors 22, 23 of the battery module 2 and the main device 4 may generate sensor data when the main device is operating or turned on. In one or more embodiments, geographical positioning sensor (e.g. GPS) of the main device may be enabled continuously or at regular intervals in order to locate the battery pack/main device if it goes missing or is stolen. In some embodiments the method 300 comprises transmitting, step S314 in
In one or more embodiments, the method 300 comprises transmitting S310, by the battery module 2, usage data of the main device 4 to the server 8. Usage data may comprise power usage of the main device 4, such as total charge supplied to the main device 4 (typically measured in Ampere hours, Ah), power supplied to the main device 4 as a function of time, peak power drawn from the main device 4, etc. Usage data may also comprise sensor data from sensors 22, 23 of the battery module 2 and/or of the main device 4.
In one or more embodiments, at least partial functionality of the main device 4 is enabled when the battery module 2 is offline. This may be implemented by exchanging offline power tokens between the battery module 2 and the main device 4. This may support guaranteeing continuous operation of the main device 4 even in areas with bad coverage. When coverage is resumed, new tokens are filled up in the battery unit. Hence, according to one or more embodiments of the method performed in the battery modules, when no wireless network connection to the server can be established, the method comprises performing an offline mode operation of the battery module. The offline mode operation may comprise: determining if an offline power token is stored in the memory; if an offline power token is stored in the memory, then supplying power to the main device to operate the main device; and if no offline power token is stored in the memory, then supplying no power to the main device. An offline power token is data representing a limited power supply to the main device, such as limited to a certain amount of time, a certain amount of charge (Ah), a certain number of uses (i.e. turning on/off) of the main device, a certain extend of use of the main device (e.g. based on sensor data), or similar.
When the wireless network connection 6 to the server 8 is established, the method performed by the battery module may comprise replenishing offline power tokens in the memory 11 of the battery module 2 up to a predetermined amount. A limited number of offline power tokens are stored in the memory 11 of the battery module 2, so that there is a limit to how long or how many times the main device 4 can be operated with the battery module 2 being offline. When connected to the server 8, the replenishing of offline power tokens may be triggered by the battery module 2 as a result of one or more offline power tokens having been used since it was last online, or there may be a standard check or inquiry after each establishment of the wireless network connection 6.
The predetermined amount of offline power tokens stored in the memory 11 may be a standard amount common for all main devices. In one or more embodiments, the predetermined amount may be specified by the battery supply configuration data for the main device 4 and thereby be specific to the typical operation of the main device 4. For example, the predetermined amount may correspond to typical operation of the main device 4 within one working day, and the predetermined amount may allow operation of the main device 4 for a limited to an amount of time, for example 10 hours. This may be relevant for main devices that are often used at one location for longer periods, such as power tools operating in construction sites where there are often poor connectivity. At the end of the working day, the tool may be taken out of the construction site, allowing for establishing a server connection and replenishing the amount of tokens. In another case, the offline power tokens could instruct the processing unit 10 to use sensor data to limit the operation to the main device 4. The predetermined amount could for example be a geographic region extending from the position where the battery module 2 was last online or just a distance that can be traveled before operation is terminated. This may be relevant for main devices that are vehicles such as electric bicycles or scooters.
The present disclosure further provides a method, performed by the server (e.g. the server disclosed herein, e.g. server 8 of
The method 400 comprises establishing S402 a wireless network connection 6 to the battery module 2; receiving S404 an identifier of the battery module 2 using the wireless network connection 6; and receiving S406 an identifier of the main device 4 to be powered by the battery module using the wireless network connection 6.
Referring to
Method 400 comprises transmitting S408 the battery supply configuration data for the main device to the battery module using the wireless network connection. For example, the server 8 may now transmit S408 the battery supply configuration data for the main device 4 to the battery module 2 using the wireless network connection 6.
Method 400 comprises transmitting S410 sensor data configuration associated with battery module 2 and/or the main device 4 to the battery module 2 using the wireless network connection 6. For example, the server 8 may transmit S410 the sensor data configuration associated with battery module 2 and/or the main device 4 to the battery module 2 using the wireless network connection 6.
As mentioned previously, the main device 4 may have battery supply configuration data and/or the sensor data configuration associated therewith that is specially customized for the operation of the main device 4. The server 8 is configured to hold battery supply configuration data and/or the sensor data configurations for several main devices of the same type and several different types of main devices. Similarly, different battery modules may exist, such as modules having different charge capacities, sensors, etc., and capabilities to power different main devices. Hence, different battery modules may have different battery supply configuration data and/or the sensor data configuration associated therewith for the operation of the same main device. Therefore, for a given main device 4, the battery module identifier may be required to select the appropriate battery supply configuration data and/or the sensor data configuration. For these reasons, the method may comprise selecting or determining, based on the identifier of the battery module 2 and/or the main device 4, the battery supply configuration data and/or the sensor data configuration to be transmitted to the battery module 2.
When the main device 4 is in operation, the battery module 2 can transmit sensor data and user data, see S310 and S314 in
In one or more embodiments, the method 400 includes providing access to remote monitoring of the battery module 2 and/or main device 4 in an application with an adaptive user interface (UI), displayed in a mobile device 9 (see
The application in the mobile device 9 can run in different modes, adapting the user interface accordingly. The modes of operation in the application may e.g. be:
In case multiple battery modules or main devices are registered in the application, a selection can be made to show individual data from each registered entity. For example, an application could be mapped to ten different battery modules, and the application can be configured to show summary status of all ten registered battery modules, or to show individual details of each battery module. Further, if running the application in combination mode, selecting a certain battery which is connected to a main device will enable the application to gather status for the specific device connected to the particular battery and adapt the UI to show the device type and relevant status/sensor data for the main device connected to the battery.
In one or more embodiments, the mobile device may be used to change the operation of the battery module 2 or main device 4. The method 400 performed by the server 8 may comprise receiving S418 changes to the battery supply configuration data associated with the main device 4 from the mobile device 9; and sending S420 the changed battery supply configuration data associated with the main device 4 to the battery module 2 using the wireless network connection 6. Hence, a user of the mobile device may change the battery supply configuration data to loosen or tighten limitations on the operation of the main device 4. For example, the user may allow operation of the main device 4 outside regions or hours that were previously prohibited or shut down operation of the main device 4 if it has been stolen or malfunction has been detected.
Embodiments of methods and products (battery module, server, or system) according to the disclosure are set out in the following items:
1. A method, performed at a battery module, of connecting a main device (4) to a server (8) via a battery module (2) for powering the main device (4), the battery module (2) comprising a processing unit (10), a memory (11), a first interface (16) for communicating with a wireless network (18), and a second interface (20) for establishing a data transfer connection to the main device (4), the method comprising:
2. The method of item 1, comprising receiving battery supply configuration data for the main device (4) from the server (8).
3. The method of any of preceding items, comprising receiving sensor data configuration for the main device (4) from the server (8).
4. The method according to item 1, wherein the battery module (2) further comprises a secure entity (26) and wherein identifying the battery module (2) to the server (8) comprises performing a secure authentication using the secure entity (26) of the battery module (2).
5. The method according to any of the preceding items, wherein the main device (4) comprises a secure entity (27) and wherein receiving an identifier of the main device (4) comprises performing a secure authentication using the secure entity (27) of the main device (4).
6. The method according to item 2, comprising supplying, by the battery module (2), power to the main device (4) according to the received battery supply configuration data to operate the main device (4).
7. The method according to any of items 2 or 6, comprising:
8. The method according to item 3, comprising transmitting sensor data from one or more sensors (22) of the battery module (2) and/or one or more sensors (23) of the main device (4) to the server (8)
9. The method according to item 8, comprising receiving and storing sensor data from the one or more sensors (22) of the battery module (2) and/or one or more sensors (23) of the main device (4) prior to transmitting the sensor data to the server (8).
10. The method according to any of the preceding items, comprising transmitting usage data of the main device (4) to the server (8).
11. The method according to any of the preceding items wherein, when no wireless network connection (6) to the server (8) can be established, an offline mode operation of the battery module (2) comprises:
12. The method according to item 11, comprising, when the wireless network connection (6) to the server (8) is established, replenishing offline power tokens in the memory (11) of the battery module (2) up to a predetermined amount.
13. A method, performed by a server (8), of managing data related to a main device (4) and a battery module (2) for powering the main device (4), the server (8) comprising a memory (31) holding battery supply configuration data and sensor data configuration associated with battery module (2) and/or the main device (4) and configured to connect to the battery module (2) via a wireless network (18), the method comprising:
14. The method according to item 13, comprising receiving sensor data for one or more sensors (22) of the battery module (2) and/or one or more sensors (23) of the main device (4) using the wireless network connection (6) and storing the received sensor data in the memory (31).
15. The method according to item 13 or 14, comprising receiving usage data associated with the main device (4) using the wireless network connection (6) and storing the received usage data in the memory (31).
16. The method according to any of items 13-15, comprising providing access to stored data related to the battery module (2) and/or the main device (4) to a mobile device (9) via the wireless network (18).
17. The method according to item 16, comprising:
18. A battery module (2) for powering a main device (4), comprising
19. The battery module (2) according to item 18, comprising one or more of the following sensors: geographic position sensor, acceleration sensor, pressure, temperature sensor, humidity sensor, voltage sensor, electrical current sensor, fingerprint sensor, iris sensor, RFID sensor, light sensor, IR sensor, angular velocity sensor, and torque sensor.
20. A server (8) comprising a processing unit (30), a memory (31), an interface unit (32) configured to connect to a wireless network (18), wherein the server (8) is configured to perform any of the methods according to any of items 13-17.
21. A system (34) comprising:
The use of the terms “first”, “second”, “third” and “fourth”, “primary”, “secondary”, “tertiary” etc. does not imply any particular order but are included to identify individual elements. Moreover, the use of the terms “first”, “second”, “third” and “fourth”, “primary”, “secondary”, “tertiary” etc. does not denote any order or importance, but rather the terms “first”, “second”, “third” and “fourth”, “primary”, “secondary”, “tertiary” etc. are used to distinguish one element from another. Note that the words “first”, “second”, “third” and “fourth”, “primary”, “secondary”, “tertiary” etc. are used here and elsewhere for labelling purposes only and are not intended to denote any specific spatial or temporal ordering. Furthermore, the labelling of a first element does not imply the presence of a second element and vice versa.
It may be appreciated that
It is to be noted that the word “comprising” does not necessarily exclude the presence of other elements or steps than those listed. It is to be noted that the words “a” or “an” preceding an element do not exclude the presence of a plurality of such elements.
It should further be noted that any reference signs do not limit the scope of the claims, that the described example embodiments may be implemented at least in part by means of both hardware and software, and that several “means”, “units” or “devices” may be represented by the same item of hardware.
The various example methods, devices, nodes and systems described herein are described in the general context of method steps or processes, which may be implemented in one aspect by a computer program product, embodied in a computer-readable medium, including computer-executable instructions, such as program code, executed by computers in networked environments. A computer-readable medium may include removable and non-removable storage devices including, but not limited to, Read Only Memory (ROM), Random Access Memory (RAM), compact discs (CDs), digital versatile discs (DVD), etc. Generally, program modules may include routines, programs, objects, components, data structures, etc. that perform specified tasks or implement specific abstract data types. Computer-executable instructions, associated data structures, and program modules represent examples of program code for executing steps of the methods disclosed herein. The particular sequence of such executable instructions or associated data structures represents examples of corresponding acts for implementing the functions described in such steps or processes.
Although features have been shown and described, it will be understood that they are not intended to limit the claimed invention, and it will be made obvious to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the claimed invention. The specification and drawings are, accordingly to be regarded in an illustrative rather than restrictive sense. The claimed invention is intended to cover all alternatives, modifications, and equivalents.
Number | Date | Country | Kind |
---|---|---|---|
1950122-0 | Feb 2019 | SE | national |