Open Source High Power EV Motor Controller

For anyone with interest in electric vehicles, especially drives and control systems for EV’s, the Endless-Sphere forum is the place to frequent. It’s full of some amazing projects covering electric skateboards to cars and everything in between. [Marcos Chaparro] recently posted details of his controller project — the VESC-controller, an open source controller capable of driving motors up to 200 hp.

[Marcos]’s controller is a fork of the VESC by [Benjamin Vedder] who has an almost cult following among the forum for “creating something that all DIY electric skateboard builders have been longing for, an open source, highly programmable, high voltage, reliable speed controller to use in DIY eboard projects”. We’ve covered several VESC projects here at Hackaday.

While [Vedder]’s controller is aimed at low power applications such as skate board motors, [Marcos]’s version amps it up several notches. It uses 600 V 600 A IGBT modules and 460 A current sensors capable of powering BLDC motors up to 150 kW. Since the control logic is seperated from the gate drivers and IGBT’s, it’s possible to adapt it for high power applications. All design files are available on the Github repository. The feature list of this amazing build is so long, it’s best to head over to the forum to check out the nitty-gritty details. And [Marcos] is already thinking about removing all the analog sensing in favour of using voltage and current sensors with digital outputs for the next revision. He reckons using a FPGA plus flash memory can replace a big chunk of the analog parts from the bill of materials. This would eliminate tolerance, drift and noise issues associated with the analog parts.

[Marcos] is also working on refining a reference design for a power interface board that includes gate drivers, power mosfets, DC link and differential voltage/current sensing. Design files for this interface board are available from his GitHub repo too. According to [Marcos], with better sensors and a beefier power stage, the same control board should work for motors in excess of 500 hp. Check out the video after the break showing the VESC-controller being put through its paces for an initial trial.

Continue reading “Open Source High Power EV Motor Controller”

Hackaday Prize Entry: Smart Electric Bike Controller

One of the more interesting yet underrated technological advances of the last decade or so is big brushless motors and high-capacity batteries. This has brought us everything from quadcopters to good electric cars, usable cordless power tools, and of course electric bicycles. For his Hackaday Prize project, [marcus] is working on a very powerful electric bicycle controller. It can deliver 1000 Watts, it’s got Bluetooth, and there’s even an Android app for some neat diagnostics.

The specs for this eBike controller are pretty much what you would expect. It’s able to deliver a whole Kilowatt, can use 48 V batteries, has regenerative braking, Hall sensors, and has a nifty Android app for settings, displaying speed, voltage and power consumption, diagnostics, and GPS integration.

How is the project progressing? [marcus] has successfully failed a doping test. He lives on the French Riviera, and the Col de la Madonne is a famous road cycling road and favorite test drive of [Lance Armstrong]. The trip from Nice to Italy was beautiful and ended up being a great test of the eBike controller.

This Electric Longboard Collapses For Air Travel

How do you manage to get an electric off-road longboard past TSA and onto an international flight? Simple — make it a collapsible longboard that fits into a carry-on bag.

The mechanical and electrical feats accomplished by [transistor-man] may not be the most impressive parts of this hack. We’re pretty impressed by the build, starting as it did with the big knobby tires and front truck from an unused mountain board and the hub motor from a hoverboard, turning this into a trike. The incredible shrinking chassis comes courtesy of a couple of stout drawer slides and cam locks to keep it locked in place; collapsed, the board fits in a carry on bag. Expanded, it runs like a dream, as the video below shows.

But we think the really interesting part of this hack is the social engineering [transistor-man] did to ensure that the authorities wouldn’t ground his creation for electrical reasons. It seems current rules limit how big a battery can be and how many of them can be brought on a flight, so there was a lot of battery finagling before his creation could fly.

Electric longboards look like a real kick, whether they be all-aluminum or all-plastic, or even all-LEGO. This one, which went from concept to complete a week and a half before the flight, really raises the bar.

Continue reading “This Electric Longboard Collapses For Air Travel”

Re-Engineering The Ford Model A Engine

Over the nearly a quarter century since the Web has been in existence, there have been various websites and projects in the field covered by Hackaday that have done the rounds and captured our attention for a while. Some have turned into major projects and products, others have collapsed spectacularly, while many have faded away and been forgotten.

