- NIXIE STYLE LED DISPLAYPosted 4 days ago
- TOTEM: learning by experimentingPosted 1 week ago
- Google Assistant Voice Controlled Switch – NodeMCU IOT ProjePosted 1 month ago
- Water Softener Salt Level MonitorPosted 1 month ago
- Sparkly Air SensorPosted 1 month ago
- Ultra sonic distance finder with live statusPosted 1 month ago
- Windows interface to have total control over lampsPosted 1 month ago
- Smart AquariumPosted 1 month ago
- Wearable ProjectionPosted 1 month ago
- Write programs with the Arduino Web EditorPosted 1 month ago
Welcome OpenWheels the Open Source personal vehicle inspired by the Segway
(This is the second post of the OpenWheels series. See all the posts by clicking here)
As you may know, the invention of the SegWay is due to Mr. Dean Kamen who, noting the difficulties faced by a man in a wheelchair in just climbing a sidewalk, spotted the possibility of a vehicle that could help people to move around without too much effort. Kamen put into practice his idea of creating a means of mobility, that is self-balanced. The first model, called iBot Mobility System ™, was introduced in 2001 and it was a means of transportation that you drove through simple movements of the driver: to curve, you just had to act on a simple knob on the handlebar.
This first model was designed for people with impaired mobility and allowed them to move independently even on rough terrain. A following one aimed at people with full mobility, to expand and speed up the movement and the ability to carry small loads without stress, was created right after. This new model became known as the “Segway PT”, and the system was the first to steer by tilting to the left or right.
In 2004 the finally reliable model started to be marketed in the Europe and Asia. In 2009 the ‘British businessman Jimi Heselden Kamen took over the company with the purpose of reviving the image of the Segway and increase sales. Oddily enough, however, Helselden died in 2011 in an accident while hiking with his own Segway. The sale price of Segway PTi2 is mow about 7000 € for the x2: it’s a pretty high price, but fully justified by means of the intrinsic peculiar technological content.
Lately, especially Chinese and Japanese companies, created several similar products, often variations that follow the very philosophy of the Segway, or in other cases with very innovative constructive philosophies. Some have gone even further, creating similar means of transport made of only one wheel.
What’s in a Segway?
It is basically a structure composed of a platform and two wheels placed transversely driven by two electric motors. The system itself is stabilized by sophisticated electronic circuitry which controls the motors, taking into account not only the movements of the driver, but also the state of the vehicle, allowing it to remain always in a vertical position. The driver standing on the platform controls the running speed simply by moving the steer knob forward or backward, while the inclination to the right or left, allows turns. The mechanism that allows the Segway not to fall down is at same time brilliant and intuitive: engines give power in case you lean forward and less if you lean backwards. Obviously the control board are powered by appropriate motion sensors (similar to those that allow smartphones to change the orientation of the display) to alert the on-board microprocessor constantly on the exact orientation of the vehicle. The real secret of the Segway is not so much in the electro-mechanical part, but in the code that takes into account the physics implemented with a significant mathematical complexity.
To obtain these relevant features the Segway has two electric motors of the brushless type, made with neodymium-iron-boron materials, able to develop a power output of 1.88 kW, thanks to a battery pack with lithium polymer battery technology.
The whole project takes account of the redundancy needed for ensuring safety in the event of failure, by doubling many components: emergency procedures allow in any case the stop and the descent from the same, safely. It ‘s definitely an innovative and highly technological vehicle that justifies the cost, and must be conducted with utmost care and attention, especially when riding in public areas.
And what about Openwheels?
Put simply Openwheels, is an opensource, DIY, self-buildable vehicle, inspired by the SegWay: note that is not allowed to circulate in public areas since lacking of the certification required
Please note, in addition, that driving such a vehicle must be always done with the utmost care and in total safety for those who lead and those who are nearby, it is therefore suggested, to adopt appropriate systems for head protection (helmet) and parts of the body more susceptible to falls (wrist guards and knee pads).
But now let’s come to the details of our amazing project, which takes its name OpenWheels, for the fact that they are made public, both the wiring diagrams that the firmware, licensed under Creative Commons BY-SA namely: Attribution – Share Alike.
Openwheels that can be modified in both hardware and software, optimized and in turn made public as long as new creations retain the same type of license. We will also publish a post that will launch a platform for collaboration on OpenWheels very soon.
To cut the costs of this project this will not (and cannot) be a replica of the Segway but just a project that was put together from scratch to put into practice the concept that underlies the Segway operation principles: let’s say it’s a case study
To createa vehicle with the functions of a Segway essentially requires at least:
- two gear motors with wheels
- a battery
- an electronic circuit
- a platform
- a handlebar.
…the first goal is to find all the electrical and mechanical components necessary to do so, in particular, the two electric motors of adequate power but not too expensive!
Initially you have to choose the engine-gear-wheels block and on the basis of this choice the rest of the mechanical and electrical parts will be designed. To simplify the implementation and reduce the cost the engine we choose is of the type with brushes with permanent magnet: it’s typically used in electric scooters and it’s built in China. The engine power has been chosen taking into account the final performance achievable with an eye to the autonomy and the maintenance cost, a value of 250W for both engines delivering up around the 15km/h, with a relatively low current consumption. No motor, however, is able to directly turn the wheels of our Openwheels, this is because, the high number of revolutions of these motors does not allow to get the right traction. Similarly to what happens when you operate the gear of your bike: by increasing the gear ratio, you get a better traction, you lose some speed but you keep the force applied to the pedals depending entirely on your legs, constant.
Let’s start with the motor information:
- Voltage 24V
- Power 250W
- Speed without load 3350 rpm
- Speed with load 2750 rpm
- Current consumption when loaded <13A
- Efficiency > 78%
For the wheels, we choose a version with wide tire and alloy rim with a diameter of 47cm. Leaving out the use of expensive gearboxes with gears, the rpm reduction has been realized through the use of a chain and two pairs of geared wheels, one on the motor and one on the a wheel: this method is used both on bikes and scooters. This system is extensively tested and thus will reduce costs, but the big advantage is the possibility to install the footboard in a strategic location.
During the development of the mechanical part, curated by Gabriele Draghetta, the platform was positioned below the pivot of the motors. Batteries, the weight of which is quite high, were also positioned below the footboard in a perfectly symmetrical manner with respect the latter, this assures that, with no driver on board, when turned on or off, Openwheels remains perfectly upright. In addition, this intrinsic mechanical stability, will help us in the electronic stabilization, which is necessary when the driver is present. The presence of a person on board inevitably raises the center of gravity above the axle of the wheels thus making Openwheels unstable: this will be solved by the on board electronics.
Actual cruise speed will be about 70% of the maximum: it is indeed necessary to ensure a little margin to use the remaining power to change direction, maintain the balance or if necessary, provide extra power to the wheels.
Power is supplied by two sealed lead-gell batteries, 12V 20Ah each, manufactured by CSB and placed in series to provide the required 24V engines. It is specific for heavy duty batteries in electric vehicles, capable of deep discharge, contrary to what happens in the normal lead-acid batteries that work in buffer applications. These two batteries are capable of delivering peak current of 130A for 5 seconds and have an internal resistance of only 14mΩ but their best feature consists in allowing deep discharge without damage; as reported on datasheets, with a discharge current between 10 and 20A, the voltage of each cell may slide down to 1.6 volts or 19.2 volts in total.
A significant part of the mechanical work needed is due to the realization of the handlebar, which is not rigidly attached to the platform, but allows a transverse rotation movement to approximately ± 30 °. The shaft of a potentiometer is splined on the pivot pin placed near the footboard and measures the inclination of the handlebar. It will be, in fact, the amplitude of the inclination of the handlebar to impart the steering command to the vehicle by varying the rotation speed of the two wheels (as in tanks..woo!): the speed of the inner wheel will be reduced while the rotation speed of the outer wheel will increase.
Assembly is done exclusively by using screws and nuts. Particular attention must be paid to the proper tension to the chain, you can do this by changing the position of the engines, taking advantage of the dedicated slotting the mounting points. The handlebar clamp is entrusted to a single screw, in order also to permit easy disassembly, for easier transportation.
Fastening of the batteries takes place via the U-shaped retainers to which a small rubber must be applied to ensure right pressure. We recommend adding the double-sided tape between the battery and the platform so that there is no slippage. The control board must be inserted between the two batteries and fixed with special spacers to the upright of the wheels.
In four more upcoming posts, we will present you the complete assembly procedures, the electronics and firmware needed ad we will also talk about telemetry. Stay super tuned and in a few weeks you’ll be able to build your own Open Wheels! Get in touch if you’re really interested to build one ;)
(Open-Electronics is not responsible for any damage caused to persons or property arising from the use of Openwheels. Drive it at your own risk!)