Wednesday, August 13, 2014

EVCCON 2014 - Day 1

Opening Keynote Session

We kicked off the official start of the 4th Annual EVTV.me Electric Vehicle Conversion Convention with the opening keynote speech by Jack Rickard.  This year, as last, the session part of the convention is being held at the A. C. Brase Arena in Cape Girardeau, Missouri.  I thank them for free wifi and available laptop & phone charging access!


We have 131 registered attendees and 36 electric cars this year.  The car bringers (co-hostages as Jack calls them) have special shirts with numbers on the back that match the number on their car.  We are encouraged to talk with the builders about their component and design choices.


Jack had the first time and all-time attendees stand and be recognized.  The furthest attendees were from 3 guys from New Zealand.  Coming from Thailand, I could challenge them - Google Maps says I came about 400 miles farther but it depends where in New Zealand they live...

Jack flashed back to the beginning of computer BBSs and the Internet and compared it to the growth curve of electric cars.  He's realized that 90% of the people at the show have been in the computer industry and are not necessarily "car guys".  With the proliferation of microcontrollers in modern cars, we geeks are in a good position.  We can design hardware and software that integrates well into existing cars, and we can also extract data from and send control commands to the data-enabled components we're buying and installing in our own cars.

This is a very self-selected group but about half drive their own-built electric car and about 90% are working on an EV project.  About 20 people have a store-bought electric car along with their own-built EV, such as Tesla, Ford Focus, Nissan Leaf and Coda.

Due to the exponential growth of the human population, we need to move more and more people around all the time.  These vehicles largely run on fossil fuels and there will be no end to the supply of gasoline, but the price will skyrocket as it becomes harder to find.  This is a big impetus to the rise of non-fossil-fuel vehicles.

Jack discussed the standard product adoption curve: the early adoption phase represents up to 2.5% of the market.  For new vehicles worldwide, that's about 375,000 per year.  Electric cars are selling at about 120,000 per year, so we're not even in the early adoption phase yet, so there is a lot of market space available for innovative people and companies.

Jack pointed out that as modest as we are about our knowledge about electric vehicles, people regard us as the local expert in the field, and we are key in the dissemination of the benefits of EVs and also keeping the car companies in line.

Next session: Jack Rickard on the Basics - Why to do a conversion and how to get started with the initial planning.

Jack started out by discussing the two show specials, is CALB SE Series 100 AH batteries are going at $75 each.  He has made a deal with UQM and received his first shipment of 10 UQM PowerPhase 100 motor and inverters.  These come with no factory warranty, no product support or documentation.  UQM will sell this to you for $15,000 but Jack's price is $7,000 each and he can order 20 more if needed.

Several of the speakers who initially committed to the show have dropped out, so Jack is having to step in.  Eric Kriss was initially supposed to give the basic conversion session but was unable to make it.

To do a good conversion you start out with the car of your choice and spend $25,000 to get it rolling on electrons alone.  If you try to save money, you're not going to be happy with the result.  This is only fair when you look at other hobbies such as boating.  4-line BBS systems in the '80s cost over $20,000 and you can't drive it down the street.

By the time you have purchased all of the components and designed your battery boxes, you've completed 80% of the project.  The rest is just installation and wiring.  Building an EV is very personally satisfying.

There are two major criteria: range and performance.  You've got to seriously look at your daily driving needs and design your pack size accordingly.  Battery technology does not let us go 500 miles yet.  You also have to decide if you're looking at drag racing, performance driving, highway driving, or sedate around-town driving.  You need 1 watt-hour of energy per 10 pounds of vehicle to go one mile of mixed driving.  Determining the weight of the car with this formula times your desired distance gives you the target kilowatt-hour size of your pack.  You should always put extra padding on this as you don't want to take the batteries all the way down to get the desired mileage.

DC series-wound motors are the cheapest way to get your car rolling, as they're simple motors with simple controllers.  DC systems have lower voltages (120 - 144) and very high current but a relatively low 40 - 44 lithium batteries.  AC systems are gaining market share in EV conversions due to dropping prices, more product choices and the small benefit of regenerative braking.  AC systems have much higher voltages (300 - 335) and lower amperage, but that voltage requires about 100 lithium batteries in series.  This is important in a space-constrained vehicle.  The new CAM series batteries have different form factors with quite similar capacity so you can pick the one that fits best.

