8/10/2023 0 Comments Matlab simulinkMechanical Rotational Reference block from the Simscape/Foundation Library/Mechanical/Rotational Elements library.Ideal Rotational Motion Sensor block from the Simscape/Foundation Library/Mechanical/Mechanical Sensors library.Electrical Reference block from the Simscape/Foundation Library/Electrical/Electrical Elements library.Three PS-Simulink Converter blocks, one Simulink-PS Converter, and a Solver Configuration block from the Simscape/Utilities.Controlled Voltage Source block from the Simscape/Foundation Library/Electrical/Electrical Sources library.Current Sensor block from the Simscape/Foundation Library/Electrical/Electrical Sensors library.DC Motor block from the Simscape/Electronics/Actuators & Drivers/Rotational Actuators library.Open a new Simulink model and insert the following list of blocks. Models can be built without the need to build mathematical equations from physical principles as was done above by applying The blocks in the Simscape library represent actual physical components therefore, complex multi-domain In this section, we alternatively show how to build the DC Motor model using the physical modeling blocks of the SimscapeĮxtension to Simulink. We use this model in the DC Motor Position: Simulink Controller Design page You can also download the file for this system by right-clicking here and selecting save link as. Name the subsystem "Motor_pos" and then save the model. In order to save all of these components as a single subsystem block, first select all of the blocks, then select Create Subsystem from Selection after right-clicking on the selected portion. Ports from the Simulink/Ports & Subsystems library as shown in the following figure so that we may save the motor model as Now the model is built and we just need to add the voltage input and monitor the position output. Tap a line off the first rotational Integrator's output (d/dt(theta)) and connect it to the Ke Gain block.Edit it's value to "K" to represent the motor back emf constant and label it "Ke".Insert a Gain block and attach it to the other negative input of the current Add block with a line.Continuing to model these equations in Simulink, follow Similarly, the derivative of current is equal to multiplied by the sum of three terms (one positive, two negative). The angular acceleration is equal to multiplied by the sum of two terms (one positive, one negative). Next, we will apply Newton's law and Kirchoff's law to the motor system to generate the following equations. Label the input line "d/dt(i)" and the output line "i".Insert a third Integrator block above the first one and draw lines to and from its input and output terminals.Insert another Integrator block attached to the output of the previous one and draw a line from its output terminal.Label the input line "d2/dt2(theta)" and the output line "d/dt(theta)" as shown below. ![]() Insert an Integrator block from the Simulink/Continous library and draw lines to and from its input and output terminals.To build the simulation model, open Simulink and open a new model window. First, we will model the integrals of the rotor acceleration and of the rate of change of armature current shown Also, Kirchoff's laws will be applied to the armatureĬircuit. To give the velocity, and integrating the velocity to get position. This system will be modeled by summing the torques acting on the rotor inertia and integrating the rotor's angular acceleration In SI units, the motor torque and back emf constants are equal, that is. The back emf,, is proportional to the angular velocity of the shaft by a constant factor. The motor torque is proportional to the armature current by a constant factor as shown in the relation below. The physical parameters for our example are: (J) moment of inertia of the rotor 3.2284E-6 kg.m^2 (b) motor viscous friction constant 3.5077E-6 Nms (Ke) electromotive force constant 0.0274 V/rad/sec (Kt) motor torque constant 0.0274 Nm/Amp (R) electric resistance 4 ohm (L) electric inductance 2.75E-6H The input to the system is the voltage applied to the motor's armature ( ), while the output is the angular position of the shaft ( ). The electric circuit of the armature and the free-body diagram of the rotor It directly provides rotary motion and, coupled with wheels or drumsĪnd cables, can provide translational motion. Building the model through its LTI representationĪ common actuator in control systems is the DC motor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |