|
发表于 2010-11-16 00:09:27
|
显示全部楼层
"小车上坡时需要加速,下坡要减速。"
it depends on exactly what meant by the above: you probably didn't mean to literally increasing speed going up hill or decreasing speed going down hill.
the best approach really is to take a current sensor into the motor and measure the current: if the vehicle is accelerating (going down hill), the current going through the motor will decrease; if the vehicle is decelerating (going up hill), the current going through the motor will increase.
so the current going through the motor can act as a speed sensor. |
|