Skip to content

Commit

Permalink
Initial commit R2022a
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller01985 committed Apr 4, 2022
1 parent 7fa9df6 commit 99a950e
Show file tree
Hide file tree
Showing 540 changed files with 512 additions and 512 deletions.
2 changes: 1 addition & 1 deletion CAD/Export/Rep6DOF_FixedJ.m
@@ -1,4 +1,4 @@
% Copyright 2018-2021 The MathWorks, Inc.
% Copyright 2018-2022 The MathWorks, Inc.

mdl = 'aileronAssembly';
sixdofPth = find_system(mdl,'ReferenceBlock','sm_lib/Joints/6-DOF Joint');
Expand Down
Binary file modified CAD/Export/aileronAssembly.slx
Binary file not shown.
2 changes: 1 addition & 1 deletion CAD/Export/aileronAssembly_DataFile_shellOut.m
Expand Up @@ -7,7 +7,7 @@
% Do not add code to this file. Do not edit the physical units shown in comments.

%%%VariableName:smiData
% Copyright 2018-2021 The MathWorks, Inc.
% Copyright 2018-2022 The MathWorks, Inc.

%============= RigidTransform =============%

Expand Down
Binary file modified Libraries/sm_aileron_actuator_lib.slx
Binary file not shown.
2 changes: 1 addition & 1 deletion Models/Custom_Resistor/+MyResistor/MyResistor.ssc
Expand Up @@ -4,7 +4,7 @@ component MyResistor
% where R is the nominal resistance at the reference temperature in ohms
% and alpha is the temperature coefficient.

% Copyright 2005-2021 The MathWorks, Inc.
% Copyright 2005-2022 The MathWorks, Inc.

nodes
p = foundation.electrical.electrical; % +:left
Expand Down
Binary file modified Models/Custom_Resistor/Custom_Analog_Filter.slx
Binary file not shown.
Binary file modified Models/Supporting_Models/sm_aileron_actuator_01_ang2Ext.slx
Binary file not shown.
Binary file modified Models/sm_aileron_actuator_electric_1_drive.slx
Binary file not shown.
Binary file modified Models/sm_aileron_actuator_electric_2_mech.slx
Binary file not shown.
Binary file modified Models/sm_aileron_actuator_electric_2_mech_untitledTest.slx
Binary file not shown.
Binary file modified Models/sm_aileron_actuator_mech_01_ail.slx
Binary file not shown.
Binary file modified Models/sm_aileron_actuator_mech_02_drive.slx
Binary file not shown.
Binary file modified Models/sm_aileron_actuator_mech_lib.slx
Binary file not shown.
6 changes: 3 additions & 3 deletions Overview/html/sm_aileron_actuator_electric.html
Expand Up @@ -6,7 +6,7 @@
<!--
This HTML was auto-generated from MATLAB code.
To make changes, update the MATLAB code and republish this document.
--><title>Aileron Actuation System, Electric Variant</title><meta name="generator" content="MATLAB 9.11"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2021-09-12"><meta name="DC.source" content="sm_aileron_actuator_electric.m"><style type="text/css">
--><title>Aileron Actuation System, Electric Variant</title><meta name="generator" content="MATLAB 9.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-03-10"><meta name="DC.source" content="sm_aileron_actuator_electric.m"><style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}

html { min-height:100%; margin-bottom:1px; }
Expand Down Expand Up @@ -67,7 +67,7 @@



