摘要 |
A moveable electronic toy includes two wheels, two motors configured for driving the two wheels, a deviation detecting module, an adjusting module and a driving module. The deviation detecting module is configured for detecting angular velocities of the two wheels to determine an angular velocity difference between the two wheels. The adjusting module is configured for generating an adjusting signal indicative of the angular velocity of which wheel to be adjusted and an adjustment value of the angular velocity according to the angular velocity difference. The driving module is configured for receiving the adjusting signal and driving a corresponding motor using a pulse-width modulator.
|