11-14-2023 10:23 AM
Hello all!
I'm new at LabVIEW and I could really use your help!
I'm trying to control my EC motor in order to apply a constant force in my model.
Before, I used to control it by a PWM signal by introducing the current that I wanted to apply. I have a load cell that then tells me how much force is being applied.
However, when the model moves this force changes with the model dynamics of course but the standard deviation is quite big and the mean force does not match the force that I wanted. For example applying a 7N constant force, this force will vary between 5 and 10 N and the mean force will be close to 8N. So I'm trying to implement a PID control. However, it's not working. Basically I wanted the PID control to compare the setpoint force I wanted to apply with the force variable being read by my load cell and then control the input current used to control the motor.
I've uploaded the project here for you to see.
Any help would be very much appreciated!
Best wishes,
Anita
Solved! Go to Solution.
11-15-2023 12:51 PM
Hello Anita
Here's a few points I noticed:
Best,
Daniel
02-01-2024 02:58 AM
Hi Daniel! It worked! Thank you for your help 😄
Best wishes,
Anita