Car choice comes down to weight, quality (rust-free, paint, interior, etc.) and personal style.  The more unique and sexy the car, the more attention you'll be getting as you silently cruise down the road or come out of the grocery store with your melting ice cream.

Jack talked about the genesis of EVTV.  He bought a shipment of Chinese batteries which came with no documentation, so he tested them to destruction to find out their performance characteristics.  He then tried to figure out what to do with the remaining batteries, so he asked Brian to put them into a car.  This was the first Porsche Speedster build, which went 110 miles and a top speed of 95 mph.  He was amazed that without knowing what they were doing, they made this great car - why aren't other people or car companies doing this?  About this time, Chris Paine made the Who Killed The Electric Car movie and the US government announced the financial bailout.  The rising price of gas and the result of his car gave Jack the impetus to start the videos which led to more car builds which led to an online store selling EV components.

Next session: Fundamentals of Electricity and Magnetism by Ralph Tate, Southern Illinois University

SUI offers a Bachelor's Degree in Automotive Technology, and has expanded its focus into alternative energy vehicles.  They've done two conversions so far, the second is a 1990 Miata.  The third conversion starts next month, a PT Cruiser.


Ralph teaches his students about energy, right from the basics.  He discussed energy and power, coulombs, volts and watts.  A gallon of gasoline contains 36.6 KW of power, which is about half the size of a Tesla Model S battery pack.  Gasoline engines run at about 18% efficiency but electric motors are about 85% so a lot of the power in that gasoline is thrown away as heat.

Ralph then talked about charge and force, attraction and repulsion, and conducting elements which have one electron in the valence shell.  This electron can leave and rejoin the atom without too much difficulty, leading to current flow.  An ampere (amp) is one coulomb of current per second.  Battery charge is indicated in Amp-Hours, so a 180 AH battery has 180 * 3600 = 64,800 coulombs.

Voltage is a difference in potential through a circuit.  A volt is 1 joule per coulomb.  Resistance is the opposition to current flow, measured in Ohms.  When resistance decreases, current goes up towards infinity.  This is the explanation for the real-life scenario of a short circuit shooting sparks everywhere.

Magnets!  Magnets generate lines of force from the North to the South poles.  We can create machines the exploit this force, causing rotation.  A Tesla is the unit of flux density and is equal to one Weber per meter squared.  Only some elements exhibit magnetism - they need to have non-paired electrons that spin in their orbits.  Lodestone was the first naturally magnetic material discovered.  Ferrite, Alnico and rare earths (grossly misnamed) are other classes of materials.  Neodymium has a very strong capacity to be magnetized and is hard to demagnetize, and is awesome to play with.

New magnets are made using electromagnets by running a current through a wire.  Wrapping a wire around a core gives an even stronger electromagnet.  By putting a looped wire between the N and S of a C-shaped magnet and running a current through it, the wire will turn.  We have just invented the DC motor.  There is a saturation limit of flux density, dumping more current into the motor gives no additional rotation.

Lunchtime!

Next Session: Batteries

Jack is going to do without his usual LiFePO4 battery intro talk.  They are available, predictable, stable, long-lived and almost affordable.  This session will be on long-term and temperature testing of lithium batteries by John Hardy and David Bogard.


Note all of the test results below are for Lithium Iron Phosphate (LiFePO4) chemistry batteries.  Other lithium chemistries like Lithium Cobalt Oxide (LiCoO2) and Lithium Manganese Oxide (LiMn2O4) will not behave the same way.

John has a metal shed in his back garden at home in England to do battery testing.  He uses an Arduino board to run the code for the tests, switching relays on and off to the charger and load resistor and collecting voltage and amperage values.  He stressed that any testing apparatus must draw the minimum current possible, down to the nanoamps or it will have a detrimental effect on the cells under test.

