Hardware In the Loop and Field Oriented Control with Arduino

Good evening,

I am currently working on project were I need to control a BLDC or a PMSM 3-phase motor. I need to perform a Field Oriented Control so I can move to a Hardware In the Loop via Arduino. Does anyone can propose an appropriate module to drive the arduino by uploading my code? Or a shield were I can also upload my code and has as output the BEM of the motor?

Thx

Bug Eyed Monster? What is this BEM? "Hardware in the Loop"??? "drive the arduino by uploading my code"????

You aren't making much sense to me, I think you need to explain a bit more clearly.

Field oriented control is a well known thing, so I presume you want to code this up on an Arduino
and need a 3-phase bridge and current sensing hardware to interface to the motor?

Hi,

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.

Can you tell us your electronics, programming, arduino, hardware experience?

Thanks.. Tom... :slight_smile:

Hello gyus,

thank you for your responses.

@MarkT I apologize for not explaining better! I wanted to write "BEMF" which is the back electromotive force of a motor. HIL stands for Hardware In the Loop. In general I want to perform a closed loop field oriented control in a 3-phase motor using arduino and processing. Indeed I need a 3-phase bridge with current sensing hardware so I can code FOC in arduino. The thing is that the shields whichI found implement their own routines and libraries and the the only thing that left for me to do is to send an analog input with a potentiometer.

@Tom I am knew to electronics, arduino and hardware in general but I have programming experience. I know though how to control a DC motor via arduino and processing. I know it doesn't say much but I can cope easy to new staf.
Apologies If I didn't use the forum correctly.

Thank you both

Chris

Hi,

 I wanted to write "BEMF" which is the back electromotive force of a motor. 
HIL stands for Hardware In the Loop.
 In general I want to perform a closed loop field oriented control in a 3-phase motor using 
arduino and processing.

You want to control a motor, and regulate its speed by monitoring the back EMF.
Is that it?
Measuring the back EMF of a BLDC 3 phase motor will be difficult.
Do you want to built the BLDC controller or use a proprietary ready built unit?

Tom.. :slight_smile:

Hi Tom,

In general yes. I have already build a 1D model (w Altair Activate) which simulates the closed-loop FOC and now I want to translate it into the physical world. In the 1D model all are calculated based on equations thus control is "easy".

Now to control the actual motor, I know I want a micro controller board (I chose Arduino for ease) and a shield/bridge to control it as it cant provide more than 5Vs etc. BLDCs can be controlled with arduino using the stepper function and an ESC (Electronic Speed Control), BUT want to know the speed which can be calculated the current outputs from the motors. I 've read that the currents can be measured by shunt resistors or by some other ways (by connecting one resistor to each phase and all resistors to each other to create a common ground).

In conclusion, I know how to build the algorithm, I dont mind if there is ready build unit as long as it can offer me the possibility to know the status of the motor speed.