You are on page 1of 3

Blockchain-based Energy Transaction Model for

Electric Vehicles in V2G Network


Md. Mainul Islam Md. Shahjalal Moh. Khalid Hasan Yeong Min Jang
Department of Electronics Department of Electronics Department of Electronics Department of Electronics
Engineering Engineering Engineering Engineering
Kookmin University Kookmin University Kookmin University Kookmin University
Seoul, South Korea Seoul, South Korea Seoul, South Korea Seoul, South Korea
mainul.islam@ieee.org mdshahjalal26@ieee.org khalidrahman@ieee.org yjang@kookmin.ac.kr

Abstract—Electric vehicles (EVs) have been gaining remark- transaction data in a decentralized manner in the network with
able popularity throughout the world over the past few decades high security. The blocks are connected with each other by
as they produce lower emissions by the efficient utilization of some cryptographic hashes and every block contains a hash
renewable energy and pollute less than conventional vehicles.
They have emerged as a promising solution of climate change value that is the hash of the hash value of its previous block.
and energy crisis issues. It is an urgent need to develop a secure In [6], the authors proposed blockchain-based secure energy
and reliable energy transaction model for electric vehicles in trading in software defined networking (SDN)-enabled V2G
vehicle-to-grid (V2G) network. In order to solve the problem network. Liu et al. [7] proposed a blockchain-based power
of energy shortage during peak hours and keep the balance of
trading mechanism for EVs in V2G network. A consor-
electricity supply, in this paper, we propose a blockchain-based
energy transaction model for EVs in V2G network, which enables tium blockchain based energy trading model with privacy-
peer-to-peer energy transactions between EVs and power grid preserving was proposed in [8]. Blockchain-based P2P energy
without need of trusted third party. transaction model was introduced in [9] to provide solutions
Index Terms—Electric vehicles, blockchain, energy transaction. for energy Internet. Blockchain-enabled power transaction
model based on multi-agent coalition was proposed in [10].
We focus on blockchain-based energy transaction for EVs in
I. I NTRODUCTION
V2G networks.
The technological advancements of electric vehicles (EVs)
and the rapid growth of smart grid lead to the advent of II. P ROPOSED M ODEL
vehicle-to-grid (V2G). V2G refers to a technology that enables
unused electrical energy to be pushed back from electric In this section, a blockchain-based energy transaction model
vehicles to power grid as well as has the bidirectional en- for EVs is proposed as shown in Fig. 1. Energy companies
ergy flowing capability. It is also regarded as vehicle-grid install a number of charging stations at different points. The
integration (VGI) [1], [2], which assists power grid in energy charging stations also have the discharging equipments. Every
management during peak hours and also at the time of un- EV has some energy coins that are the assets to buy energy
availability of renewable energy resources, e.g., at night when from energy prosumers on demand. The energy coins can be
solar panels cannot generate electricity by the sunlight [2]. bought with money from energy companies or prosumers. In
In this case, the idle EVs can deliver their unused electrical running condition, an EV can also buy energy coins from
energy stored in their batteries to power grid for money; other neighboring consumers in the same vehicular network.
thus, create an opportunity of electricity trading in vehicular In order to cope with the energy shortage during peak hours,
networks. Moreover, a massive deployment of V2G technology EVs in this model are provided with charging and discharging
could reduce the necessity to establish additional power plants; facilities. They can deliver their unused energy stored in their
hence, reduce the cost of electricity generation. batteries to the grid by discharging the batteries. For their
EVs can provide both regulation services (down and up) contribution in energy management in energy crisis moments,
[3]–[5] by charging the battery from the grid and discharging they are rewarded with some energy coins depending on the
the battery to the grid, respectively. The employment of EVs amount of energy they deliver to the gird. Since most of the
means going one step ahead to reduce the carbonization EVs remain idle at night, they can discharge their battery for
of environment. Designing an energy transaction model in getting rewards from the grid in the form of energy coins.
a dynamic platform is a challenging task, where energy However, they need to charge their batteries again in the next
consumers (while charging) or prosumers (while dicharging) morning. In this regard, grid will sell energy at a lower price to
are not stable in location. Blockchain, a distributed ledger the EVs according to their contribution in energy management
technology, can provide peer-to-peer (P2P) transactions among by self discharging. This can be considered as a bidirectional
the energy consumers and prosumers as well as record the energy trade-off between the EVs and the smart grid.

978-1-7281-4985-1/20/$31.00 ©2020 IEEE 628 ICAIIC 2020


Authorized licensed use limited to: Purdue University. Downloaded on June 23,2021 at 16:37:11 UTC from IEEE Xplore. Restrictions apply.
Fig. 1. Blockchain-based energy transaction model for EVs.