For test 1, he tested  Headway 10AH cells and had a failure at 600 cycles, but no drift in the rest of the cells.  Test 2 used shunt balancers and he destroyed his pack in less than 100 cycles.  Test 3 used CALB CA 40 series batteries and he halted the test at 2000 cycles because there was no drift and 80% of original capacity left.  He's working on test 4 right now, charging at faster rates. The preliminary data gives similar result as Test 3 but the cells lose capacity slightly faster.  More data will be forthcoming.

He also tried using dielectric grease but it actually caused the temperature at the battery terminals to raise about 5 degrees C higher than terminals with no grease, so it's not a good idea.  He found that a small number of cells are subject to self-discharge and will go out of balance with the rest of the pack, so it's important to identify these cells and replace them.  He recommends you buy a couple of spare cells for replacements.  He says to bottom balance them to within 5 millivolts and record each value.  Let them sit for three days to a week.  Most cells will bounce up slightly, and any cell that has drifted down should be discarded.

This testing validates Jack's theory that a bottom-balanced lithium ion battery pack will work beautifully for thousands of cycles if you don't use a BMS, don't over-charge them and don't over-discharge them.

Dave Bogard was up next, showing the results of his 8 AH battery life cycle testing with temperature variation.  You should go back a couple of weeks to see his video report in Jack's EVTV episode.  His basement testing lab is something to behold!  This session is a recap of his testing methodology, raw data and analysis.  He also used an Arduino, specifically the Mega 1280, a switched relay board, two power supplies and 3 fan-cooled high wattage resistors.  Be sure to use a snubber diode across the relay coil terminals to avoid a voltage spike back to the Arduino signal pin which can reboot or damage the Arduino.


He tested 6 identical Headway 8AH cells in 3 packs of two cells, at 0 degrees C (in a small bar fridge), ambient (18 degrees C) and 55 degrees C (in a toaster oven).    He initially tried to charge and discharge at 8 amps, but it was too hard on the cold battery so he changed to 4 amps.  He built a discharge / rest / charge cycle scenario against the 3 packs.

He did initial calibration with 47 test cycles and identified a bad battery which was swapped out.  He ran all batteries at ambient to 100 cycles to confirm they were behaving similarly.  Starting with test 101, he subjected them to their test temperatures.  The cold cell quickly started falling behind, ending up with about half of the charge / discharge capacity of the other two, and this is permanent damage.  The heated battery performed a little better than ambient.  This confirms manufacturer claims to avoid charging and discharging at low temperatures, but warm ambient and hot temperatures are OK.  This is good news for electric car owners in Phoenix, there is no risk of shortened capacity or lifecycle.

Next Session: Hacking Electric Vehicles for Fun and Profit

Given that I'm a computer geek and crave data and control of bits of hardware, I've been looking forward to the next two sessions.

Collin Kidder presented this session on reverse engineering CAN bus messages.  CAN bus is the standard for connecting microcontrollers in modern cars, so understanding how to connect to this bus, read data and put new commands on the bus is key to the future.  CAN actually stands for Controller Area Network, not Car Area Network as some people think.


Collin's goals for CAN bus communication includes getting more info out of the car than the manufacturer is willing to divulge, using parts from wrecks in your own car, and just because!

What data is flowing on a CAN bus?  Temperatures around the car, tire pressures, voltages, amperages, remaining range, door lock/unlock, window up/down, etc.  What gets in the way?  Lack of standardization of data messages and intentional manufacturer obfuscation.  OBD II standardized the data required for emissions testing, but not much beyond that.  J1939 is used in heavy trucks but not passenger cars.

Reverse engineering requires the understanding of how to convert from different number bases, including decimal, hex, octal and binary.  There is also the concept of Big Endian and Little Endian (Intel) ordering of the binary bits in the packet.  Some numbers are represented with a negative sign which normally takes the form of 2's Complement binary representation.  Floating point numbers, such as 3.14, take a very different form and a lot of computing power to manage, and for this reason floats are multiplied by say 10 or 100 before transmission, then divided back out at the destination.  Binary Coded Decimal is also sometimes used.  Bit shifting and bit operations such as Not, Or, And and Xor are used frequently to mask out the data you want from a larger data packet.  If none of this makes sense, take a 2nd year Computer Science class!  Been there, done that, taught that.

