Active Robots

Cosplay

Completed/Retired Projects

Other Useful Things

Sunday, May 19, 2013

Gigarazor: The Practical Scooter (Backblogging)

About 5-6 weeks ago, I bought one of these from a fellow Georgia Tech Student.

What is it? That is a fully functional Razor E300 electric scooter. I bought it with the intention of making it even MORE functional.



I was looking at Cambridge and Boston now. A larger campus with more bumps of sorts from historical sidewalks and roads. I was planning some seriously legit mods to Razor Reloaded (another scooter you dont know about) but opted for the premade sturdy steel frame foreseeing a busy time ahead of me for the final few weeks of the semester.

So what was the plan?

  • new motor
  • new batteries
  • proportional control
  • big switch
  • power consumption feedback
  • new controller
  • LEDs everywhere


I had bought a Turnigy Aerodrive SK3 6374-149 awhile back and decided it would be my motor choice.

After removing the old components, a motor mount was fashioned quickly from some 3/8" 7075 plate on the waterjet.




I had initially picked the Jasontroller as my brushless controller because my other graduating friend was selling his old equipment. Here is a unmodified no-load test from a bench top power supply.



The battery was comprised from generous donations from A123. This 8s3p pack shown below was bridged using copper mesh instead of copper braiding. I figured the equivalent copper cross section couldnt be any worse than the 12ga wire exiting the pack.



Completed and bundled. Yes, that is a DE9 female connector being used as a balance plug. It works wonderfully.



By this time I started riding it about campus. It did not have a main switch (on order from RMP) nor did it have a top plate. Regardless, it was hella fun.



Then came the top plate. Attempting to bend polycarbonate with a 40W heatgun...



...failing to bend polycarbonate with a heatgun.

Friday, May 10, 2013

Thrifty Roboting: The Vex Motor Controller 29

The Vex Robotics Motor Controller 29 is quickly becoming the go-to esc for insect weight class robots. It offers a small form-factor single channel esc at a low cost of $10. Very minimal; no LEDs, current protection, or temperature protection.

Vexbox!

The website advertises 8.4V, 4A max. Roboteers know from experience that these little controllers can be pushed much higher. Some report running as high as 14.8V on some rather beefy 370 sized motors. this type of performance does not go without some minor electrical work.

The ambiguity arises in the minor modifications. Those who have never hacked about with analog servo boards may be unfamiliar with these methods. This post will provide a step-by step on how to hack your Vextrollers apart and will also conclude with a component level analysis and bench test to decipher their true capabilities.

Modifications:
Step 1: Deshelling the Casing
The enclosure is two halves of injection molded plastic with some drops of CA applied in the seams. To get the crab meat out, it is as simple as cracking the rather brittle superglue.

Stock OEM Vextroller

Apply a sharp knife to the corner and press in until the blade sits within the groove.

Applying Knife Edge to Vextroller Casing

Wiggle the knife until the casing begins to pry apart. Repeat this process for all four corners until the shell magically pops off.



Step 2: Modifying the Power Leads
The blackbox IO model of the Vextroller looks like this:



To get higher voltage input to the esc, we need to do some splicing. This is what we want in the end:



Cut the PWM male connector off, and separate the white, black, and red wires from each other.

PWM wires separated. Fourth Wire Created from the Leftovers


Then solder another black wire to GND (where there is already a black wire).

Black Wire Added to the Underside of the Board


You should now have 4 wires coming off of three pins. The white (signal) and one black (GND) wire will go to your receiver. The red (V_in) and other black (GND) will go towards your power source.

Done!


Step 3: Add Connectors and Protective Coatings
The last step is to add the appropriate connectors that mate to your devices. It is common to have the female PWM cables for the signal since most hobby receivers use male .1" spaced headers. I typically replace the motor connector with 2mm bullets or simply solder onto the motor ends. The entire esc can be covered in a tube of 3/4" OD heat shrink or potted with a rubberized glue. Completely up to you!

Here is a pair of Vextrollers installed in my Antweight, DDT. I used CA to bind two boards side-by-side and then used breadboard jumpers to connect the V_in and GND together. Because GND is also shared between inputs on the Rx, I only have three wires going to my receiver (expected four) and two wires headed to my power switch. The pair was afterwards wrapped in electrical tape and the leads will be potted in GOOP later.



