Position control of BLDC motor using bultin Hall sensor by SBL1360 controller

5 years 3 months ago - 5 years 3 months ago #29530729 by somu
hello everyone,

I want to controll my motor using Hall counter option in Robon+ application with SBL 1360 controller
but I'm not able to get any result from this.

please find the attached file for my configration details.


Thanks in advance.

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530731 by TechSupport
No file uploaded. Please try again in a zipped folder.

If you are trying to control your motor in a position mode using the hall counter as your feedback, then it would be the closed loop count position. Fine tune your PID. Start with P = 2, I = 0, D = 0. Disable loop error detection. Make sure your closed loop feedback is set to hall sensor and not "Other".

In console do the following.

^rwd 0 to disable watchdog timer
!P 1 500 to go to count position 500.
You can query the value of the counter by sending: ?CB 1

Please Log in or Create an account to join the conversation.

5 years 3 months ago - 5 years 3 months ago #29530736 by somu
Thanks For Reply,

As you mentioned I fallowed the Steps and Motor Stated Rotating but Its not Stoping at the given Value.

another problem I'm facing is If i give setcommand (_GO,1,500) it is rotating for 1 sec and stoping.

I have Attached the Configration Image and Console Image. please let us know what have to be done.

For your informatiion I'm using USB port to send the data to controller.

My requirment is I want to stop the motor after 5 turn and reverse direction and rotate for 5 turn.
Attachments:

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530737 by TechSupport
In the closed loop count mode, only the position commands should be used, not the !G commands.

Now regarding the motor not getting to the position, that goes back to the PID. The P gain needs to be adjusted as needed and then added in small amounts of the I gain so that it gets there.

With P gain alone, it won't get to the position exactly, as it may stop 10 to 20 counts short. The I gain will help in getting it there.

You should be using the RS232 for communication as the USB is known to drop connection.

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530749 by somu
I'm sorry I think i have comunicated wrong.

When I'm giving ^rwd 0 and !P 1 500 command in consol the motor is started rotating and its not stopping. after the Hall count is more than 20000 also.

and one more thing is How can i control speed and direction(CW and CCW) when I'm using closed loop count postion mode?


Thanks in advance.

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530752 by roboteq
Make sure you are using the latest firmware.

In the right configuration menu, select "Hall Sensors" in Motor Configuration>Closed Loop Feedback Sensor

Please Log in or Create an account to join the conversation.

5 years 3 months ago - 5 years 3 months ago #29530753 by somu
yes I'm using the latest firmware

I already set the config. to Hall Sensor, but the problem is same. motor is not stoping ,

Please see the attachment for my configration data.

Please let me know what is the problem and how can i solve it.


Thanks in advance
Attachments:

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530757 by TechSupport
Please download and run the following software so that we can see this in real time.

www.teamviewer.com/en/index.aspx

Send us your user id and password it assigns you to This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

5 years 3 months ago - 5 years 3 months ago #29530777 by somu
Thanks for the replay

Now I'm trying to control the position through micro script programing. and its working partially.

the problem i have is that the motor stops at different hall count values everytime. May i know what is the problem and how can i sort it out.

below is my program


setconfig(_rwd,0)
setcommand(_CB,1,0)

top:

setcommand(_GO, 1, 600)

if getvalue(_FEEDBK,1) >= -20 then
goto top
else
setcommand(_GO, 1, 0)
end if

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530785 by TechSupport
If you are trying to go to a specific position, you need to be using a closed loop count position mode.

The command you'll use is the "P" for position instead of "GO".

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.148 seconds