BFTGU Logo

>  Home

> BEAM background

>  Getting started

V Tutorials

 V The "Miller" walker tutorial

  > Nv nets

  > The basic circuit

  > Applications

  > Leg mechanics

  > Core / leg interface

  > Convergence

 > Mechanics tutorials

 > Schmitt triggers, logic, and feedback

 > "Hacking" a Mac floppy eject motor

 > Reversing a motor without sensors

 > Build an RJP

 

BEAM From the Ground Up is a BEAM Reference Library site.

Core-leg interface
The brain-bone connects to the leg-bone...



This section covers connecting the Nv net to the motors. What follows is a low current solution. High current motors and drives present a whole new set of problems that you don't want to deal with right now. Besides, the microcore does its best when driving through a low gain system.

1: Rethinking the Nv net

By now you should have familiarized yourself with the basic 6 Nv microcore circuit. But a little math and you'll notice that with two motors and two directions each, 4 Nv's would seem appropriate. For basic walking function only 4 of the 6 available Nv's are needed in a two motor walker (although 6 makes for a whole new set of behaviors), so rebuild the basic circuit so you get this....
bug
Have no fear the other two Nv's will be useful later...

2: The ALS24574ALS245

The 74ALS245 is an Octal bus transceiver designed for data transmission. Well, we're going to use it to drive motors. If you've chosen you motor / gear combination properly then this won't be a problem. If you dig up a TTL data book you'll see that the 245 has 8 bidirectional non-inverting amplifiers each capable of driving 50 mA, a direction pin (Dir) for selecting which way through the chip and an enable pin (E).

If you tie the Dir pin to Vcc and the E pin to ground, you can essentially think of the chip as 8 active drivers going from left to right like this graphic....

  • A data book will show you more but for the purposes of driving your legs this'll do......

    Note that the ALS version has been found to be the best for current, feedback, etc. CMOS (HCT, HC, C) will work but they loose a little in the feedback. They do consume less parasitic power so for solar apps they are the better choice.....

    If you are building a battery walker use ALS wherever you can (contrary to what some people will tell you you can still get them.... try DIGI-KEY).

    [Editor's note: the 74ALS245 will only work well with a supply voltage of between 4.5 and 6.0 V -- unless your source is within this range, you'd be well advised to use a 74HC245 instead]

3: Ganging up for Current

If you've tested your motors you probably find that they need a little more than 50 mA to do anything useful [although this depends on your motors -- see here, Ed.]. And with a little math you'll see that there are 2 drivers available for each Nv, so gang them together like so....

couple of Schmitt inverters

The result is four drives capable of 100 ma each. Good but not great....

So if you need more, double your output by stacking a few chips...

stacked

4: The connection

So now you have a 4 Nv loop set up and a 4 channel driver set up. The next step is to glue em together and add the motors. Kinda' like so...

quadcore and drivers

5: Power Up

Power on the whole thing, stabilize the loop (one process), and you should get this:

motor motion animation

If things aren't right change the motor polarity on one of the motors and it should work.

6: Tuning for a walking gate

A.K.A., Convergence


Sitemap  Image  Search  Image  Legalities  Image 
Page author: Andrew Miller
This page was last updated on

Creative Commons License
This work is licensed under a
Creative Commons License.