How to directly control the servo motor with 51 microcontroller without a driver?
The port of the single-chip microcomputer can absorb a maximum of 20mA, but the working current of the servo motor is more than 100mA, how about? Either burn out the single-chip microcomputer, or the motor cannot work, so there is a drive!
Do you want to use a single-chip microcomputer to control a switch such as a MOS tube, and then the MOS tube drives the motor to work? Of course. Of course, to ensure the smooth rotation of the motor, it is a very test of your program skills.
Does your servo motor have a servo controller? If soft-start and slow to fast or variable speed switching are required, pulses for frequency conversion are required. You can use the timer in the single-chip microcomputer to complete the control of this pulse output time, such as setting the initial time to adjust this pulse. Drive --- motor: Power line: UVW ground, which is supplied to... Click to go to the details page
Depending on the setting of your servo motor, position mode, the signal can be PULSE+PULSE or PULSE+DIR mode, and double pulse or pulse + direction. You only need two control IO ports, PUL- and DIR- to GND. A pulse signal is required for the servo motor to operate, and the speed of the servo motor is determined by the frequency of the pulse signal.
The role of the driver is to have a large current output, if the current is directly controlled by a single-chip microcomputer, it is not reachable, and the current output of a single chip is only tens of milliamps at most
The stepper motor is okay under the control of the single-chip microcomputer, and the DSP is required for servo control.
Generally, the servo control object is a three-phase motor, the drive control is complicated, and those who are interested can go to the "inverter world" to see.
That is to say, even if there is a driver microcomputer, it cannot control the servo motor, regardless of hardware and software.