Menu

Executive Programs

Workshops

Projects

Blogs

Careers

Placements

Student Reviews


For Business


More

Academic Training

Informative Articles

Find Jobs

We are Hiring!


All Courses

Choose a category

Mechanical

Electrical

Civil

Computer Science

Electronics

Offline Program

All Courses

All Courses

logo

CHOOSE A CATEGORY

Mechanical

Electrical

Civil

Computer Science

Electronics

Offline Program

Top Job Leading Courses

Automotive

CFD

FEA

Design

MBD

Med Tech

Courses by Software

Design

Solver

Automation

Vehicle Dynamics

CFD Solver

Preprocessor

Courses by Semester

First Year

Second Year

Third Year

Fourth Year

Courses by Domain

Automotive

CFD

Design

FEA

Tool-focused Courses

Design

Solver

Automation

Preprocessor

CFD Solver

Vehicle Dynamics

Machine learning

Machine Learning and AI

POPULAR COURSES

coursePost Graduate Program in Hybrid Electric Vehicle Design and Analysis
coursePost Graduate Program in Computational Fluid Dynamics
coursePost Graduate Program in CAD
coursePost Graduate Program in CAE
coursePost Graduate Program in Manufacturing Design
coursePost Graduate Program in Computational Design and Pre-processing
coursePost Graduate Program in Complete Passenger Car Design & Product Development
Executive Programs
Workshops
For Business

Success Stories

Placements

Student Reviews

More

Projects

Blogs

Academic Training

Find Jobs

Informative Articles

We're Hiring!

phone+91 9342691281Log in
  1. Home/
  2. Amit Chilap/
  3. Week -2

Week -2