Other facilities we propose that the EVs can be notified by in some cryptographic blocks that are connected with each
the control center via Internet about their remaining amount of other by cryptographic hashes to enhance the security. The
energy and the locations of nearby charging stations to charge data are stored in a decentralized manner so that anyone in
their batteries. During peak hours, the control center will also the network can view the transaction histories at any time. The
offer them for discharging their unused energy if possible to same copy of transaction histories is shared among the EVs
get rewards. To monitor the energy usage and the remaining in the V2G network. It is difficult to break the security of this
amount of energy of the EVs, every EV has one smart meter blockchain network because every block contains a hash value
installed in it. The smart meter sends the energy data of this that is the hash of the hash value of its previous block. Once
EV to the control center in every hour so that the control center the transaction data are stored in the blockchain, they can never
can estimate the hourly demand of energy. be modified. If any mismatch occurs between two consecutive
The main feature of our proposed model is blockchain-based blocks, the whole blocks will not match with each other and
energy transaction. With the help of blockchain technology, an the network can easily identify it. Furthermore, hacking any
EV can trade energy with smart grid without the need of any single block will not be enough to hack the network. For
truested thrid party. No bank is required for payment as the hacking the network, someone has to hack at least 51% blocks
energy is sold for energy coins. The transaction data is stored in the blockchain.

629
Authorized licensed use limited to: Purdue University. Downloaded on June 23,2021 at 16:37:11 UTC from IEEE Xplore. Restrictions apply.

Fig. 2. Energy transaction data in blockchain network.

Fig. 2 illustrates the stored transaction data in the blockchain R EFERENCES


network. Each block contains a hash value, a timestamp, [1] “Vehicle to Grid (V2G) Technology,” [online]. Available:
and a list of transactions. In Block 0, Transaction 1 and https://innovationatwork.ieee.org/vehicle-to-grid-v2g-technology/
Transaction 2 indicate that the vehicles EV1 and EV2 are [2] “Vehicle-to-grid technology is reviving up,” [online]. Available:
https://www.greenbiz.com/article/vehicle-grid-technology-revving
charging their batteries from the grid paying energy coins at a [3] H. Liu, K. Huang, Y. Yang, H. Wei, and S. Ma, “Real-time vehicle-
rate of 1 coin/kWh. In Block 1, EV3 is charging its battery but to-grid control for frequency regulation with high frequency regulating
EV4 is discharging. In the case of discharging, grid provides signal,” Prot. Control. Mod. Power Syst., vol. 3, no. 13, pp. 1-8, May
2018.
some rewards to EV4 at a rate of 0.1 coin/kWh. Rewarding [4] A. Y. Lam, K. C. Leung, and V. O. Li, “Capacity estimation for vehicle-
EV is valid only at the time of peak hours, when the grid to-grid frequency regulation services with smart charging mechanism,”
goes through energy crisis condition. This is because if the IEEE Trans. Smart Grid, vol. 7, no. 1, pp. 156-166, Jan. 2016.
[5] H. Liu, J. Qi, J. Wang, P. Li, C. Li, and H. Wei, “EV dispatch control for
rewards are provided for 24 hours, some vehicles may take supplementary frequency regulation considering the expectation of EV
this advantage unethically, hampering their battery lifetimes. owners,” IEEE Trans. Smart Grid, vol. 9, no. 4, pp. 3763-3772, 2018.
Moreover, the grid does not require additional energy from [6] J. Anish, A. G. Singh, and K. Neeraj, “Electric Vehicle Power Trading
Mechanism Based on Blockchain and Smart Contract in V2G Network,”
EVs all the time in a day except peak hours. The peak hours IEEE Access, vol. 7, pp. 160546–160558, Nov. 2019.
or rewarding times are notified to all the EVs registered in the [7] Jh. Liu, Y. Zhang, S. Zheng, and Y. Li, “SURVIVOR: A blockchain
V2G network from the control center. based edge-as-a-service framework for secure energy trading in SDNen-
abled vehicle-to-grid environment,” Comput. Netw., vol. 153, pp. 36–48,
Apr. 2019.
[8] K. Gai, Y. Wu, L. Zhu, M. Qiu, and M. Shen, “Privacy-preserving energy
III. C ONCLUSION trading using consortium blockchain in smart grid,” IEEE Trans. Ind.
Informat., vol. 15, no. 6, pp. 3548–3558, Jun. 2019.
In this paper, we have proposed a blockchain-based energy [9] F. Luo, Z. Y. Dong, J. Murata, Z. Xu, and G. Liang, “A distributed
trading model for EVs in V2G network. P2P energy trans- electricity trading system in active distribution networks based on
multiagent coalition and blockchain,” IEEE Trans. Power Syst., vol. 34,
actions between charging stations and EVs without need of no. 5, pp. 4097–4108, Sep. 2018.
any trusted third party are enabled by means of blockchain [10] Y. Yu, Y. Guo, and W. Min, “Trusted transactions in micro-grid based
technology. The transaction data are stored in the blockchain on blockchain,” Energies, vol. 12, no. 10, p. 1952, May 2019.
network in a distributed manner. Smart monitoring of the
energy usage and the remaining amount of energy of EVs
is enabled by installing smart meters into EVs and connecting
the EVs to the smart grid via Internet.

ACKNOWLEDGMENT

This research was supported by the MSIT (Ministry of Sci-


ence and ICT), Korea, under the ITRC (Information Technol-
ogy Research Center) support program (IITP-2018-0-01396)
supervised by the IITP (Institute for Information communi-
cations Technology Promotion).

630
Authorized licensed use limited to: Purdue University. Downloaded on June 23,2021 at 16:37:11 UTC from IEEE Xplore. Restrictions apply.

You might also like