![]() |
Speed Control for Balancing Vehicle
I was looking for a speed control to use in my balancing vehicle (like a segway) project. You may have seen in my other thread that I got forward only ones without realizing they were forward only. Instead of trying to make a relay switch really fast, I figure I'll just sell the one's I have and get the proper reversing one(s).
http://www.robotcombat.com/marketplace_rsg.html (scroll down about half way to RSGSS 24V 40A Dual Motor Speed Controller) This is made to plug into a standard RC receiver. I will be needing to control it with a BASIC Stamp. 1. Is this possible? 2. Are the signals the same? Or will I need to use Parallax's PWM Pal? 3. What about IFI's pwm signal booster thingy? What does that do? It is my understanding that this controller has a brake feature that cannot be disabled. 4. Will it still work in my balancing vehicle or no? Will any special programming have to be done? 5. Last, if anyone knows of any comparable or better controllers for a lesser price, please inform me. I am on a budget here. Thanks in advance. |
Re: Speed Control for Balancing Vehicle
you would want to disable the brake feature in SW by making sure you never output the 'off' code (usually 127 on our Robot Controllers)
cause the brake feature is a discontinuity in the control curve of the motor the victors have a similar problem, you would need to over step the deadband as well - they usually are off from somewhere around 120 to 135 - so you need to compensate for that in the SW as well. |
Re: Speed Control for Balancing Vehicle
Well, the main problem I see with using r/c type speed controllers is speed. Now, I'm not sure what speed you are planning having your control loop running at, but r/c pwm signals are typiclally 50-60Hz.
|
Re: Speed Control for Balancing Vehicle
Quote:
http://tlb.org/scooter.html Of course this uses a five-hundred dollar esc. |
Re: Speed Control for Balancing Vehicle
Quote:
the motor core has enough inertia that you might only get a 10 or 20 hz response out of it so if you are changing the commanded power to the motor at anything faster than that, it wont have time to respond - in otherwords you would be wasting your money on a controller with a 200Hz response rate, if the motor can only respond at 10 or 20 Hz |
Re: Speed Control for Balancing Vehicle
I'm wondering, how will you get it to ballance? If you are just relying on speed controllers, it won't work.
|
Re: Speed Control for Balancing Vehicle
Quote:
|
Re: Speed Control for Balancing Vehicle
Quote:
|
Re: Speed Control for Balancing Vehicle
Quote:
|
Re: Speed Control for Balancing Vehicle
Quote:
PWM: outputs a square wave of a given frequency and periond. If you keep the frequency fixed and simply vary (Modulate)the duty cycle (Pulse Width) you can use the signal for various things: driving a motor through a H-Bridge, creating an analog output with a resistor and capacitor between the pin and ground (in parallel). Note however, this isn't quite the same as the PWM signal used in RC cars (which is what the IFI speed controllers use). The rcPWM signal has a frequency of 50-60Hz and the duty cycle varies from approx. 1-2ms. Now you could try and use the this to control a speed controller but you would only have about 25 steps of resolution for the rcPWM signal. PulseOut: Outputs a single pulse of a specified duration. Not quite sure of the resolution (due to the lack of manual), but it will be considerably better for rcPWM than the PWM command. To use it to control a speed controller (or a servo) you simply need to output a pulse of 1-2ms in width about every 20ms (that doesn't need to be too accurate). Now while that will still force to keep track of when you have to emit the pulse, it will considerably improve your control of the motor. Sorry for my long post...(I seem to have a tendency to do that) |
Re: Speed Control for Balancing Vehicle
Quote:
|
Re: Speed Control for Balancing Vehicle
Quote:
|
Re: Speed Control for Balancing Vehicle
Quote:
Not really. The controll signal for a servo is a PWM signal by definition. The width of the pulse is varied to encode the data. With PPM however, the data is encoded by moving the pulse in time with respect to some reference. This is also good document on the servo control signal: http://www.princeton.edu/~mae412/TEX...02/292-302.pdf |
Re: Speed Control for Balancing Vehicle
Quote:
|
| All times are GMT -5. The time now is 10:34. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi