This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


This example shows a solenoid with a spring return. The solenoid is modeled as an inductance whose value L depends on the plunger position x. The back emf for a time-varying inductance is given by:

As L depends on x, this becomes:

can be derived from manufacturer force-stroke data using the relationship:

can then be integrated to get L as a function of x.

In the model, equation 2 is rearranged to solve for i, and then implemented using Physical Signal blocks. A controlled current source then constrains the current to equate to i.


Solenoid Subsystem

Simulation Results from Simscape Logging