LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulating a BLDC with Hall feedback, using a VI

Let me say first, I'm not trying to use a  vi to control a BLDC motor.

 

I'm only trying to see if it's possible to replace the BLDC motor with a LabView VI, to simulate the motor itself.

 

I wish to do this to test an actual controller, without having to attach a  motor.  I wish to use a VI to replace the motor.

 

And for this question, I'm limiting the scope to just monitoring the 3 h-bridge phase lines, and providing  simulated Hall Feedback to the controller so the  mext phase sequence sequence can be determined. 

 

* the simulator should.be able to.provude sequences to run either dir.

* the simulator should.be able to calculate simulated.motor speed

 

How difficult is that? I'm pretty sure it  can be done bit I'm not sure of the difficulty level. And I realize I left out a lot of details. I'm just looking for a general idea on difficulty and starting.point on Labview to start with.

 

Thanks

0 Kudos
Message 1 of 3
(533 Views)

I'll start by saying that I don't know anything about BLDC motors so I can't speak too much on the technical details.

 

It seems like you have a controller, which I assume is a physical device LabVIEW interacts with somehow, but not a motor attached to it.  If that's the case, then on the strictest possible level you would need a DAQ or other device that can detect input signals from the controller and output signals back to the controller that mimic what a BLDC motor would be doing.  This would likely be very difficult, mostly from a timing perspective if nothing else, as hardware responds instantly whereas the loop from your DAQ, to your software, back to your DAQ would likely be too much for a controller.

 

If your goal is not to test the physical controller, but rather to be able to write software to interact with the controller and have it respond reasonably when no motor is attached, that's a lot more doable, but I don't think that's your objective.

0 Kudos
Message 2 of 3
(513 Views)

NI had LabVIEW Electric Motor Simulation Toolkit that simulates electric motors on FPGA.

You can also explore Electromechanical Machines Simulation Toolkit but I had zero experience with this.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 3 of 3
(457 Views)