09-07-2024 01:11 AM
Hi all ,
I am using LabVIEW 2019 Compact Rio scan engine mode Analog output NI 9263 Analog input AI NI 9224
My brake application uses Pneumatic SMC Valve 0-10 V 0- 10 Bar is analog Output .Force read as 0-250 kg 0-10 V, .This force is setpoint.. SMC valve is getting PID output .
My Block diagram
The Out put Graph is as follows
It takes little more time to reach ,But my application needed fast .Now it is teaching 500 milliseconds to 1 second. But My application required within of 50 or 100 Millisecond.
Here is the graph which shows what i am lagging and Wish to achieve .The set point Not even reached my Zero speed. I started
applying the force (PID loop) at the one set speed .The required value is not achieved unto zero speed
Even i give direct voltage also , I am not able to achieve .I am making some mistake somewhere ,Can anyone help me in this matter.
09-07-2024 09:13 AM
What is you Scan time for the Scan Engine ?
09-07-2024 09:43 AM
Data accusation loop scanning time
pid loop
Thanks for your interest shown
09-07-2024 12:00 PM
No, it is the scan time for the Scan engine that you need to look at.
The Timed while loop loop time does not dictate how fast the analog input are sampled. That is the Scan Engine that do that.
09-07-2024 12:50 PM
Is it you want?
09-09-2024 09:00 PM
The Actual problem for my issue is The signal conditioner of the force load cell .There is a delay(;ag) in the data update.
Now signal conditioner is changed and working fine with open loop direct voltage and PID too
1.Open loop voltage is decided by the following calculation , result out put graph and PID block diagram are as follows .
2.PID Block diagram and final result as follows
Now customer want ramp rate for the force, How to achieve this. Kindly give some idea for Ramp for example ( 200 kg per second , 100 Kg per second etc.)
09-10-2024 01:17 AM
Hi catch,
catchvsystems@sify.com wrote:
Now customer want ramp rate for the force, How to achieve this. Kindly give some idea for Ramp for example ( 200 kg per second , 100 Kg per second etc.)
One comment: why do you set a dt of 10ms at the PID function while you set a iteration rate of 1ms at the TimedWhileLoop?
On your new question: you can use a rate delimiter after the PID output. LabVIEW comes with a PIDOutputRateLimiter function…
(Btw. "kg" is not a unit of force.)
09-10-2024 04:26 AM
Make sure your dt(s) input matches the loop speed
09-10-2024 09:20 AM
Thanks , i will change DT time and look into the PIDOutputRateLimiter .