LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pid duty cycle PWM

Solved!
Go to solution

I'm trying to find example of pid controlling duty cycle of PWM. Is there any simple example? Help to share if have any.

 

I coundn't find any of that topic in the Example Finder

0 Kudos
Message 1 of 11
(3,987 Views)

I found the attached in the example finder.  I only has proportional gain, but in the example, it says you can convert it into a PID. 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 2 of 11
(3,975 Views)

Agree,

0 Kudos
Message 3 of 11
(3,967 Views)

but, how how to get the Ki, Kd in separate block?

 

Currently, under control and simulation> we can find the pid block (meaning one block contains kp, ki, kd).. How to make them piece by piece in labview?

0 Kudos
Message 4 of 11
(3,966 Views)

Couldn't you set the factors that you don't need to zero?

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 5 of 11
(3,961 Views)

I need all the parameters...kp, ki, kd in separate block....

 

if uses pid block(which found in control design & simulation), how to get the "error" which go inside the pid block?

Error = setpoint - feedback value

 

help to share.

 

 

 

 

0 Kudos
Message 6 of 11
(3,959 Views)

probably i just use

 

mathematics> numeric > subtract the feedback value using the setpoint (outsidet the pid block)? Is it the righway?

0 Kudos
Message 7 of 11
(3,953 Views)

 

 

Refer to the  http://digital.ni.com/public.nsf/allkb/1561D31534F07D608625727900391114

 

 

If make a little change there by inserting a PID block, PID output line go into the duty cyle line (meaning delete the manually key in duty cycle).  How to set the limit there as illustrated in the attached limit.PNG?

 

Download All
0 Kudos
Message 8 of 11
(3,931 Views)

can use the In Range and Coerse feature for limit setting ?

0 Kudos
Message 9 of 11
(3,928 Views)

I am not sure what you are asking...

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 10 of 11
(3,910 Views)