Simulink for Mechanical & Electrical Engineers Challenges = Week 2 Aim To Make a Simulink model of Doorbell using solenoid block. To Use a thermistor to sense the temperature of a heater & turn on or turn off the fan according to temperature. Questions & Solution Q1. Make a Simulink model of Doorbell using…

    • Amit Chilap

      updated on 14 May 2021

    Simulink for Mechanical & Electrical Engineers Challenges = Week 2

    1. Aim
      • To Make a Simulink model of Doorbell using solenoid block.
      • To Use a thermistor to sense the temperature of a heater & turn on or turn off the fan according to temperature.
    2. Questions & Solution
      • Q1. Make a Simulink model of Doorbell using a solenoid block with the following details:
        • In the above arrangement, when the switch is closed the electromagnet receives electrical power from the battery and pulls the metal arm to hit the bell producing sound.
        • Create a situation where the switch is closed for 2 seconds and then released. Observe the physical movement of the plunger.
        • Assume remaining parameters.
      • Solution 1.
        • Theory :
          • The circuit of the door bell using a solenoid block is as shown in the above figure.
          • When we close the switch we complete the circuit then the electric current is flown through the circuit.
          • After that, the electromagnet gets charged, and then it acts like a magnet due to which it pulls the nears metal clip towards it.
          • As the metal clip moves towards the magnet, the extended part of the metal clip hits the gong and creates the sound.
          • Which we refer to as the sound of a bell.
        • Following is the simulation model for Door Bell using a solenoid block.
        • In the above model the simulation blocks used & their purpose are as follows :
          1. Pulse Generator - The Pulse Generator block generates square wave pulses at regular intervals. The block waveform parameters, Amplitude, Pulse Width, Period, and Phase delay, determine the shape of the output waveform.
          2. Scope - Display signals generated during simulation.
          3. Simulink-PS converter - Converts the Simulink input signal to a Physical Signal.
          4. SPST Switch (Single-pole single-throw switch) - The block represents a Single-Pole Single-Throw (SPST) switch controlled by an external control signal vT. If vT is greater than the threshold, then the switch is closed, otherwise, the switch is open.
          5. Battery – It is a stored electrical source for the electrical circuit.
          6. Electrical Reference - The Electrical Reference block represents an electrical ground.
          7. Solenoid - The Solenoid block represents the electrical characteristics and generated force for the solenoid. This solenoid block represents Port R moves towards port C.
          8. Mechanical Translational Reference - The Mechanical Translational Reference block represents a reference point, or frame, for all mechanical translational ports.
          9. Solver Configuration - The Solver Configuration block specifies the solver parameters that your model needs before you can begin the simulation.
          10. Ideal Motion Translational Sensor – It acts as a Motion sensor in mechanical translational systems. The Ideal Translational Motion Sensor block represents a device that converts an across variable measured between two mechanical translational nodes into a control signal proportional to velocity or position. You can specify the initial position (offset) as a block parameter.
          11. PS-Simulink Converter - Converts the input Physical Signal to a Simulink output signal. 

        • Working of Model
          1. Pulse Generator creates an input signal of pulse with 1 unit amplitude, 4 sec period, having 50% pulse width with 2-sec delay for the model.
          2. Then we attach the scope to it get so that we can compare the inputs and outputs of the model.
          3. Now the input signal is connected to the Simulink-PS Converter which converts the Simulink signal to a physical signal which is then sent towards the SPST switch.
          4. After receiving the physical signal, the SPST switch compares it with its threshold value if it's greater than it, then it closes the electric circuit, or else it is open.
          5. After the electric circuit is closed the current is flown from the circuit and then it energies the solenoid connected to the battery.
          6. As the solenoid is charged it pulls the Port R towards port C (which refers to us as the ringing of a bell).
          7. A Mechanical Translation Reference is attached to the port R of the Solenoid to understand the position and velocity of the plunger of the solenoid.
          8. To record its position and velocity PS-Converter converts the physical signal to a Simulink signal and then using the scope block we record it for the simulation duration.

        • Results
          • Pulse Value VS Time


          • Position VS Time


          • Velocity VS Time
    • Q2. Use a thermistor to sense the temperature of a heater & turn on or turn off the fan as per the below conditions:
      • Temperature source: 20 °C from 0 to 10 seconds, 27 °C from 10 to 30 seconds, 23 °C from 30 to 50 seconds.
      • Fan conditions: ON if the temperature above 25 °C, OFF otherwise.
    • Solution 2.
      • Theory
        • A thermistor is a type of resistor whose resistance is strongly dependent on temperature, more so than in standard resistors. The word is a combination of thermal and resistor. Thermistors are widely used as inrush current limiters, temperature sensors (negative temperature coefficient or NTC type typically), self-resetting overcurrent protectors, and self-regulating heating elements (positive temperature coefficient or PTC type typically).
        • Thermistors are of two opposite fundamental types:
          1. With NTC thermistors, resistance decreases as temperature rises usually due to an increase in conduction electrons bumped up by thermal agitation from the valency band. An NTC is commonly used as a temperature sensor, or in series with a circuit as an inrush current limiter.
          2. With PTC thermistors, resistance increases as temperature rises usually due to increased thermal lattice agitations particularly those of impurities and imperfections. PTC thermistors are commonly installed in series with a circuit and used to protect against overcurrent conditions, as resettable fuses.
    • Following is the simulation model for using a thermistor to sense the temperature of a heater & turn on or turn off the fan as per conditions.
      • In the above model the simulation blocks used & their purpose are as follows :
        1. Controlled Temperature Source – The Controlled Temperature Source block represents an ideal source of thermal energy that is powerful enough to maintain specified temperature differences across the source regardless of the heat flow consumed by the system.
        2. Thermistor – The Thermistor block represents an NTC thermistor using the B-parameter equation. The resistance at temperature T is R=R0⋅eB(1T−1T0).R=R0⋅eB(1T-1T0)..
        3. Resistor – The Resistor block represents a linear resistor.
        4. Voltage Sensor – The Voltage Sensor block represents an ideal voltage sensor, that is, a device that converts voltage measured between two points of an electrical circuit into a physical signal proportional to the voltage.
        5. Battery – The Battery block represents a simple battery model.
        6. SPST Switch – The block represents a Single-Pole Single-Throw (SPST) switch controlled by an external control signal vT. If vT is greater than the threshold, then the switch is closed, otherwise, the switch is open.
        7. Electrical Reference – The Electrical Reference block represents an electrical ground.
        8. Universal Motor – The Universal Motor block represents the electrical and torque characteristics of a universal (or series) motor.
        9. Mechanical Rotational Reference – The Mechanical Rotational Reference block represents a reference point, or frame, for all mechanical rotational ports.
        10. Ideal Rotational Motion Sensor – The Ideal Rotational Motion Sensor block represents an ideal mechanical rotational motion sensor, that is, a device that converts an across variable measured between two mechanical rotational nodes into a control signal proportional to angular velocity or angle.
        11. Solver Configuration – The Solver Configuration block specifies the solver parameters that your model needs before you can begin the simulation.
        12. PS-Simulink Converter – Converts the input Physical Signal to a Simulink output signal.
        13. Scope – Display signals generated during simulation.
        14. From – The From block accepts a signal from a corresponding Goto block, then passes it as output. The data type of the output is the same as that of the input from the Goto block. From and Goto blocks allow you to pass a signal from one block to another without actually connecting them.
        15. Temperature Source is the Subsystem block which is as follows.

          1. Constant – The Constant block generates a real or complex constant value signal.
          2. Pulse Generator – The Pulse Generator block generates square wave pulses at regular intervals. The block waveform parameters, Amplitude, Pulse Width, Period, and Phase delay, determine the shape of the output waveform.
          3. Product – The Product block outputs the result of multiplying two inputs: two scalars, a scalar, and a nonscalar, or two nonscalars that have the same dimensions.
          4. Add – The Sum block performs addition or subtraction on its inputs.
          5. Scope – Display signals generated during simulation.
          6. Goto – The Goto block passes its input to its corresponding From blocks. The input can be a real- or complex-valued signal or vector of any data type. From and Goto blocks allow you to pass a signal from one block to another without actually connecting them.
          7. Simulink-PS converter - Converts the Simulink input signal to a Physical Signal.
          8. Thermal Input – It is an output of this subsystem that is connected to the Controlled Temperature source in the main model.
    • Working of Subsystem Model
      1. According to the given conditions we need to build the temperature source 20 °C from 0 to 10 seconds, 27 °C from 10 to 30 seconds, 23 °C from 30 to 50 seconds.
      2. So we use the constant block to provide three constant temperature, then we need to specify its duration so we create the pulse block which has 1 unit amplitude 50 sec period 20% & 40% pulse width and with 0 sec, 10 sec, and 30 sec delay for respectively pulse generator.
      3. Then we take the products of constants and their respective pulse generator.
      4. By adding them we create the signal needed according to the given conditions.
      5. And we add another constant value 273.15 which converts deg Celsius value to deg Kelvin.
      6. Further, a ‘Goto’ block is connected to the ‘Add’ block which transfers the same signal to the ‘From’ block.
      7. The signal from the ‘Add’ block is connected to the Simulink-PS converter and then it is further sent as the output signal of this subsystem model.
    • Working of the Model.
      1. The temperature source subsystem model provides the temperature to the Controlled Temperature Source, according to the inputs it provides the surrounding temperature condition to the thermostat.
      2. The thermostat is connected in a closed circuit with a battery and a resistor connected in a series combination with it.
      3. As the temperature increases the thermostat resistance value decreases and the overall current in the circuit increases, which leads to an increase in the voltage around the resistor of 10 ohms.
      4. We note the Voltage around the resistor when the temperature is about 25 deg Celsius which is 2.273 V
      5. By using the PS-Simulink converter we convert a physical signal from the voltage sensor into a Simulink signal and record it using a scope block to understand how voltage varies with Temperature.
      6. The Voltage sensor signal is also sent to SPST whose threshold value is 2.273 V, i.e. when the temperature goes above 25 deg Celsius the SPST switch is closed & completes the circuit.
      7. As the universal motor is connected in series with the SPST switch and to the battery, it gets on only when the temperature is above 25 deg Celsius.
      8. To verify the outcome of the Universal motor we have attached the Ideal Rotational Motion Sensor to it.
      9. Now the PS-Simulink converter converts the physical signal from the rotational sensor and converts it into a Simulink signal which is then used to record the angular velocity and angle of the Universal Motor.
    • Results
      • Temperature VS Time



      • Voltage VS Time (Voltage of Resistor)



      • Angular Velocity VS Time



      • Angular position Vs Time
    1. Conclusion
      • We have completed and run the model of the Doorbell using a solenoid block.
      • Thus Bell is rung for every alternate 2 seconds.
      • We have completed and run the model of using a thermistor to sense the temperature of a heater & turn on or turn off the fan as per conditions.
      • Thus Fan is turned on only when the temperature is above 25 deg Celsius.
      • We observe the little spike in voltage vs time plot of the resistor, its because we use the same battery source for the motor also since the motor is turned on and off only when the temperature is above or below 25 deg Celsius respectively these spikes can only observe during that change.

    Leave a comment

    Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.

    Please  login to add a comment

    Other comments...

    No comments yet!
    Be the first to add a comment

    Read more Projects by Amit Chilap (11)

    Week-3 Challenge: ADVISOR Tool

    Objective:

    Introduction to HEV using MATLAB & Simulink Week-3 Challenge: ADVISOR Tool   AIM: To simulate the given data and conditions for an EV using Advisor Tool in MATLAB. About ADVISOR ADVISOR, NREL’s Advanced Vehicle Simulator, is a set of model, data, and script text files for use with MATLAB and Simulink. It…

    calendar

    04 Jul 2022 11:04 AM IST

    • BIM
    • CAE
    • CFD
    • CSS
    • DEM
    • FEA
    • GIS
    • HEV
    • MATLAB
    • MBD
    Read more

    Project -BAJA All Terrain Vehicle (ATV) model

    Objective:

    Simulink for Mechanical & Electrical Engineers - Challenges Final Project Aim To study, analyze and make a detailed report on BAJA All Terrain Vehicle (ATV) model using Simulink & compare between its different modes. Objective Prepare a technical report explaining the model properties & comments on the results.…

    calendar

    03 Jun 2021 03:25 AM IST

      Read more

      Week - 4

      Objective:

      Simulink for Mechanical & Electrical Engineers Challenges = Week 4 Aim To Make a Simulink model using State-Flow for given questions. Questions & Solution Q1. Implement control logic of a “washing machine” using Stateflow as per given sequence: If the power supply is available, the system gets activated. If the Water supply…

      calendar

      21 May 2021 06:29 PM IST

      • MATLAB
      Read more

      Week -2

      Objective:

      Simulink for Mechanical & Electrical Engineers Challenges = Week 2 Aim To Make a Simulink model of Doorbell using solenoid block. To Use a thermistor to sense the temperature of a heater & turn on or turn off the fan according to temperature. Questions & Solution Q1. Make a Simulink model of Doorbell using…

      calendar

      14 May 2021 12:30 AM IST

        Read more

        Schedule a counselling session

        Please enter your name
        Please enter a valid email
        Please enter a valid number

        Related Courses

        coursecard

        Design loads considered on bridges

        Recently launched

        10 Hours of Content

        coursecard

        Design of Steel Superstructure in Bridges

        Recently launched

        16 Hours of Content

        coursecard

        Design for Manufacturability (DFM)

        Recently launched

        11 Hours of Content

        coursecard

        CATIA for Medical Product Design

        Recently launched

        5 Hours of Content

        coursecardcoursetype

        Accelerated Career Program in Embedded Systems (On-Campus) Courseware Partner: IT-ITes SSC nasscom

        Recently launched

        0 Hours of Content

        Schedule a counselling session

        Please enter your name
        Please enter a valid email
        Please enter a valid number

        logo

        Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.

        https://d27yxarlh48w6q.cloudfront.net/web/v1/images/facebook.svghttps://d27yxarlh48w6q.cloudfront.net/web/v1/images/insta.svghttps://d27yxarlh48w6q.cloudfront.net/web/v1/images/twitter.svghttps://d27yxarlh48w6q.cloudfront.net/web/v1/images/youtube.svghttps://d27yxarlh48w6q.cloudfront.net/web/v1/images/linkedin.svg

        Our Company

        News & EventsBlogCareersGrievance RedressalSkill-Lync ReviewsTermsPrivacy PolicyBecome an Affiliate
        map
        EpowerX Learning Technologies Pvt Ltd.
        4th Floor, BLOCK-B, Velachery - Tambaram Main Rd, Ram Nagar South, Madipakkam, Chennai, Tamil Nadu 600042.
        mail
        info@skill-lync.com
        mail
        ITgrievance@skill-lync.com

        Top Individual Courses

        Computational Combustion Using Python and CanteraIntroduction to Physical Modeling using SimscapeIntroduction to Structural Analysis using ANSYS WorkbenchIntroduction to Structural Analysis using ANSYS Workbench

        Top PG Programs

        Post Graduate Program in Hybrid Electric Vehicle Design and AnalysisPost Graduate Program in Computational Fluid DynamicsPost Graduate Program in CADPost Graduate Program in Electric Vehicle Design & Development

        Skill-Lync Plus

        Executive Program in Electric Vehicle Embedded SoftwareExecutive Program in Electric Vehicle DesignExecutive Program in Cybersecurity

        Trending Blogs

        Heat Transfer Principles in Energy-Efficient Refrigerators and Air Conditioners Advanced Modeling and Result Visualization in Simscape Exploring Simulink and Library Browser in Simscape Advanced Simulink Tools and Libraries in SimscapeExploring Simulink Basics in Simscape

        © 2025 Skill-Lync Inc. All Rights Reserved.

                    Do You Want To Showcase Your Technical Skills?
                    Sign-Up for our projects.