proof of concept - zoological/caribou GitHub Wiki

introduction

with the proof of concept it will be tested which components are working together well to achieve the goal of successful and reliable communication using the ISO 15118 standard. currently it is planned to use a raspberry pi 3 to run the java implementation of the EVCC (electric vehicle communication controller) communication stack given by rise v2g. later on a raspberry 3 compute module could be used in the integrated version. for the physical layer (powerline modulation over the control pilot wire) a dlan green phy eval board II will be used. in a first step the raspberry will communicate over ethernet to a linux machine that runs the SECC (supply equipment communication controller) code. in the second step the physical layer is tested to establish a connection to a real charging station.

components

  • rise v2g the open source implementation of the ISO 15118 communication stack
  • raspberry pi 3 for running rise v2g
  • dlan green phy eval board II
  • a testing CCS charging station to check communication

todos

  • establish communication between PC running SECC and raspberry pi running EVCC code of rise v2g
  • establish communication through the real hardware layer using the dlan green phy adapter between the testing charging station and the raspberry running rise v2g EVCC

progress

raspberry setup

follow the official raspberry pi instructions on how to write a raspbian image onto an sd card and how to enable ssh access. when you have the raspberry connected to your network, you can just enter ssh pi@raspberrypi to connect to it.

install java

the iso 15118 implementation rise v2g is written in java therefore we must install java.

sudo apt-get update
sudo apt-get install oracle-java8-jdk

install maven

maven is a (or 'the') java build tool, which is used by rise v2g.

wget http://mirror.switch.ch/mirror/apache/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
cd /opt && sudo tar -xzvf /path/to/apache-maven-3.5.4-bin.tar.gz
sudoedit /etc/profile.d/maven.sh

and enter the following two lines

export M2_HOME=/opt/apache-maven-3.5.4
export "PATH=$PATH:$M2_HOME/bin"

then logout and login to activate the script. maven should then be available from the command line, check with mvn --version

clone & build rise v2g

cd ~
git clone https://github.com/V2GClarity/RISE-V2G.git rise-v2g
cd ~/rise-v2g/RISE-V2G-PARENT
mvn install
mvn verify

configure & run EVCC code

cd ~/rise-v2g/RISE-V2G-EVCC/target
then open the file EVCCConfig.properties and look for the line starting with network.interface = . set it to the value of the network interface you want to use. to get a list of possibilities use ifconfig. for example the ethernet interface could be called eth0 and the wireless interface wlan0

running the EVCC code: pi@raspberrypi: java -jar rise-v2g-evcc-1.1.4-SNAPSHOT.jar

note that when there is no SECC running on the same network, the EVCC will try a couple of times to establish a connection and then quit with an error message. to check if the connection works, start the SECC code beforehand:

running the SECC code:

me@linux-machine: cd rise-v2g/RISE-V2G-SECC/target
# do not forget also to check SECCConfig.properties file for the correct network.interface setting
me@linux-machine: java -jar rise-v2g-secc-1.1.4-SNAPSHOT.jar