CAN bus is a single long cable with two wires, and is a serial bus like USB.  One wire is the + signal and the other wire is the - signal, in a differential format.  Each device just connects somewhere on the wire, in parallel with all other devices.  Both wires can float up and down in voltage but only the difference between the two wires determines if the bus has a 1 (recessive) or a 0 (dominant) on it.  Recessive and dominant is used to see if two devices are trying to talk on the bus at the same time - this is called the arbitration scheme.

CAN has a well-defined message frame format, with different fields in the frame representing different information.  Embedded inside the frame is the actual data, like the pressure of the front left tire.  The ID in the frame is key, it identifies the specific frame format for a single type of data, this way tire pressures aren't confused with battery voltages - they will have different IDs.  There are two ID types, standard and extended.  Priorities are also encoded in the ID, since ABS signals are extremely important, engine RPM is medium importance and cabin temperature is low importance.  Masks and Filters are applied as frames come across the bus, allowing you to focus on only the frames you care about, not the 3000 frames per second as you're driving down the road.

So how do we start playing with CAN?  You need a device that you can wire to the two wires, software to read and interpret the frames.  The Kvaser Leaf Light is quite good, but costs $350.  You then use the free CAN King app.  The Komodo CAN Duo runs $450 and has screw terminals for each connection to the CAN bus and a free app to drive it.  The Microchip CANBus Analyzer too is not isolated, but does a good job for $100.  The Salae Logic device is a general purpose logic analyzer that understands CAN.  BusMaster is a very powerful and free app but only supports the expensive dongles.  Vehicle Spy Pro requires its own dongle which is very expensive at $2500.  Vector CANalyzer is the gold standard but costs $5000.  Collin is writing his own, specifically designed for reverse engineering, and hasn't decided how he will release it or what it will cost.  EVTV's own GEVCU can be used too, more in the next session on GEVCU.

Now how do you reverse engineer a car?  You need to search following the characteristics of the expected data.  RPM is a large number.  Temperatures change slowly.  Triggered events just fire one frame as needed.  Just capture frames as your expected message should be coming through.  Analyze them later, looking for relevant changes.  Guessing is powerful.  Keep notes to correlate data to real events.  Watch for counter values, endian, offsets and scaling factors.  Plot data to visualize how it changes over time and compares with another data stream like commanded torque and reported torque.  Keep the wheels off the ground when testing motor controllers!

Collin then explained his steps of deduction to decode the magic byte in the Coda motor controller torque command.  It still amazes me that he was able to figure this out!

We were running about an hour late so dinner showed up just before the last session was about to start.  Everyone ran for the food, so the session will be postponed until tomorrow.

I will leave you with pictures of the vendor  area and the components they brought over that are available for purchase from the evtv.me store.  I don't think some of those motors are going to be accepted as carry-on luggage!


Lonestar EV Performance is here with their design for a dedicated electric drag racing electronics and drivetrain.  The video they took of their motor with a GoPro must be seen to be believed.  That's a plasma field during the heavy acceleration.


Hi Performance Electric Vehicle Systems brought a selection of their motors and controllers.


Below are some of the EVTV components for sale.





And I'll leave you with another of Jack's upcoming projects, this beautiful wooden speedboat, with a jet ski drive system, just waiting for an electric motor and battery bank.




That's it for today, we've come back to the shop to put some more work into the Smart car.  More from the show tomorrow.

Tuesday, August 12, 2014

EVCCON 2014 - Day 0

Today was the last day of the free-for-all Smart Car build and the official start of registration and the opening evening reception for EVCCON 2014.

We got a lot of work done on the Smart today.  We ran the AC cable from the J1772 charging port in the right-rear fender up to the charger in the front of the car.



Here's the big whiteboard with our 4-point project plan.  Notice the multiple in/out of the motor and battery pack.  Luckily it only took one try to pull the gas engine.


In the "Insane Methods of Transportation" category, I give you two vehicles that showed up today.  This one is an electric motorcycle whose rear wheel is driven by a chain from a small DC motor under the seat.  The front wheel also has a chain drive, but only to operate a tiny disc brake.  It tops out around 20 mph but can almost float.



