LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DC Motor Speed Control Simulation

Hi Everyone, 

I am very new to LabVIEW and hoping to get some help on troubleshooting my DC Motor Speed Control Simulation, I have created a simulation that can run, however, both my maximum speed listed in the attached tables cannot be obtained and my PID is far from working any help would be very much appreciated. I'm hoping it has just been a design issue within my VI which I have attached, the LabVIEW version I am using is LabVIEW 2019 SP1 32- bit and all the motor data required can be viewed within the table attached. Again, thank you for any replies I might receive. 

Download All
0 Kudos
Message 1 of 3
(361 Views)

Hi zpaul,

 


@zpaul631 wrote:

both my maximum speed listed in the attached tables cannot be obtained and my PID is far from working any help would be very much appreciated.


  • The PID output range is limited to [0…10], while the datasheet mentions 15V nominal voltage…
  • How did you define the PID gains? There is a "speed constant" given in the datasheet and I would expect a Kc of 0.02 (as reciprocal of 491 rpm/V)…
  • Please define "PID is far from working"…
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(346 Views)

Hi thank you for your reply, when using PID the speed violently oscillates from 0 to maximum resulting in the graph to draw a complete solid wall of data. I am hoping that changing components that you have listed above may fix this result, however, I also think I have miss developed my transfer function again any help on this aspect would be greatly appreciated can't thank you all enough, cheers. 

 

 

0 Kudos
Message 3 of 3
(292 Views)