It was one of those “I wonder what happened to… ” moments that prompted a search for just such a project that did the rounds a little at the start of this decade. Re-Engineering the Model A Engine is [Terry Burtz]’s project to take the Ford Model A engine from the 1920s and re-engineer it with the benefit of some upgrades to increase its longevity and reliability. The new engine would look identical to the original unit, but would feature modern metallurgy, a re-engineered crankshaft with up-to-date bearings, a pressurised lubrication system, and some cooling system modifications.

The web site has a fascinating technical description and history of the Model A engine, along with a detailed examination of the proposed upgrades. There is a long list of project updates, but sadly work stalled in 2015 due to difficulties finding an iron foundry that could cast the blocks at an affordable price. It’s a shame to see a promising project get so far and fall at this late hurdle, is it too much to hope that among the Hackaday readership there might be people in the foundry business who could advise? It’s quite likely that there would be a queue of Model A owners who would be extremely grateful.

If you think you’ve seen some veteran Ford action here before, you’d be right, but only to a point. Meanwhile where this is being written a similar project for a 1950s Standard Triumph engine would be most welcome.

Make Cars Safer By Making Them Softer

Would making autonomous vehicles softer make them safer?

Alphabet’s self-driving car offshoot, Waymo, feels that may be the case as they were recently granted a patent for vehicles that soften on impact. Sensors would identify an impending collision and adjust ‘tension members’ on the vehicle’s exterior to cushion the blow. These ‘members’ would be corrugated sections or moving panels that absorb the impact alongside the crumpling effect of the vehicle, making adjustments based on the type of obstacle the vehicle is about to strike.

Continue reading “Make Cars Safer By Making Them Softer”

Ultrasonic Array Gets Range Data Fast And Cheap

How’s your parallel parking? It’s a scenario that many drivers dread to the point of avoidance. But this 360° ultrasonic sensor will put even the most skilled driver to shame, at least those who pilot tiny remote-controlled cars.

Watch the video below a few times and you’ll see that within the limits of the test system, [Dimitris Platis]’ “SonicDisc” sensor does a pretty good job of nailing the parallel parking problem, a driving skill so rare that car companies have spent millions developing vehicles that do it for you. The essential task is good spatial relations, and that’s where SonicDisc comes in. A circular array of eight HC-SR04 ultrasonic sensors hitched to an ATmega328P, the SonicDisc takes advantage of interrupts to make reading the eight sensors as fast as possible. The array can take a complete set of readings every 10 milliseconds, which is fast enough to allow for averaging successive readings to filter out some of the noise that gets returned. Talking to the car’s microcontroller over I2C, the sensor provides a wealth of ranging data that lets the car quickly complete a parallel parking maneuver. And as a bonus, SonicDisc is both open source and cheap to build — about $10 a copy.

Rather use light to get your range data? There are some pretty cheap LIDAR units on the market these days.

Continue reading “Ultrasonic Array Gets Range Data Fast And Cheap”

ESP8266 Adds Slick Touchscreen Controls To A Stretch Limo

The popularity of the ESP8266 WiFi module has a lot to do with its ability to inexpensively connect to the Internet. However, [hwhardsoft]’s stretch limousine environmental control system explores another use for these modules: a simple way to tie together disparate systems with a common user interface.

On a basic level, the problem is one we’ve all faced: multiple devices with multiple control interfaces create an awkward user experience. Have you ever worked in an office with 6 brands of air conditioner requiring 6 different remotes? Because of its low-cost, support for Wi-Fi, serial, and GPIO, ESP8266 boards are a reasonable candidate to create a unified control system for multiple devices. This is even more true for the ESP32, as it adds Bluetooth support.

[hwhardsoft]’s use case is fairly straightforward. The limousine (a Lincoln stretch) has multiple LED lighting controllers, climate control, and a laser projector. This was not exactly a smooth user experience, so [hwhardsoft] tied all the controls to two slick touchscreen interfaces (presumably one for the driver and one for the passengers).

Each touchscreen sends commands over Wi-Fi using UDP to a control board that switches relays to control the different devices, as we’ve seen previously.

While relays are arguably not the ideal solution here, these control boards already existed and were functional, so it would have been wasteful to throw them out. An easy improvement suitable for future projects would be to use NPN transistors to simulate button presses on the remote controls. This works quite well and lowers cost, power, and parts count, while being faster, more reliable, and quiet.

If you wanted to build something similar in your home or office, but want to use an Android smartphone instead of a touchscreen, the Kivy Python module allows you to do just that. It’s quite easy to set up a simple interface with buttons, dropdown lists, and text inputs that send data to an ESP8266 over UDP.