Forum

Arduino and SOLO UN...
 
Notifications
Clear all

[Solved] Arduino and SOLO UNO in regenerative mode

5 Posts
2 Users
0 Likes
275 Views
Forum 1
(@ciostef)
Active Member
Joined: 8 months ago
Posts: 11
Topic starter  

Hello,

I want to do a small project like a flywheel energy storage and I don't know how to toggle the Controller On/Off by Arduino library command in digital mode, to enter in regenerative mode.

I studied the library manual but I cannot find the  motor START and motor STOP command, or is not obvious to me.

The project have the controller, connected to an BLDC motor with hall sensors and a small flywheel. The controller is connected with Arduino, and I want to start the flywheel and after a period to stop the flywheel and recuperate the mechanical energy.

From the test with the Motion Terminal I found that the regenerative works only in speed mode control.

I will set the controller to rotate the motor for a specific speed, for example 2000RPM, and then I want to stop the motor and recuperate the mechanical energy.

My question is, which command set I must use to do that?

Kind regards,

Stefan

 


   
SOLO Team
(@milad)
Illustrious Member Admin
Joined: 4 years ago
Posts: 581
 

Hello @cioste,

Are you operating in Torque mode or speed mode?

In the case of operating in Torque mode, SOLO will not force any regeneration as it controls the torque in the given direction, so if you want to do regeneration in Torque mode, immediately after you try to stop the motor, you can apply some amount of negative torque ( put Iq as zero, change the direction, put Iq as the desired regen.) -- this has to happen fast.

In Speed mode however, SOLO automatically applies the Regen., it depends on how fast you decelerate, so you don't need to do anything special, you can play with the Deceleration value ( even putting it at zero to have maximum regen., but remember, this will put your motor and the rest of the system under pressure)

let me know if you have other questions.

Milad

 

If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.


   
Forum 1
(@ciostef)
Active Member
Joined: 8 months ago
Posts: 11
Topic starter  

Hello @milad 

I am operating in Speed mode.

I understand that the regeneration is directly dependent of the deceleration settings from the controller, I will play with that value, to find the optimum for my case.

Let's say that the motor is speeding with 2000 RPM.

What command I need to send on digital mode from Arduino to enter in regeneration mode?

On the Motion terminal it is enough to send motor STOP command. How to send motor STOP with Arduino?

P.S: The motor will not be connected to computer so i can't use the Motion terminal.

 

Stefan


   
SOLO Team
(@milad)
Illustrious Member Admin
Joined: 4 years ago
Posts: 581
 

Hello @@ciostef,

Posted by: @ciostef

What command I need to send on digital mode from Arduino to enter in regeneration mode?

by simply setting the speed reference to anything below 2000RPM (and finally zero if necessary), as regeneration happens during decelerations. 

Posted by: @ciostef

On the Motion terminal, it is enough to send a motor STOP command. How to send motor STOP with Arduino?

Yes, Motor stop basically sets all the references to Zero, in your case the speed reference will be set to zero and sent to the SOLO unit, you can do this in Arduino.

Let me know if you have other questions.

Milad

 

If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.


   
Forum 1
(@ciostef)
Active Member
Joined: 8 months ago
Posts: 11
Topic starter  

Hello @milad 

Many thanks for your information!

BR,

Stefan

 


   
Share: