Plotting Root Locus in LabWindows/CVI
Downloads
Filename: krootlocus.zip
Requirements: View
T(s) = Y(s)/R(s) = kH(s)/(1+kH(s))
where H(s) = N(s)/D(s).
Enter the numerator and denominator as coefficients of their representing polynomials; for example, if N(s) = s^3 + 0.5s^2 + 0.3, it is represented as [1, 0.5, 0.0, 0.3]. Also specify the initial and final gain values and the increment. The program plots the root locus by finding the closed-loop poles and plotting them for each gain value.
This example was developed from an earlier example that checks the stability of discrete systems, Stability.prj. Some functions are not altered, such as the function related to string parsing.
Requirements
Filename: krootlocus.zip
Software Requirements
Application Software: LabWindows/CVI Full Development System 6.0
Language(s): C
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