Here is the bike's motor controller.


And the battery pack.  It will eventually get a shroud to protect the rider from leg shocks!


 Back to the Smart car, I mounted the AVC2 charging controller board and wired it up to the J1772 charging port.


We zip-tied up the cabling under the body to the motor controller and J1772 charging port.


Here is the beautifully-crafted J1772 mounting bracket.  Unfortunately, the entire bracket will be covered up by the Smart bodywork, leaving just the hole for the charging plug where the gas filler used to be.


Here's the second insane form of transportation.  It's a highly-modified Power Wheels car, now featuring imminent death.


The back of the Smart now has a radiator and water pump for the motor cooling loop.


The battery pack has been populated with actual batteries and is now mounted under the car!


And the view of the battery pack from the front of the car.


Almost all of the attendees are here now and they've brought a great selection of home-converted electric cars.



This is Jack's new-today Nash Metropolitan.  The car was restored 21 years ago and looks like it just came out of the shop yesterday.  It is destined to be converted to electric sometime in the future.


This is the demonstration platform from the Hi Performance Electric Vehicle Systems (HPEVS) company.  This Porsche 911 has dual AC35 motors on the same shaft.


More electric cars, including Jack's Tesla Model S.


We enjoyed great catered food and an open bar for the reception dinner.  I'm spending most of my time telling people how much I'm enjoying my new life in Thailand and have found several people who want to come back with me.

The convention officially kicks off tomorrow morning with the keynote speech and the start of the sessions.  More tomorrow.

Monday, August 11, 2014

EVCCON 2014 Day -1

After waking up at 4 AM due to jet lag and unable to get back to sleep, I got a ride with Larry from the hotel and got to the EVTV.me workshop around 10 AM.  The growing crowd was elbow deep in the Smart car, focusing on completing the bottom balancing of the cells in the battery pack and installation of the motor and gearbox.



I worked on mounting the charger to the back side of the front bumper mount where the original radiator had been.  We also swapped out the incoming AC cable to a longer one that could reach all the way to the J1772 charging port in the back where the gas filler used to be.


We got the motor assembly mounted quite easily, and began test fitting the battery box under the frame.  After chiseling away a few extraneous mounting brackets, we found we had to remove two more brackets that were partially obscured by the motor assembly, so out it came.  The brackets came out and the motor went back in.  The battery box now fits beautifully, and battery team will be ready to install and wire up the batteries into the box and pop the box in tomorrow.







Dinner by consensus was at the Outback Steakhouse, an unusual location for me but hey I'm off the diet for this trip.  I did get a chicken caesar salad so it was almost OK.  The last time I was at an Outback Steakhouse, I had a severe reaction with my onion allergy.  Tonight I made it to the hotel just in time before the volcanic explosions began so I'm now 2 for 2 in 10 years, and that adds up to a big Nope for me and Outback Steakhouse from now on!

I'm managing to stay awake long enough to post this entry, then back to the shop tomorrow for another full day of the Smart car build.  I'm also hoping the GEVCU firmware guys show up soon, because I want to test my GEVCU app, a port of my PakTrakr electric car app, with a real piece of GEVCU hardware.

EVCCON 2014 Day -2

I flew from my new home in Thailand to Cape Girardeau, Missouri for the 4th annual Electric Vehicle Conversion Convention (EVCCON).  It's a gathering of electric car self-builders and we basically geek out for a week on sessions, discussions, hands-on, a parade through town, autocross, drag racing, dynamometer rating and generally getting liquored up and playing with high voltage.

I arrived on what I'll call Day -2 of the convention, thinking I was early but 6 guys had already arrived and started work on one of the shop projects, doing an electric conversion on a Smart car from a kit made by a German vendor whose name I can't remember right now.  The show doesn't officially start until the Tuesday evening reception and then the convention starts in earnest on Wednesday.  I signed up to be on the build team, I think there's about 15 of us who hope to get the car running as a pure electric car by next Monday.

I had the airport shuttle driver drop me off right at the EVTV.me workshop around 3 PM.  I dropped my suitcase and backpack in the corner and dove in.  The guys already had the 3 cylinder gas engine and gas tank out and were prepping the electric motor and reduction gearbox to go in.  The Smart car is tiny and looks even smaller with the rear end pulled out.