Congratulations! You now have a simply-elegant insect-class esc. I have created a IGES solid model for the caseless Vextroller for those who wish to integrate it into their CAD. It can be downloaded below:

Download Link for Vextroller 29

NOTE: Since you will likely be using this controller with other components that supply power to your receiver (BEC) it is not necessary to add the fourth wire for the Rx GND. Instead, use the original three wires where V_in and GND are used for mains power and signal is the only wire going to the Rx. The device supplying BEC will provide GND connection. This technique will reduce ground loops, which are a major source of noise. In other words:



Parts Breakdown:
Here I have pictures of the top and bottom layout of the board. It can be seen there are some SMT resistors, a tantalum capacitor and some other devices. The main distinguishable components are listed below with datasheet if available.

Top of the Vex Robotics Motor Controller 29

Bottom of the Vex Robotics Motor Controller 29



  • Microcontroller:          PIC12F615
  • Gate Drivers:              301(?)
  • Half-Bridges:              FDS4935BZ (Fairchild), IRF8313PbF (International Rectifier)
  • Voltage Regulator:      2x(?)

Aaronbot3000 reports the voltage regulator is linear and outputs 4.5V

Based on these components, the Vextroller should be able to handle 30V and 6.9A continuous. these values are subject to change as more is learned about the gate driver capability and voltage regulator capability.

Performance:
Vextrollers will be tested for their maximum voltage ratings as well as their maximum current ratings through a no-load incremental voltage test and a constant voltage incremental load test. From these experiments we expect to detonate two Vextrollers but hope to determine a maximum wattage rating for robot use.

Known Motor-Voltage-Weight Class Pairings:
Pololu 50:1 - 11.1V - Antweight
Fingertech Silver Spark (11's, 22's, etc...) - 14.8V - Antweight
Fingertech Silver Spark (22's and 33's) - 14.8V - Beetleweight
Kitbots 1000 RPM Motor - 14.8V - Beetleweight

If you use the Vextroller and would like to share your setup, please let me know so I can add yours to the list of successful pairings! Thanks!

Wednesday, May 8, 2013

Beyond Unboxing: Chinese E-bike Controller (chatparts.ltd)

This post is a preliminary to a much more comprehensive post detailing controller capability that will be made when I am nearby more legit diagnostic equipment. For now, this post will contain my conclusions from observation, use, and light modification.

The "Beyond Unboxing" series is inspired by Charles Guan's posts concerning these same type of escs.

The Thing:
I have purchased a marketed 24V, 250W brushless controller for e-bikes hopefully as a replacement for Jasontrollers. What caught my eye was the cheaper shipping, faster delivery time, and the seller whose English was grammatically correct. It arrived just yesterday and after some observations, I am very excited about this controller.


The seller even included pre-stripped connectors!


Its casing was a interesting trapezoidal feature. Still a single tube of extruded aluminum, still two silicon pads on either end captured by two stainless steel brackets. I even think they used the same screws...

The chatparts esc also has fewer wires. The seller includes a diagram of the connectors (without labeling the individual wires) but there are unfortunately more than 9 connectors on this controller.


In short, it is incomplete. However the function can be deciphers from the connector ends since these are meant to be direct drop-ins for existing EV systems.

The Comparison:
Now lets have a closer look at a jason and chatpart side by side.


Its smaller... Less thick by about 1/8"


Board looks less janky. The chatparts ESC (bottom) has only SMT components whereas the jason (top) does not. I was also intrigued by the 7 labeled vias at the top left of the esc (in this picture, in this orientation). Those look like programming pins. It may be possible to reverse engineer the software and find out REALLY how this guy works.


Again, fewer wires.


Ah the processor! Everything in here is ST Mirco stuff.

MOSFETs:   STP75NF75
Processor:     STM8S903K3

Performance:
My test rig is just my latest GigaRazor scooter (that none of you know about yet) with a watt meter inline with the power source. Note that this is a sensorless configuration. I will not be able to conclude as to what functions it has but I can at least detail its behaviors.

Unmodified Test runs:

  • No-load behavior: Ramps up until near max throttle where controller experiences cutoff. Not choppy intermittent behavior, simply cuts-off. Repeatable behavior. However does not affect throttle behavior for subsequent runs. Lets consider this feature Controller Protection.
  • Load behavior: ~20 Amps current limit stock. Does not experience high speed cutoff under load (perhaps I am not traveling quick enough to reach no-load speeds). ESC is cool to the touch.


