External Field Orie...
 
Notifications
Clear all

External Field Oriented Control (FOC) with Solo Uno


Forum 1
(@thetris93)
New Member
Joined: 2 weeks ago
Posts: 2
Topic starter  

Dear all,

 

I want to control a BLDC-motor using FOC with an external microcontroller that gets the desired values from simulink as an GUI.

Is it possible to give the Solo Uno just some setpoints, without controlling it anything? I would only need the Solo Uno for inverting the DC voltage and measuring the phase currents.

There is an image in the attachment.

 

Thank you all!

Best regards!


Quote
SOLO Team
(@milad)
Chief Member Moderator
Joined: 2 years ago
Posts: 251
 

Hi @thetris93

Posted by: @thetris93

that gets the desired values from simulink as an GUI.

Just to clarify, what are these desired values? 

As you might know the FOC in SOLO has 3 different loops, Torque, Speed, and Position Nested as shown in the image below, so as far as I understood, your MCU has access to the Position and Speed data, this means to close the FOC loops you will need SOLO to control only the Torque for you?

However, what type of sensors are you using on your BLDC? Encoders or Hall sensors?

Forum 3

Posted by: @thetris93

Is it possible to give the Solo Uno just some setpoints, without controlling it anything?

For all the mentioned loops ( Torque, Speed, and Position) you just need to send the setpoint, of course before that you need to tune the controllers, but once the gains are tuned, you only need to send the references.

Posted by: @thetris93

I would only need the Solo Uno for inverting the DC voltage

Can you explain what do you mean by this part?

Posted by: @thetris93

measuring the phase currents.

You can have access to all the phase currents as well as converted Id and Iq currents for FOC, to know more about them you can read our UART and USB manual as well as CANopen manual that can be found in this page.

Regards
Milad

 

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


ReplyQuote
Forum 1
(@thetris93)
New Member
Joined: 2 weeks ago
Posts: 2
Topic starter  

Hi Milan,

 

I really appreciate your fast response, thank you!

 

Posted by: @milad

Just to clarify, what are these desired values? 

The desired values would be reference speed and a limit for Iq. In further applications also a reference position.

 

Posted by: @milad

However, what type of sensors are you using on your BLDC? Encoders or Hall sensors?

I am using hall sensors, but also absolut encoders are available, but unfortunately they are using I2C, which ist not supported by the SOLO UNO, right?


ReplyQuote
SOLO Team
(@milad)
Chief Member Moderator
Joined: 2 years ago
Posts: 251
 

Hi @thetris93,

Posted by: @thetris93

The desired values would be reference speed and a limit for Iq. In further applications also a reference position.

 

Ok great, so you need to put SOLO in closed-loop speed mode, then you have access to speed reference, and using the current Limit ( or P/F in analogue inputs) you can limit the Iq.

Posted by: @thetris93

I am using hall sensors, but also absolut encoders are available, but unfortunately they are using I2C, which ist not supported by the SOLO UNO, right?

On SOLO UNO the absolute encoder is not supported ( it will be supported in our future products), however, the Hall sensors are fully supported and you need to set up and calibrate your hall sensors as well as find the current wirings based on the following article and included video at least once.

https://www.solomotorcontrollers.com/blog/hall-sensors-to-solo-for-controlling-speed-torque-brushless-motor/

Let me know if you have any other questions.

Regards
Milad

 

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


ReplyQuote
Share: