A Simple And Educational Brushless Motor

Sometimes there is no substitute for a real working model to tinker with when it comes to understanding how something works. Take a brushless motor for example. You may know how they work in principle, but what factors affect their operation and how do those factors interact? Inspired by some recent Hackaday posts on brushless motors, [Matt Venn] has built a simple breadboard motor designed for the curious to investigate these devices.

The rotor and motor bodies are laser-cut ply, and the rotor is designed to support multiple magnet configurations. There is only one solenoid, the position of which relative to the magnets on the rotor can be adjusted. The whole assembly is mounted on the edge of a breadboard, and can be rotated relative to the breadboard to vary the phase angle at which the drive circuit’s Hall-effect sensor is activated by the magnet. The drive circuit in turn can have its gain and time constants adjusted to study their effects on the motor’s running.

[Matt] has made all the design files available in his GitHub repository, and has recorded a comprehensive description of the motor’s operation in the YouTube video below the break. Continue reading “A Simple And Educational Brushless Motor”

An Open Source Two Stroke Diesel

With a welder and a bunch of scrap, you can build just about anything that moves. Want a dune buggy? That’s just some tube and a pipe bender. Need a water pump? You might need a grinder. A small tractor? Just find some big knobby tires in a junkyard. Of course, the one thing left out of all these builds is a small motor, preferably one that can run on everything from kerosene to used cooking oil. This is the problem [Shane] is tackling for his entry to the 2016 Hackaday Prize. It’s an Open Source Two-Stroke Diesel Engine that’s easy for anyone to build and has minimal moving parts.

[Shane]’s engine is based on the Junkers Jumo 205 motor, a highly successful aircraft engine first produced in the early 1930s and continued production through World War II. This is a weird engine, with two opposed pistons in one cylinder that come very close to slamming together. It’s a great design for aircraft engines due to it’s lightweight construction. And the simplicity of the system lends itself easily to wartime field maintenance.

The Jumo 205 was a monstrous 12-piston, 6-cylinder engine, but for [Shane]’s first attempt, he’s scaling the design down to a 50cc motor with the intent of scaling the design up to 125cc and 250cc. So far, [Shane] has about 30 hours of simple CAD work behind him and a ton of high-level FEA work ahead of him. Then [Shane] will actually need to build a prototype.

This is actually [Shane]’s second entry to the Hackaday Prize with this idea. Last year, he threw his hat into the ring with the same idea, but building a working diesel power plant is a lot of work. Too much for one man-year, certainly, so we can’t wait to see the progress [Shane] makes this year.

The HackadayPrize2016 is Sponsored by:

Automating RC Motor Efficiency Testing

Small brushless motors and LiPo batteries are one of the most impressive bits of technology popularized in recent years. Just a few years ago, RC aircraft were powered by either anemic brushed motors or gas. Quadcopters were rare. Now, with brushless motors, flying has never been easier, building electric longboards is simple, and electric bicycles are common.

Of course, if you’re going to make anything fly with a brushless motor, you’ll probably want to know the efficiency of your motor and prop setup. That’s the idea behind [Michal]’s Automated RC Motor Efficiency Tester, his entry to the 2016 Hackaday Prize.

[Michal]’s project is not a dynamometer, the device you should use if you’re measuring the torque or power of a motor. That’s not really what you want if you’re testing brushless motors and prop configurations, anyway; similarly sized props can have very different thrust profiles. Instead of building a dyno for a brushless motor, [Michal] is simply testing the thrust of a motor and prop combination.

The device is very similar to a device sold at Hobby King, and includes a motor mount, microcontroller and display, and a force sensor to graph the thrust generated by a motor and prop. Data can be saved to an SD card, and the device can be connected to a computer for automatic generation of pretty graphs.

Brushless motors are finding a lot of uses in everything from RC planes and quadcopters, to robotics and personal transportation devices. You usually don’t get much of a data sheet with these motors, so any device that can test these motors will be very useful.

The HackadayPrize2016 is Sponsored by:

Home-Made Solenoid Motor

Want to really understand how something works? Make one yourself. That’s the approach that Reddit user [Oskarbjo] took with this neat electric motor build. He made the whole thing from scratch, using an Arduino, 3D printing, and ample quantities of wire to create a solenoid motor. This transforms the linear force of a solenoid, where a magnet is moved by a magnetic field, into rotary force. It’s rather like an internal combustion engine, but driven by electricity instead of explosions. Hopefully.

[Oskarbjo]’s engine seems to work, including a rather neat mechanism to detect the rotation of the shaft and relay that back to the controller. He hasn’t posted much detail in the build process, unfortunately, but did say that “If you’d want to build something similar I can probably help you out a bit, but half the fun is coming up with your own solutions.” Amen to that. We’ve seen a few neat solenoid motor builds, but this one wins points for starting from scratch. There is an Instagram video of the motor running after the break.

Continue reading “Home-Made Solenoid Motor”

Brushed DC Servo Drive

Brushless DC motors, and their associated drive electronics, tend to be expensive and complicated. [Ottoragam] was looking for a cheaper alternative and built this Brushed DC motor servo controller and the results look pretty promising. Check out the video after the break.

He needed a low cost, closed loop drive for his home-brew CNC. The servo drive is able to supply a brushed DC motor with up to 7 A continuous current at up to 36 V which works out to about 250 W or 1/3 HP. It does closed loop control with feedback from a quadrature encoder. The drive accepts simple STEP and DIRECTION signals making it easy to interface with micro controllers and use it as a replacement for stepper motors in positioning applications. All of the control is handled by an ATmega328P. It takes the input signals and encoder data, does PID control, and drives the motor via the DRV8701 full bridge MOSFET driver. There’s also some error detection for motor over-current and driver under-voltage. Four IRFH7545 MOSFETs in H-bridge configuration form the output power stage.

This is still work in progress, and [Ottoragam] has a few features pending in his wish list. The important ones include adding a serial interface to make it easy to adjust the PID parameters and creating a GUI to make the adjustment easier. The project is Open Source and all source files available at his Github repository. The board is mostly surface mount, but the passives are all 0805, so it ought to be easy to assemble. The QFN footprint for the micro controller could be the only tricky one. [Ottoragam] would love to have some beta testers for his boards, and maybe some helpful comments to improve his design.

Continue reading “Brushed DC Servo Drive”

Adding Position Control To An Open Source Brushless Motor Driver

Brushless motors are everywhere now. From RC planes to CNC machines, if you need a lot of power to spin something really fast, you’re probably going to use a brushless motor. A brushless motor requires a motor controller, and for most of us, this means cheap Electronic Speed Controllers (ESC) from a warehouse in China. [Ben] had a better idea: build his own ESC. He’s been working on this project for a while, and he’s polishing the design to implement a very cool feature – position control.

We’ve seen [Ben]’s work on his custom, homebrew ESC before. It is, by any measure, a work of art. It’s capable of driving brushless and brushed motors with a powerful STM32F4 microcontroller running ChibiOS that’s able to communicate with other microcontrollers through I2C, UART, and CAN bus. If you want to build anything with a motor – from a CNC machine to an RC helicopter to an electric long board – this is the motor controller for you.

[Ben]’s latest update considers position encoders. Knowing how fast a motor is turning is very important to knowing how fast a wheel is turning, how much torque the motor is generating, and an awesome step in building the finest motor controller ever made.

Like the last update, [Ben] demonstrates the great control program written for this ESC. This GUI programs the microcontroller on the controller, with protection from high and low voltages and currents, high RPMs, duty cycle changes, and support for regenerative braking.

Thanks [Dudelbert] for sending this one in.

Continue reading “Adding Position Control To An Open Source Brushless Motor Driver”

There Is No Spoon; Automatic Self Stirring Mug

Sometimes it’s helpful to realize the truth that there is no spoon. At least, not with [Ronaldo]’s automatic self-stirring mug. At first it was just a small propeller in the bottom of the mug that turned on by pushing a button in the handle, but this wasn’t as feature-rich as [Ronaldo] hoped it could be, so he decided to see just how deep the automatic beverage-mixing rabbit hole goes.

The first thing to do was to get a microcontroller installed to handle the operation of the motor. The ATtiny13a was perfect for the job since it’s only using one output pin to control the motor, and can be configured to only draw 0.5 microamps in power-saving mode. This ensures a long life for the two AAA batteries that power the microcontroller and the motor.

As far as operation goes, the motor operates in different modes depending on how many times the button in the handle is pushed. It can be on continuously or it can operate at pre-determined intervals for a certain amount of time, making sure to keep the beverage thoroughly mixed for as long as the power lasts. Be sure to check out the video below for a detailed explanation of all of the operating modes. We could certainly see some other possible uses for more interesting beverages as well.

Continue reading “There Is No Spoon; Automatic Self Stirring Mug”