The controller was then modified using the solder-blob shunt method.

Modified Test Runs:

  • No-load behavior: Experiences intermittent cutoff at higher speeds. It is choppy, unlike the unmodified behavior before.
  • Load behavior: increased acceleration as expected. Choppy behavior as described in no-load experienced in load behavior. Watt meter reads ~50 Amps peak. Case is hot.


The controller shunt was then lowered to 40A and then 35A afterwards. The choppy behavior still persisted. I took this opportunity to measure to case surface temperature and discovered it was in excess of 120 degrees F AFTER a run at higher current.

My scooter uses an 8s3p A123 LiFePO4 pack and a Turnigy Areodrive SK3 6374-149 motor. This means at nominal voltage I should be rotating ~3933 RPMs. However at charged voltage I would be ~4172 RPMs. For comparable controllers in this application, it exceeds the infamous RPM limit determined by Charles and Shane years ago. To validate the RPM limit cutoff, I will test no-load conditions again using a 24V nominal battery or PSU.

Conclusions:
I will withhold my final judgement until I can more easily explain its behaviors and features. For now I can summarize the main takeaways:


  • Runs sensorless (sensored TBD although it has wires for it)
  • Possibly has high eRPM controller protection
  • Possibly has a second method of current limiting
  • Possibly has over temperature cutoff control
  • Smaller and cheaper than Jasontroller
  • No self-learn


More to come.

Tuesday, May 7, 2013

The Long Awaited

I fully realize that I have not posted anything new (despite there being absolutely awesome things happening!) since Fall 2012. That is because I was busy. However, I did that thing called graduating and now have oodles of time to back-blog all the good stuff.

Everyone awaits they day they graduate. I've been hearing it from my peers for the past 4 months, accompanied by tears of joy, tears of sadness, and senioritis. The part of graduating I was anticipating the most was actually commencement ceremony. Not because of the symbolism when walking across the stage, or moving the tassel, but because there were large groups of people present. Time to do something awesome in my last hurrah: Decorate my graduation cap.

The original plan was to illuminate a piece of acrylic from the side using RGB LED strips. An arduino nano or equivalent uProcessor would control the transitions between the colors. All of this would be powered by one of my numerous 3s lithium polymer batteries. However, I was lazy with the parts ordering. So here is the final instructable on how to make this guy.

Parts:



Step 1: Design the acrylic cutout
I designed it using SolidWorks. Began with the diamond shape and then extruded-cut the letters. The logo was generated from importing an image and projecting it onto the background. Using the Spline tools I could trace the more complex geometry.


The material selected was acyrlic. This was because it had excellent optical properties and could be laser cut using the machines at the Georgia Tech Invention Studio


Step 2: Cut chamfers into the polycarbonate at the bend points
The most important thing to remember about this is to have enough allowance in the bend. I'm not going to discuss k-factors here, but cut away some extra material to allow the corners to meet without stressing the sides of the U. Do not just remove material along the theoretical permissible lines.



Step 3: Apply LED strip to the inside of the U-channel
The LED strip I linked too earlier has an adhesive back. This made it much easier to stick to the inside of the channel. Also, I believe the width of this strip is 6mm. Should interface perfectly with the mcmaster part number I also linked earlier.



Step 4: Bind the ends of the U-channel to encapsulate the acrylic cutout


Step 5: Attach to grad cap (hobbyking brand superglue!)
The acyrlic plate actually levitates within the constraints of the polycarb U-channel. If I wanted to reuse these materials, I could unfurl the polycarb channel and simply take everything out...



Step 6: Solder wires and connectors
I recommend adding connectors on both ends of the power switch. One plug will be for your battery, the other allows you to take the cap off without having to extract all your electronic guts. I may update this step to include my wiring harness.



Step 7: Graduate!

The cap was well received by everyone (except the fire marshall). As a result, I received lots of air time that afternoon.

From the GT camera crew there:




... and  the Atlanta Journal Constitution.

What a way to cap off the end of a four year adventure. Thank you friends for all the wonderful experiences. I dedicate this work to remember all of you.

Some Responses from non-GT folk:


":OOOOOOOOOOOOOOOO
i want to sex you in the most non gay fashino possible
so one of us has to be in cosplay"



lol...

The next step for me is the legendary MIT!