This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all,
I have assembled my own board containing STM32f103 MCU and DRV8711 to drive a 24 volt stepper motor for my project. I have made hardware configuration of the board very similar to DRV8711EVM.
Motor doesn't rotate normally and produces excessive heat and noise. I suspect hardware configuration of my board. I have attached schematics of board. please help me to figure out where the problem is.
I want to make sure , the component i choose to interface drv8711 are ok to drive my 24 volt stepper motor.
Well, I have used recommended settings mentioned in "DRV8711 Quick Spin and Tuning".
If I use above configuration, motor doesn't rotate. Please help me with correct configuration for my design.
My stepping motor specifications are :
TYPE: 57BYGH56-410A
1.8 Degrees , 3.0 A, 1.2N.m
FH No : 20170409
I am running out of time , please help me to sort out as soon as possible. thanks. please mention register configurations i use for this stepping motor.
Thanks for your reply.
I have received EVM today. Now I wanna configure my stepper motor using DRV8711 EVM . My stepping motor is:
Series Model : 57HS11242A4
Step Angle: 1.8 Degrees
Rated Current : 4.2 A
Phase Resistance : 1.4 ohms
Phase Inductance : 3.8 mH
I have burnt 3 custom boards already , i fear , i would burn EVM ...as well .
what register configuration would be optimal , please share.
moreover, i noticed the voltage waveform across A+ and A- . It's not pure sine wave. why is this so.?
Hi Haroon,
I received your reply to my questions, but the reply did not appear on the forum.
Thanks for your reply.
Ans1: I have used Rsense= 5mohm as you can see schematics attached with the post.
Ans: My register configuration is:
//0xaddress,0xdata
SPI_DRV8711_Write(0x06,0x0F2); //DRIVE
SPI_DRV8711_Write(0x05,0x0020); //STALL
SPI_DRV8711_Write(0x04,0x0305); //DECAY
SPI_DRV8711_Write(0x03,0x09a); //BLANK
SPI_DRV8711_Write(0x02,0x005); //OFF
SPI_DRV8711_Write(0x01,0x003); //TORQUE 0x017f
SPI_DRV8711_Write(0x07,0x0000); //CTRL
SPI_DRV8711_Write(0x07,0x0000);
motor still makes noise and vibration. although no excessive heat.
The schematics show 10mOhm (5, 50mOhms resistors in parallel). Is this correct?
For the EVM, please start with the recommendations in the users guide. The recommendations are for Ichop = 1A.
If you have no load this should be no problem. You can raise the torque as required using equation (1) in the datasheet.
Now to your settings.
If the original torque setting was 0x7f, this called for 27A when microstepping and 19A when operating at full step through the motor. The motor would limit the current to ~17A, due to the resistance.
It is recommended to increase the gain to 40 and keep the torque setting at 0x25 to begin. This will set the current to ~1A. The max torque setting for the motor should be 0x9c (156 decimal) if the sense resistor is 10mOhm assuming the gain is 40.
Lower the blank time to 0x32. As long as you do not have a fault the device will continue to drive current to reach the desired level.
Increase your TOFF time to 0x3C for a 30us off time. Your blank time is longer than your off time, which can lead to undesired operation.
The DRV8711 and similar devices control the current through the stepper motor. The voltage waveform is not intended to be a pure sine wave. The current through the winding is intended to closely match a sine wave.
1768.Step_Motor_Controller.pdf
Hi Rick !
Thanks for your reply.
The stepper motor works fine with EVM. But when i use same configuration with my custom board, the motor doesn't rotates normally and makes noise. I suspect the hardware configuration of my custom board. Although, i made my custom board pretty similar to EVM. I have attached PCB schematics of my custom board. please help me to figure the problem asap.