Tuesday, December 27, 2011

Anti-yaw control Part 1

I gave a new kit its first run today, its a Tamiya Sand Scorcher which is a reissue of a 30 year old design. It looks fantastic in motion but could really use some on board electronic help to stay on track.


A little bit of history

Back when the kit was issued it would have been powered by a 7.2 volt Nicad battery which took about 18 hours to trickle charge and lasted about 7 minutes. Today I am running the reissue on an 8.4 Volt Lipo which takes an hour to charge and lasts about 30 minutes, its also about half the weight of the original batteries.

The kit itself is very different from todays plastic and carbon kits which contain very few metal parts, the sand scorcher is almost entirely metal with parts made from stainless steel, aluminium and brass. 

Its a real novelty to put together if your used to todays kits, it also makes for a more 'scale' drive as the weightier metal parts cause the car flop, lurch and bounce around far more realistically than a modern lightweight plastic kit.


I am not sure whether its the lighter, more powerful modern day battery, the rear wheel drive chassis, the desert sand or just my driving but the car is impossible to drive in a straight line. Every rear wheel drive radio controlled car I have ever driven has had this problem, but this one is the worst of the lot. One solution which many people have tried with RWD RC Cars is to put a gyroscope into the car.

A gyroscope fitted in my Tamiya M04 Rear Wheel Drive On Road Chassis.




The gyroscope senses the car beginning to fishtail and instantly steers into the skid (counter steers) to keep the car moving forward. This can also be useful over rough ground and jumps where the gyroscope will keep the front wheels pointing into the landing even if the car starts to rotate to the side in the air, this reduces the stress on landing minimising parts wear and breakage, it also keeps the speed up as the car 'digs in' less on the landing.

My F103GT RWD On Road Chassis demonstrating how to 'steer into' a skid or fishtail.

If the rear of the car is skidding left the steering is turned to the left, this is known as 'steering into the skid', this stops the car from spinning out and should allow the driver to straighten out of the skid as the rear regains grip If the car skids to the right we steer to the right, in both examples you can see how the front wheels point straight ahead as a result of 'steering into the skid' its the fact that the front wheels point in the direction of travel that should stop the car from spinning out and allow the driver to regain control.


I have had limited success using gyros, the problem is that the gyroscope is passive, it applies the same level of counter steer regardless of the cars speed and the drivers intentions, for example if I am trying to turn left, the gryoscope will sense the car rotating and tell the wheels to turn right to keep the chassis straight. This counter steering effect is adjustable through 'Gain' this is a static setting which controls how hard the gryo will try to keep the car straight. What we need for effective 'Anti Yaw or Yaw Control' is active gain that keeps out of the way when you want to turn and gets straight on the job when you don't. This is where Arduino comes in.

Project Goals - 

1) Easy to access user interface to set the base level of gain
2) Allow adjustment of the base level without needing to restart the Arduino or the Gyroscope
3) Actively adjust gain around the base level based on the signal coming from the controller
3.1) If the controller is telling the car to turn, reduce the gain so that the gyro does not fight the turn
3.2) If the controller is telling the car to accelerate or brake, increase the gain to prevent fishtail and spinout
4) Provide a simple means of turning the active components off for easy comparison between 'active anti yaw', 'passive gryo based anti yaw' and no anti yaw.
5) Provide an easy interface to set a maximum and minimum range for the servo, these limits will prevent the software/user command combination from sending signals to the servo which would cause it to exceed the mechanical limits of the model.
5.1) Record the range limits to the EEPROM for persistent storage
6) Record any operating errors to the EEPROM for persistent storage and retrieval
7) Use the project as a test bed for decoupling noise before progressing the traction control project


More soon. In the meantime, here is another picture of my fresh 'weathered' Sand Scorcher, the bodyshell is white plastic which I have painted and otherwise abused to look like 30 year old metal.


25 comments:

  1. Is there a link to the latest source code?

    ReplyDelete
  2. Great article which helps consumers and cars owners on how to get rid of their old vehicles and provided enough knowledge about cash for cars caboolture

    ReplyDelete
  3. Your post is just outstanding! thanks for such a post, it is really going great. Keep posting more about cash for cars

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This is the remarkable article as well as it is valuable for the entire person and I want to say that I would like to write on this subject too. You have an interesting written on this topic.
    Scrap Car Removal Gold Coast

    ReplyDelete

  7. I read your blog and found it knowledgeable and I appreciate your writting.This is a useful blog, and thanks for giving us information


    CASH FOR CARS BRISBANE

    CASH FOR CARS SUNSHINE COAST

    CASH FOR CARS IPSWICH

    CASH FOR CARS GOLD COAST

    CASH FOR CARS TOOWOOMBA

    ReplyDelete
  8. Great literally it's an amazing post I have ever seen please allow me to get your feed to keep up to date with your valuable quality posts. Regards cash for unwanted cars

    ReplyDelete
  9. Very interesting information you have remarked, more cash for cars brisbane likes to advise customers the right suggestion. Do not worry too much if the car is not in motion. At Best Cash For Cars company, you can get more than you expect of your junk car.

    ReplyDelete
  10. Hello!
    You said it very well and accurately, you wrote it elegantly. I was very happy. We used the content that you shared. Good luck.
    I got your site address from a friend, from now on I will always visit your great site.used car buyer

    ReplyDelete



  11. Excellent Article! Thanks for sharing this types of article is very helpful for us! If you looking for best cash for unwanted cars Brisbane or Free Car Removal Gold Coast than Get Cash for Car is best place to help you.

    ReplyDelete

  12. Excellent Article! Thanks for sharing this types of article is very helpful for us! If you looking for free car removal Logan or free scrap car removal Cleveland than Carsbuyer is best place to help you.

    ReplyDelete
  13. Great Article! Thanks for sharing this types of article is very helpful for us! If you looking for Exterior Cleaning Services , Carpet Cleaning Services Brisbane OR Best Hand Car Washing Services In Brisbane than Quickcardetailing is best place to help you.

    ReplyDelete
  14. Great Article! Thanks for sharing this types of article is very helpful for us! If you looking for Exterior Cleaning Services , Carpet Cleaning Services Brisbane OR Best Hand Car Washing Services In Brisbane than Quickcardetailing is best place to help you.

    ReplyDelete
  15. Great Article! Thanks for sharing this types of article is very helpful for us! If you looking for Best Exterior Cleaning Services Brisbane than Quickcardetailing is best place to help you.

    ReplyDelete
  16. Have a junk car to sell in Brisbane Cash for Car? They are buying old cars, damaged by fire, wrecked vehicles, cars not running with or without title in Australia. Get instant and free junk car removal services in different cities of Australia.

    ReplyDelete
  17. Brisbane Top Wreckers is offering free towing within our towing zones to make it as convenient as possible. You can also choose to drop off your vehicle to a nearby Brisbane Top Wreckers and their team will help you to removal vehicle as fast as possible without charging a single amount of money, also they are selling best audi spare parts Brisbane.

    ReplyDelete
  18. Stop searching for how to sell my car easily. Car Buyer's Hub is selling used vehicles to Professionals. Under Professionals we mean legal entities and individual businessmen that are interested in buying and selling of used cars.

    ReplyDelete
  19. Gold Coast Hand Car Wash offers one of the best deep cleaning services in Australia. They provide a wide range of services such as best car leather protector, cut and polish services from customized cleaning to an express service.

    ReplyDelete