Building A Better Mousetrap - Taipan2014
Ok, thought I might do something different. Instead of posting about a tank build I thought how about posting about an electronics build? Then why not make it a build of a complete tank control unit? Probably boring to most but at least it will be different. So here goes.
First up if you are wanting to DIY control unit your going to need PCB design program, lots of time to research stuff on the internet and knowledge of how to program micrcontrollers. NONE of which I had 3 yeas ago. Except the internet time
. I'm going to run through making up a Taipan2014 board and compare and contrast the design elements with other existing units.
Voltage Supply
The first thing any control unit is going to need is a power supply. Typically control units use at least 2 voltage supplies but more likely 3. These supplies are Battery voltage, 5V and sometimes 3.3V. The battery voltage is used to run the motors, 5V to run the controller circuitry in conjunction with the 3.3V which is used typically with sound cards/SD card interfaces.
Battery Voltage
Because of the 'Tamiya' legacy 7.2 V is somewhat the standard voltage used. However, tanks are getting heavier with all that extra metal and in my opinion 7.2 doesn't cut it anymore so this design/build is going to use a 3 cell LiPo 11.1V as the standard battery voltage. Not only will this extra voltage give the motors more power to drive metal tanks it will also provide the required voltage to drive external audio amp modules or 12 V camera systems. All of the current higher end boards from EL Mod, SGS, IBU and so on can handle 11.1 V supplies. The RX18 most certainly can not.
5V Supply:
The controller circuitry requires a stable 5V supply and for this low dropout voltage regulators are used. The El Mod ECO board uses a 5V TS2940 regulator which can supply 1 amp of current. Who knows what is on the Heng Long or Taigen boards since the Chinese love to scratch off any id numbers on the chips. However, there are no components on these boards to suggest that the 5V supply is anything more than 1 amp. Why so much concern over the 5V supply. Well it is because of the increasing trend to stick servos and other 5V gear into tanks. Again the more metal the heavier the part the more grunt required to move it. Since these servos run off the supply to the receiver there needs to be enough available current for both receiver and servos. To this end I suggest the use a 5V low dropout regulator that can deliver 3 amps of current. The downside is that such regs cost much more and take up more room. For Taipan2014 (as with Taipan V1) the LM1085IS-5.0 will be the 5V regulator of choice.
3.3V Supply:
Easy one – let the audio board take care of this.
Protection:
Always use protection boys & girls
. For our power supply this means at least 2 things – reverse polarity protection and over current/short circuit protection. Reverse polarity protection will stop any damage from connecting your battery wires round the wrong way. Apart from clear labelling I can't see how the EL Mod Eco board deals with batteries connected the wrong way round and only polarity plugs protect the old RX18. Since T2014 (Taipan2014) will be using a simple terminal block for the battery connection reverse polarity protection is a must. For greatest efficiency this is done using a p-channel mosfet which will only turn on and supply current to the circuit if the polarity is correct.
For over current protection – good old fuses are used. Since there are 2 supply circuits (sort of) there needs to be 2 fuses to protect. The El Mod Eco uses a somewhat clunky inline fuse for the battery supply and a nice elegant SMD fuse on the board for the 5V supply. The SMD fuses look neat so T2014 will use 2. Again the SMD fuses are more cost and having 2 on the board will increase the board footprint.
Smooth and Chill filtered:
Well it would be nice if I was making some moonshine but alas... I'm talking about capacitors and such. Capacitors are important for maintain a constant/smooth voltage. If you think about voltage as being a road on which the microcontroller travels the smoother the road the better the performance. Capacitors are like trucks containing sand that can fill in any potholes in the road to ensure a smooth ride for the microcontroller. In general the bigger the capacitor the more sand to fill potholes. Similarly, the closer to the controller the quicker the capacitor can fill the holes. So if you want to make sure all holes can be filled you need to have a big truck to carry lots of sand. To this end Taipan2014 uses a 2200uF capacitor on the battery input and a 330uF tantalum capacitor on the 5V output. In contrast the El Mod Eco uses a 1000uF capacitor close to the motor outputs. Since the 2200uF cap is located on the battery input and away from the motor controllers the Taipan2014 design compensates by using includes 2 x 330uF additional capacitors adjacent to the motor controllers.
I suppose I should mention inductors at this point as inductors also help to maintain a constant supply of current to the system. At present the T2014 design does not include any inductors. If required they can be added in at a future point.
OK then lets get soldering.....
Now the test - connect a battery and lets see if the LED lights up...
Woo hoo - so far so good. I guess it is onto the next step - the Commander module