Simple PID Controller with Simulink
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
2 votes
Share a link to this question

6 Comments
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Accepted Answer
1 vote
Share a link to this answer

. Rearranging that
.
.



34 Comments
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment




Share a link to this comment
Share a link to this comment

Share a link to this comment

Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment


Share a link to this comment

Share a link to this comment
Share a link to this comment

Share a link to this comment
Share a link to this comment
- Open your Simulink model.
- Locate the transfer function block that represents the jet turbine dynamics. This block should be connected to the PID controller.
- Remove the existing transfer function block representing the turbine dynamics.
- Add a time delay block in its place. You can find this block in the Simulink Library Browser under the "Discontinuities" category.
- Double-click on the time delay block to open its parameters dialog box.
- Set the time delay value to 5 seconds. This value represents the delay between the control input and the response of the turbine.
- Connect the output of the time delay block to the rest of the model, as it was connected before with the transfer function block.
- Save your Simulink model and run the simulation to observe the effect of the time delay on the system's response.
- Remove the time delay block that was added previously (if you have already added it).
- Add a ramp-up function to your Simulink model. You can use a combination of blocks to achieve this effect. Here's an example of how you can construct the ramp-up function:a. Use a Unit Delay block (found in the "Discrete" category in the Simulink Library Browser) to hold the previous control input value.b. Subtract the previous control input from the current control input to obtain the change in input.c. Use an Integrator block (found in the "Continuous" category) to integrate the change in input over time.d. Multiply the output of the integrator by a gain value to control the rate of ramp-up.e. Add the output of the ramp-up block to the initial control input.
- Adjust the gain value in the ramp-up block to control the rate at which the thrust ramps up. You may need to tune this value to match the desired time it takes for the turbine to achieve full throttle.
- Connect the output of the ramp-up block to the rest of your Simulink model.
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
- From 0 to 10%
- 15% to 20%
- 75% to 74%
- 0% to 100%
- 100% to 0%
- ...
Share a link to this comment
Share a link to this comment
Share a link to this comment
More Answers (0)
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Products
Tags
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)