At 7 PM the 7 of us went to Jack's house for Sunday dinner, BBQ chicken.  I've given myself permission to go off my healthy, vegetarian diet for this trip, so I enjoyed the meal and the conversation.  Jack wrote up his weekly blog entry after the dinner, and I got a special mention for making the big trip from Thailand.

I was nodding asleep at the table around 9 PM so I got a ride back to the hotel and crashed.  More updates from Day -1 to follow.

Monday, June 24, 2013

Retiring from the workforce, Retiring the 914, Retiring the Blog

Life rarely turns out the way you expect.  After battling her Huntington's Disease for 15 years, my wife passed away last September.  This made me rethink my life and what I was going to do with myself now.  With 35 years of work and 17 years of school under my belt, I started thinking about retirement.  After years of careful planning, I'm in the position to call it quits in the working world and move somewhere cheap and exotic.  I've been to 46 countries around the world, so I have experience to draw from as to where I would go.

In the end, I chose Thailand.  Specifically, Hua Hin.  Hua Hin is a small city about 2 hours south-west of Bangkok by train.  It's right on the ocean, has a long white sand beach, mountains, golfing and all of the infrastructure I'll need to survive.  I'm learning Thai and intend to blend in as best I can.  If I get tired of Hua Hin, I'll pack my one suitcase, grab my guitar and laptop and drive my scooter to another town, or even farther away to Laos, Cambodia, Vietnam or somewhere else exciting.

It's super cheap to live there, the food is great, the ocean is right there, the people are friendly, and did I mention it's super cheap?  I looked into the Retirement Visa process and luckily I meet all the criteria: Over 50 (14 days over as I type), enough money to sustain myself, and I don't have leprosy or syphilis   Bingo!  I'm putting the house on the market next week and have sold off or given away everything I own.  Except the 914.

The 914 is the big question in all of this.  I have a few choices:

- Ship it.  Shipping costs are actually reasonable; from my house to the dock in Bangkok for about $2000.  The problem is paying taxes and duties on arrival.  I've read that they can charge 3X the value of the car, and they get to pick whatever value they want.  So that is out.

- Sell it.  It's in great condition, but the range with the golf cart batteries is poor so nobody is going to pay me anywhere near the parts cost of the project, much less my time and blood and sweat.

- Store it.  This is my only realistic choice, but it just kicks the can down the road.  I will sell the batteries, likely to a golf cart shop in town, and then put the car in storage.  I don't want to pay the huge monthly fee at a mini-storage place, so I'm looking for someone who will let me put it in their locked garage for a small payment, potentially for years until I decide what to do next.  My classic car insurance requires it to be in a locked garage, so that's important.

So, this is likely the last blog entry, until something big happens in the world of the 914.  If I end up in an import-friendly country I can bring it in and fill it full of cheap lithium batteries.

I had a blast doing the conversion, driving the car, saving the world and spreading the word about electric vehicles.  I hope those who have found this blog have learned something that helped them with their own project.

I will trickle posts on my rarely-used Facebook account to let people know where I am in the world.  The welcome mat is always out for anyone who wants to come and visit.

Update: Everything is sold and I'm under 2 weeks left in California.  I haven't found an affordable place to store the 914 yet, so I'm working on solidifying the remaining leads.

Update #2: I have found a home for the 914 while I'm overseas, tucked under the wing of an airplane in a hanger at the Paso Robles airport.  Sleep well, Frau Geliebte.  I will try to bring you to me later, or collect you if I return to the US.

A Toyota RAV4 EV in the Wild

I was going to the post office in San Luis Obispo and noticed an SUV parked in the J1772 charging parking space.  I went over to check it out and found that it was one of the new Toyota RAV4 EVs!  The web site is full of information.  It's rated for 103 miles, which is a great jump over the Leaf and Volt.

They're still in limited distribution so this is still a rare car.  The cool thing is it has a Tesla battery pack and drive train.  This is the fruit of the Tesla / Toyota partnership.  Enjoy.