Week -2
1.Make a Simulink model of Doorbell using solenoid block with the following details:
Here first we are going to study the Simulink model of the doorbell using a solenoid block. We need to access the Simulink with the block parameters to run the simulation. First, we need to get to understand the theory behind the Doorbell mechanism.


Pulse generator signal:

Out put signal voltage:

Simulink Model Explanation:
- The pulse generator is used to create square wave pulses at regular intervals. The block waveform parameters Amplitude pulse width,period and phase delay,determine the shape of the output waveform.
- The switch block used is controlled by external physical signal. If the external signal is greater than the thresold parameter then the switch is closed, otherwise switch is open.
- The positive terminal of the switch is connected to switch and the negative terminal is connected to the electrical reference.
- The Solenoid block is connected with switch and battery and we will get a complete electrical circuit. The port c is connected with mechanical reference.
- The ideal translational sensor is connected with solenoid block R to observe the movement of the plunger.
- Scope is connected with the ideal translational sensor to get the output. • PS-Simulink converter is used to convert the physical signal to simulink signal.
- Solver Configuration:Each physical network represented by a connected simscape blocks requires solver setting information for simulation
Use a thermistor to sense the temperature of a heater & turn on or turn off the fan as per the below conditions:




Simulink Model Explanation:
- Signal Builder block is uded to input the values as per given conditions:
At point 1,Time=0 seconds, Temperature=20 K
At point 2,Time=10 seconds, Temperature=20 K
At point 3,Time=10 seconds, Temperature=27 K
At point 4,Time-30 seconds, Temperature=27 K
At point 5,Time=30 seconds, Temperature=23 K
At point 6,Time-50 seconds, Temperature=23 K
- Controlled Temperature source represents an ideal source of thermal energy that can maintain a controlled temperature difference regardless of the heat flow rate. The temperature difference is set by the physical signal port S. A positive temperature difference causes the temperature at port B to be greater than the temperature at port A.
- Thermistor is a type resistor whose resistanc eis based upon temperature.
- A linear resistor is used is used inorder to control the amount of current from the battery.
- The voltage sensor is used to convert the voltage measured between two points into a physical signal.
Voltage source which represents dc or ac
electrical reference block is given
- Solver Configuration:Each physical network represented by a connected simscape blocks requires solver setting information for simulation.