</style></head><body><div class="content"><h1>Aileron Actuation System, Electric Variant</h1><!--introduction--><p>This example models an actuation system for an aileron. The mechanical model was imported from CAD. Different variants model hydraulic and electric actuation systems so that their performance can be compared at the system level.</p><p>The electric variant is described here, and the hydraulic variant is described <a href="matlab:web('sm_aileron_actuator_hydraulic.html');">here</a>.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Model</a></li><li><a href="#2">Mechanical Subsystem</a></li><li><a href="#3">Aileron_Att_1 Subsystem</a></li><li><a href="#4">Actuator Subsystem</a></li><li><a href="#5">Motion Actuation Subsystem</a></li><li><a href="#6">Electric Actuation Subsystem</a></li><li><a href="#7">Speed Controller Subsystem, Simulink Variant</a></li><li><a href="#8">Speed Controller Subsystem, Circuit Variant</a></li><li><a href="#9">Motor Driver Subsystem, Circuit Variant</a></li><li><a href="#11">Simulation Results from Simscape Logging</a></li></ul></div><h2 id="1">Model</h2><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_01.png" alt=""> <h2 id="2">Mechanical Subsystem</h2><p>The mechanical model of the aileron was created in a CAD system. That CAD model was imported into Simscape Multibody, including the joints.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Mechanical','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_02.png" alt=""> <h2 id="3">Aileron_Att_1 Subsystem</h2><p>This subsystem shows the aileron and all of brackets that attach to the actuation system. All rigidly attached parts are treated as a single part during dynamic simulation, so the vast number of screws and bolts do not impact the run time of the simulation.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Mechanical/Aileron_Att_1','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_03.png" alt=""> <h2 id="4">Actuator Subsystem</h2><p>Different variants enable different tests to be run within the same system level model. The Motion variant prescribes the motion profile of the aileron and the simulation determines how much force is required to achieve that motion. The Ideal variant can be tuned to reflect the behavior of a specific design. The Hydraulic variant includes 3 double-acting hydraulic cylinders on a single hydraulic network. The Electric variant contains three leadscrews on a single electrical network.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_04.png" alt=""> <h2 id="5">Motion Actuation Subsystem</h2><p>This subsystem calculates the force required for the aileron to follow a motion profile. The desired angle is converted to actuator extension using a polynomial calculated using the Curve Fitting Toolbox. Simscape Multibody performs an inverse dynamics simulation to determine the force required to produce this motion. Simulating with this variant helps determines the requirements for the actuation system.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Motion','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_05.png" alt=""> <h2 id="6">Electric Actuation Subsystem</h2><p>This subsystem models an actuation system for the aileron. Three electrically-driven leadscrews extend and contract to move the aileron to the desired angle. The leadscrews are all on the same electrical network. The implementation of the controller and fidelity of the drive circuit can be adjusted in the mask.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Electric','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_06.png" alt=""> <h2 id="7">Speed Controller Subsystem, Simulink Variant</h2><p>This subsystem models the speed controller for the leadscrew. This variant implements the controller using Simulink blocks. This enables rapid adjustment of contoller structure and gains.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Electric/Leadscrew%201/Control/Simulink/Speed%20Controller','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_07.png" alt=""> <h2 id="8">Speed Controller Subsystem, Circuit Variant</h2><p>This subsystem models the speed controller for the leadscrew. This variant implements the controller as an analog circuit. This enables the use of simulation to determine the effect of this implementation on system performance.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Electric/Leadscrew%201/Control/Circuit/Speed%20Controller','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_08.png" alt=""> <h2 id="9">Motor Driver Subsystem, Circuit Variant</h2><p>This subsystem models the motor driver using power electronics. This variant would be used to analyze the timing of the power electronic controller and the power dissipated by the power electronics.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Electric/Leadscrew%201/Control/Circuit/Speed%20Controller','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_09.png" alt=""> <img vspace="5" hspace="5" src="sm_aileron_actuator_electric_10.png" alt=""> <h2 id="11">Simulation Results from Simscape Logging</h2><p>The plot below shows the actuator force required to follow the desired trajectory.</p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_11.png" alt=""> <p>The plots below compare the performance of the hydraulic and electric designs with the desired performance.</p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_12.png" alt=""> <p class="footer">Copyright 2018-2021 The MathWorks, Inc.<br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2021b</a><br></p></div><!--
</style></head><body><div class="content"><h1>Aileron Actuation System, Electric Variant</h1><!--introduction--><p>This example models an actuation system for an aileron. The mechanical model was imported from CAD. Different variants model hydraulic and electric actuation systems so that their performance can be compared at the system level.</p><p>The electric variant is described here, and the hydraulic variant is described <a href="matlab:web('sm_aileron_actuator_hydraulic.html');">here</a>.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Model</a></li><li><a href="#2">Mechanical Subsystem</a></li><li><a href="#3">Aileron_Att_1 Subsystem</a></li><li><a href="#4">Actuator Subsystem</a></li><li><a href="#5">Motion Actuation Subsystem</a></li><li><a href="#6">Electric Actuation Subsystem</a></li><li><a href="#7">Speed Controller Subsystem, Simulink Variant</a></li><li><a href="#8">Speed Controller Subsystem, Circuit Variant</a></li><li><a href="#9">Motor Driver Subsystem, Circuit Variant</a></li><li><a href="#11">Simulation Results from Simscape Logging</a></li></ul></div><h2 id="1">Model</h2><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_01.png" alt=""> <h2 id="2">Mechanical Subsystem</h2><p>The mechanical model of the aileron was created in a CAD system. That CAD model was imported into Simscape Multibody, including the joints.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Mechanical','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_02.png" alt=""> <h2 id="3">Aileron_Att_1 Subsystem</h2><p>This subsystem shows the aileron and all of brackets that attach to the actuation system. All rigidly attached parts are treated as a single part during dynamic simulation, so the vast number of screws and bolts do not impact the run time of the simulation.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Mechanical/Aileron_Att_1','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_03.png" alt=""> <h2 id="4">Actuator Subsystem</h2><p>Different variants enable different tests to be run within the same system level model. The Motion variant prescribes the motion profile of the aileron and the simulation determines how much force is required to achieve that motion. The Ideal variant can be tuned to reflect the behavior of a specific design. The Hydraulic variant includes 3 double-acting hydraulic cylinders on a single hydraulic network. The Electric variant contains three leadscrews on a single electrical network.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_04.png" alt=""> <h2 id="5">Motion Actuation Subsystem</h2><p>This subsystem calculates the force required for the aileron to follow a motion profile. The desired angle is converted to actuator extension using a polynomial calculated using the Curve Fitting Toolbox. Simscape Multibody performs an inverse dynamics simulation to determine the force required to produce this motion. Simulating with this variant helps determines the requirements for the actuation system.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Motion','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_05.png" alt=""> <h2 id="6">Electric Actuation Subsystem</h2><p>This subsystem models an actuation system for the aileron. Three electrically-driven leadscrews extend and contract to move the aileron to the desired angle. The leadscrews are all on the same electrical network. The implementation of the controller and fidelity of the drive circuit can be adjusted in the mask.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Electric','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_06.png" alt=""> <h2 id="7">Speed Controller Subsystem, Simulink Variant</h2><p>This subsystem models the speed controller for the leadscrew. This variant implements the controller using Simulink blocks. This enables rapid adjustment of contoller structure and gains.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Electric/Leadscrew%201/Control/Simulink/Speed%20Controller','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_07.png" alt=""> <h2 id="8">Speed Controller Subsystem, Circuit Variant</h2><p>This subsystem models the speed controller for the leadscrew. This variant implements the controller as an analog circuit. This enables the use of simulation to determine the effect of this implementation on system performance.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Electric/Leadscrew%201/Control/Circuit/Speed%20Controller','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_08.png" alt=""> <h2 id="9">Motor Driver Subsystem, Circuit Variant</h2><p>This subsystem models the motor driver using power electronics. This variant would be used to analyze the timing of the power electronic controller and the power dissipated by the power electronics.</p><p><a href="matlab:open_system('sm_aileron_actuator');open_system('sm_aileron_actuator/Actuator/Electric/Leadscrew%201/Control/Circuit/Speed%20Controller','force');">Open Subsystem</a></p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_09.png" alt=""> <img vspace="5" hspace="5" src="sm_aileron_actuator_electric_10.png" alt=""> <h2 id="11">Simulation Results from Simscape Logging</h2><p>The plot below shows the actuator force required to follow the desired trajectory.</p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_11.png" alt=""> <p>The plots below compare the performance of the hydraulic and electric designs with the desired performance.</p><img vspace="5" hspace="5" src="sm_aileron_actuator_electric_12.png" alt=""> <p class="footer">Copyright 2018-2022 The MathWorks, Inc.<br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2022a</a><br></p></div><!--
##### SOURCE BEGIN #####
%% Aileron Actuation System, Electric Variant
%
Expand All @@ -79,7 +79,7 @@
% The electric variant is described here, and the hydraulic variant is
% described <matlab:web('sm_aileron_actuator_hydraulic.html'); here>.
%
% Copyright 2018-2021 The MathWorks, Inc.
% Copyright 2018-2022 The MathWorks, Inc.
Expand Down
Binary file modified Overview/html/sm_aileron_actuator_electric.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_01.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_02.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_03.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_04.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_05.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_06.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_07.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_08.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_09.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_10.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_11.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Overview/html/sm_aileron_actuator_electric_12.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 99a950e

Please sign in to comment.