Energy storage system and operating method thereof
In an energy storage system (ESS) including a battery management system (BMS) and a recording device, the BMS obtains operational data of the ESS and generates a first encryption code to guarantee integrity of the operational data to be transmitted to the recording device, and the recording device generates a second encryption code based on the operational data to which the first encryption code is added, to guarantee continuity of operational data received every period, and generates a third encryption code based on the second encryption code added to the operational data in a period immediately before branching to prevent a series of operational data from being falsified after branching.
1 . A battery management system (BMS) comprising:
a BMS controller including a hardware processor, the BMS controller being configured to:
obtain operational data of an energy storage system (ESS) comprising necessary data related to a state of a battery and additional data;
obtain sampling data by randomly sampling the additional data; and
generate a first encryption code based on the necessary data and the sampling data; and
a communication unit configured to transmit the operational data to which the first encryption code is added, to a recording device,
wherein the first encryption code comprises:
first data indicating an index of the sampling data; and
second data generated by encrypting the necessary data and the sampling data, wherein the recording device comprises:
a recording device controller configured to generate a second encryption code based on the operational data to which the first encryption code is added and add the second encryption code to the operational data; and
a memory configured to store the operational data including the second encryption code, and
wherein the second data and the second encryption code are generated using a cyclic redundancy check (CRC) encryption method.
2 . An energy storage system (ESS) comprising:
a battery management system (BMS) controller including a hardware processor, the BMS controller being configured to:
obtain operational data of the ESS comprising necessary data related to a state of a battery and additional data;
obtain sampling data by randomly sampling the additional data; and
generate a first encryption code based on the necessary data and the sampling data;
a communication unit configured to transmit the operational data to which the first encryption code is added to a recording device; and
the recording device configured to receive the operational data to which the first encryption code is added, from the BMS, the recording device comprising:
a recording device controller configured to generate a second encryption code based on the operational data to which the first encryption code is added and add the second encryption code to the operational data; and
a memory configured to store the operational data including the second encryption code,
wherein the first encryption code comprises:
first data indicating an index of the sampling data; and
second data generated by encrypting the necessary data and the sampling data, and
wherein the second data and the second encryption code are generated using a cyclic redundancy check (CRC) encryption method.
3 . The ESS of claim 2 , wherein the second encryption code is generated based on a first encryption code of operational data received in a current period and a second encryption code of operational data received in a previous period.
4 . The ESS of claim 2 , wherein the recording device is further configured to generate a third encryption code based on the second encryption code added to the operational data in a period immediately before branching, in response to the operational data stored in the recording device being branched.
5 . The ESS of claim 4 , wherein the third encryption code is generated based on the second encryption code added to the operational data in the period immediately before branching, an identification number of the recording device, and information of a time in which the operational data begins to be stored in the recording device.
6 . The ESS of claim 5 , wherein the third encryption code is generated using the cyclic redundancy check (CRC) encryption method.
7 . The ESS of claim 2 , wherein the necessary data comprises at least one of current time information, a voltage of the battery, a current of the battery, a temperature of the battery, and a state of charge (SoC) of the battery, and
wherein the additional data comprises at least one of network configuration information, Internet protocol (IP) information, and a setting value of the battery management system.
8 . An operating method of an energy storage system (ESS), the operating method comprising:
obtaining, by a battery management system (BMS) controller, operational data of the ESS comprising necessary data related to a state of a battery and additional data;
obtaining sampling data by randomly sampling the additional data and generating a first encryption code based on the necessary data and the sampling data, by the BMS controller;
adding the first encryption code to the operational data and transmitting the operational data to a recording device, by the BMS controller;
generating a second encryption code based on the operational data to which the first encryption code is added;
adding the second encryption code to the operational data; and
storing the operational data including the second encryption code,
wherein the first encryption code comprises first data indicating an index of the sampling data and second data generated by encrypting the necessary data and the sampling data, and
wherein the second data and the second encryption code are generated using a cyclic redundancy check (CRC) encryption method.
9 . The operating method of claim 8 , wherein the second encryption code is generated based on a first encryption code of operational data received in a current period and a second encryption code of operational data received in a previous period.
10 . The operating method of claim 8 , further comprising generating a third encryption code based on the second encryption code added to the operational data in a period immediately before branching, in response to the operational data stored in the recording device being branched.
11 . The operating method of claim 10 , wherein the third encryption code is generated based on the second encryption code added to the operational data in the period immediately before branching, an identification number of the recording device, and information of a time in which the operational data begins to be stored in a memory of the recording device.
12 . The operating method of claim 11 , wherein the second data, the second encryption code, and the third encryption code are generated using a CRC 16 or CRC 32 encryption method.
13 . The operating method of claim 8 , wherein the necessary data comprises at least one of current time information, a voltage of the battery, a current of the battery, a temperature of the battery, and a state of charge (SoC) of the battery, and
wherein the additional data comprises at least one of network configuration information, Internet protocol (IP) information, and a setting value of the battery management system.