Embodiments provide techniques, computer-readable media, and devices for allowing users to perform interactive design of controllers, such as PID controllers, in a free-form modeling environment. Users can tune controllers using characteristics familiar to typical users rather than having to specify
Embodiments provide techniques, computer-readable media, and devices for allowing users to perform interactive design of controllers, such as PID controllers, in a free-form modeling environment. Users can tune controllers using characteristics familiar to typical users rather than having to specify gain values for the controller, which may be difficult for a user to relate to the performance of a controller.
대표청구항▼
1. One or more non-transitory computer-readable media holding one or more executable instructions that, when executed on processing logic, tune parameters for a proportional integral derivative (PID) controller for an arbitrary nonlinear model, the media holding one or more instructions for: automat
1. One or more non-transitory computer-readable media holding one or more executable instructions that, when executed on processing logic, tune parameters for a proportional integral derivative (PID) controller for an arbitrary nonlinear model, the media holding one or more instructions for: automatically determining a portion of the arbitrary nonlinear model to be linearized, the determination based on a desired operating point of the arbitrary nonlinear model;linearizing the determined portion of the arbitrary nonlinear model, the linearizing producing a linear model;computing an open-loop frequency response of the linear model;receiving a design specification on behalf of a user, the design specification defining: a desired gain crossover frequency for the open-loop frequency response, ora desired phase margin at the desired gain crossover frequency for the open-loop frequency response; andautomatically tuning the PID controller parameters using the open-loop frequency response and the received design specification, the automatic tuning: solving algebraically at least two of a P, I, and D parameter of the PID controller for achieving a desired performance when the PID controller controls the linear model in a closed-loop. 2. The media of claim 1, where the desired performance is: specified by the user, orspecified programmatically. 3. The media of claim 1, where the design specification is received via a graphical user interface (GUI), where the GUI is associated with a component that represents the PID controller in the arbitrary nonlinear model. 4. The media of claim 1, where: the desired gain crossover frequency and the desired phase margin are specified using a displaceable slider associated with a graphical user interface (GUI); orthe desired gain crossover frequency is specified using the displaceable slider and the desired phase margin is selected automatically. 5. The media of claim 1, where the tuning is performed on behalf of a component that interacts with: a Simulink-compatible language,a Simulink model,a MATLAB-compatible language, ora MATLAB model. 6. One or more non-transitory computer-readable media holding one or more executable instructions that, when executed on processing logic, interface a block representing a controller with a tuning algorithm that generates the controller used in the block, the media holding one or more instructions for: receiving: a linear time invariant (LTI) model, the LTI model: approximating an arbitrary nonlinear model at an operating condition representing a portion of the arbitrary nonlinear model, the nonlinear model: capable of having delays, andcapable of having substantially any order,performance and robustness characteristics for the controller that controls the nonlinear model at the operating condition, the performance and robustness characteristics specifying:an open-loop gain-crossover frequency, andan open-loop phase margin; andproviding: the performance and robustness characteristics to the tuning algorithm that generates the controller satisfying the characteristics, the tuning algorithm automatically tuning controller parameters to satisfy the performance and robustness characteristics. 7. The media of claim 6, where the arbitrary non linear model is in a free-form modeling environment. 8. The media of claim 6, where the block includes a tuning mechanism that causes the controller parameters to be written to the block. 9. The media of claim 6, where the block allows a user to interactively perform tradeoffs between: controller robustness, andcontroller performance. 10. The media of claim 6, where the controller is provided to the LTI model in real-time, where real-time includes a processing delay that does not adversely impair interactive operation of the block or the tuning algorithm by a user. 11. The media of claim 6, where the controller is at least one of: a proportional (P) controller,an integral (I) controller,a proportional derivative (PD) controller, the PD controller: with a derivative filter, orwithout the derivative filter,a proportional integral (PI) controller, ora PID controller, the PID controller: with the derivative filter, orwithout the derivative filter. 12. One or more non-transitory computer-readable media holding one or more executable instructions that, when executed on processing logic, tune a controller used with a linearized plant model of an arbitrary nonlinear model, the media holding one or more instructions for: initiating an interactive tuning interface, the interactive tuning interface for: computing loop responses,graphically displaying the loop responses,computing performance and robustness information,graphically displaying the performance and robustness information,tuning parameters for the controller, andreceiving user inputs;linearizing at least a portion of the arbitrary nonlinear model to produce the linearized plant model, the linearized plant model controlled by the controller when the linearized plant model is executing;receiving a user input, the user input determining: a gain crossover frequency, andan open-loop phase margin;tuning parameters for the controller, the tuning: solving certain parameters algebraically for the controller based on the specified gain crossover frequency and the open-loop phase margin, the solving performed automatically,optimizing remaining controller parameters, not solved algebraically, within a reduced search space, the optimizing performed automatically, andproducing a tuned controller having the certain and the remaining controller parameters, the tuned controller having characteristics that correspond to the user input; anddisplaying a response for the tuned controller, the response indicating how the tuned controller operates with the linearized plant model when the linearized plant model is executing. 13. The media of claim 12, where the interactive tuning interface is used with a proportional integral derivative (PID) controller block in a Simulink model. 14. The media of claim 12, where the characteristics of the tuned controller satisfy a merit function. 15. The media of claim 12, where the tuning further includes one or more instructions for: performing an optimization with respect to a parameter for the controller other than the certain parameters solved algebraically. 16. The media of claim 12, where the initiating the interactive tuning interface further comprises one or more instructions for: displaying, for the tuned controller at least one of: a rise time,a settling time,an overshoot,a peak,a gain margin,a phase margin,a maximum sensitivity,a maximum complementary sensitivity, ora closed-loop stability. 17. The media of claim 12, where the linearized plant model can be represented as a single input single output (SISO) loop. 18. The media of claim 12, further comprising one or more instructions for: selecting an operating point for the arbitrary nonlinear model, the operating point indicating where: the arbitrary nonlinear model is linearized, andthe linear plant model is designed,where the tuned controller controls the arbitrary nonlinear model proximate to the operating point. 19. The media of claim 18, further comprising: selecting a second operating point for the arbitrary nonlinear model;producing a second tuned controller for controlling the arbitrary nonlinear model proximate to the second operating point; andperforming gain scheduling to schedule the tuned controller for the first operating point and the second tuned controller for the second operating point. 20. One or more non-transitory computer-readable media holding one or more executable instructions that, when executed on processing logic, tune gains for a controller having one, two, three or four parameters, the controller for controlling a nonlinear model, the media holding one or more instructions for: linearizing at least a portion of the nonlinear model in an interactive free-form modeling environment, the linearizing producing a linear model that is valid over a certain region;computing an open-loop frequency response of the linear model;receiving an input for: a desired gain crossover frequency for the open-loop frequency response, ora desired phase margin at the desired gain crossover frequency of the open-loop frequency response; andautomatically tuning the gains using: the open-loop frequency response, andthe received input,where: the automatic tuning achieves one or more desired performance goals, andthe automatic tuning is performed during a time interval that supports interactive design of the controller including display of at least one of the one or more desired performance goals and an actual performance of the controller. 21. A computer-implemented method for controlling an arbitrary nonlinear system model using a plant of any order, the method comprising: interacting with the arbitrary nonlinear system model using an interactive controller;linearizing, by processing logic, the system model;producing the plant for use in the system model, the plant: produced based on the linearized system model,controlled by the interactive controller when the system model executes;receiving a user input specifying characteristics for the interactive controller, the input including: a gain crossover frequency, anda phase margin,where the input is received via a graphical user interface (GUI); andtuning, by the processing logic, a controller associated with the interactive controller, the tuning performed automatically, the tuning including:algebraically solving for at least two parameters of the controller and optimizing for remaining parameters of the controller. 22. An apparatus for controlling an arbitrary nonlinear system model using a plant of any order, the apparatus comprising: means for interacting with the arbitrary nonlinear system model;means for linearizing the system model;means for producing the plant for use in the system model, the plant: produced based on the linearizing means, andcontrolled by an interactive controller means when the system model executes;means for receiving a user input specifying characteristics for the interactive controller means, the input specifying: a gain crossover frequency, anda phase margin,where the input is received via a user interface means; andmeans for tuning a controller associated with the interactive controller means, the tuning performed automatically, the tuning including: algebraically solving for at least two parameters of the controller and optimizing for remaining parameters of the controller. 23. A method for tuning a proportional integral derivative (PID) controller, the method comprising: identifying a design objective for the PID controller, the design objective including: a determined closed-loop stability, anda determined robustness measure;specifying a first value that represents a gain crossover frequency for an open-loop response;specifying a second value that represents a phase margin for the open-loop response; andadjusting, by processing logic, free parameters of the PID controller when the first value and the second value are specified, the adjusting tuning the PID controller so that the tuned PID controller satisfies the design objective. 24. The method of claim 23, where: the first value (ωc) and the second value (θm) are fixed parameters, andthe free parameters of the PID controller include α and β. 25. The method of claim 24, where the robustness measure includes: an overshoot, a gain margin, or a merit function. 26. The method of claim 24, where the fixed parameters and the free parameters are used to express the PID controller in a continuous time expression represented as: C(s)=ωcs(sinφzs+ωccosφzωc)(sinβs+ωccosβsinαs+ωccosα)or to express the PID controller in a discrete time expression represented as: C(z)=2sinωcTs2z-1(sinφzz-sin(φz-ωcTs)sinωcTs)(sinβz-sin(β-ωcTs)sinαz-sin(α-ωcTs)) where the free parameters are determined algebraically from the continuous time expression. 27. A method for evaluating closed-loop stability of a proportional integral derivative (PID) controller design for a plant using an open-loop frequency response, the method comprising: determining a value, where the value is an integer;determining a plurality of gain and phase values of the plant over a frequency grid;superimposing a contribution of the PID controller over the plurality of plant gain and plant phase values to determine an open-loop response, the open-loop response including a magnitude response and a phase response;identifying gain crossover frequencies of the open-loop response;determining, by processing logic, a corresponding phase angle at each of the identified open-loop gain crossover frequencies on the frequency grid;determining, by the processing logic using the integer value, whether the phase angle at a lowest crossover frequency lies within an interval; anddetermining that the phase angle at the other open-loop crossover frequencies satisfies a relationship and satisfies a phase margin value, where the relationship indicates that the phase angle at each of the other crossover frequencies does not substantially contribute to the closed-loop stability of the PID controller design. 28. The method of claim 27, where: the integer value is r;the frequency grid is represented as ωG;the open-loop phase response is represented as φ(ω);the phase angle at the first crossover frequency is, φ0, andthe interval can be represented as [(2r−1)π+θm,(2r+1)π−θm];the relationship can be represented as μ(φ2k−1)=μ(φ2k) for k=1, . . . , m; andthe phase margin is given by, θm, andthe additional crossover frequencies can be represented as ω1, ω2, . . . , ω2m−1, ω2m. 29. A method for evaluating closed-loop stability of a proportional integral derivative (PID) controller design, the method comprising: identifying a first free parameter and a second free parameter of the PID controller design, the PID controller design including a first fixed parameter and a second fixed parameter;identifying a plurality of values for the first free parameter;identifying a plurality of values for the second free parameter;gridding a range that includes one or more of the plurality values for the first free parameter and one or more of the plurality of values for the second free parameter, the gridding performed using a gridding technique;identifying a constraint for use with the one or more of the plurality of values for the first free parameter and the second free parameter used with the gridding technique;discarding values for the first free parameter and the second free parameter that violate the constraint or that fail to satisfy a Nyquist stability test;evaluating, by processing logic, a merit function for pairs that include a value of the first free parameter and a value of the second free parameter that are not discarded and that satisfy the Nyquist stability test; andselecting a pair of the merit function evaluated pairs that produces a smallest value of the merit function for a determined crossover frequency, where the crossover frequency is one of the first fixed parameter or the second fixed parameter. 30. The method of claim 29, where the first fixed parameter is a gain cross over frequency, ωc, and the second fixed parameter is a phase margin, θm. 31. The method of claim 30, where the first free parameter is α and the second free parameter is β. 32. The method of claim 29, where the gridding is performed at determined increments using the gridding technique. 33. The method of claim 29, where the first free parameter is α and the second free parameter is β, and where the constraint determines a two-dimensional range and is represented as 0<α<β<90 and Δφ−90<β−α. 34. The method of claim 29, where the merit function involves a sensitivity function and a complimentary sensitivity function. 35. The method of claim 34, where the merit function is represented as: F=maxωmax(S(jω)-2,T(jω)-Tmax,Tmin-T(jω)). 36. The method of claim 35, where the merit function has a lower bound specified as: Tmin(ω)=1max(1,ω/(ω0/1.5))and where the merit function has an upper bound specified as: Tmax(ω)=1max(1,ω/(1.5ω0)). 37. The method of claim 36, further comprising: modifying the crossover frequency when the smallest value of the merit function exceeds the upper bound. 38. A method for evaluating stability of a proportional integral derivative (PID) controller design, the method comprising: identifying a first free parameter and a second free parameter of the PID controller design, the PID controller design including a first fixed parameter and a second fixed parameter;identifying a plurality of values for the first free parameter;identifying a plurality of values for the second free parameter;searching a range that includes one or more of the plurality of values for the first free parameter and the second free parameter, the searching performed using an optimization technique;identifying a constraint for use with the one or more of the plurality of values for the first free parameter and the second free parameter;discarding values for the first free parameter and the second free parameter that violate the constraint or that fail to satisfy a Nyquist stability test;evaluating, by processing logic, a merit function for pairs that include a value of the first free parameter and a value of the second free parameter that are not discarded and that satisfy the Nyquist stability test, the merit function operating in the optimization technique; andselecting a pair of the merit function evaluated pairs that produces a smallest value of the merit function for a determined crossover frequency, where the crossover frequency is one of the first fixed parameter or the second fixed parameter. 39. The method of claim 38, where the first free parameter is α and the second free parameter is β. 40. The method of claim 39, where the merit function selects a value for α and β. 41. The method of claim 40, where α and β are used in the expression: C(s)=ωcs(sinφzs+ωccosφzωc)(sinβs+ωccosβsinαs+ωccosα)or C(z)=2sinωcTs2z-1(sinφzz-sin(φz-ωcTs)sinωcTs)(sinβz-sin(β-ωcTs)sinαz-sin(α-ωcTs)). 42. The method of claim 38, where the optimization technique includes: a direct search technique or a gradient-descent technique.
연구과제 타임라인
LOADING...
LOADING...
LOADING...
LOADING...
LOADING...
이 특허에 인용된 특허 (10)
Lee, Jie-Tae; Sung, Su-Whan, Autotuning method using integral of relay feedback response for extracting process information.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.