The invention discloses a
motor control method and device for a two-wheeled
electric vehicle, and relates to the field of two-wheeled
electric vehicle control, and the method comprises the steps: when it is determined that a vehicle is in an uphill road section based on vehicle body
pitch angle information, when it is monitored that the vehicle slips on a slope, starting
electric power to assist the vehicle in uphill; the electric assisting power is adjusted according to the riding induction
signal, the speed-adjusting rotating
handle voltage signal and the wheel state information, and the electric assisting power is used for controlling the motor to generate driving assisting power opposite to the slope sliding direction; when the vehicle running mode is switched to the reversing mode, electric assistance is closed; and
cutting off
motor power when monitoring that a
brake signal and / or a riding sensing signal is smaller than a first threshold value under the condition that the vehicle is determined to be in a flat road section based on the vehicle body
pitch angle information. According to the method, it is guaranteed that the vehicle can run safely under different road conditions, the vehicle is prevented from sliding in the uphill process, the electric assisting power is automatically started or stopped in the uphill process, the electric assisting power is adjusted in a self-adaptive mode, and the vehicle can safely go uphill or park.