Week -2
1) Door Bell:
Make a Simulink model of Doorbell using solenode block.
The simulink model of door bell is given as below in the form image.
Simulink Model Explanation:
- Pulse Generator; The pulse generator is used to create square wave pulse at regular intervals.The block waveform parameters Amplitude, Pulse width, period and phase delay, determine the shape of the output waveforms.
-Switch; The switch block is used to to controlled by external phisical signal. If the external signal is greater than the threshold parameter then the switch is closed ,otherwise switch is open.
- Solenode; The Solenode block is connected with switch and battery and we will gate a complet electrical circuit . The port c is connected to the mechanical reference.
- Ideal Translational Sensor; The ideal translational sensor is connected with solenoide block R to observe the movment of the plunger.
- Scope; The scope is used to get output and it is connected with the ideal translational signal.
- Solver Configuration; Each physical network represented by a connected simscape blocks required solver setting information for simulation.
_ PS-Simulink Converter; It is used to convert the physical signal to simulink signal.
-Output; The output is given in the form of graph and i upload the image of that graph in browse.
The time period is given 2 sec to the pulse generator to open and closed the switch .When the switch is closed the solenode block receives electrical power from the battery and the plunger moves from port R to C to hit the bell and produce sound.
2) Thermistor:
To used a Thermistor to sense the temperature of a heater and turn ON or Turn off the Fan.
The simulink model of Thermistor is given as below in the form of image and i upload that image in browse.
Explanation Of Simulink Model;
- Signal Builder; The signal builder block is used to as a input signal block and the input values as per given condition:
At point 1, Time=0 sec. , Temperature=293 k
At point 2, Time=10 sec. , Temperature=293 k
At point 3, Time=10 sec. , Temperature=300 k
At point 4, Time=30 sec. , Temperature=300 k
At point 5, Time=30 sec. , Temperature=296 k
At point 6, Time=50 sec. , Temperature=296 k
- Controlled Teperature Source; It is represent thermal ideal source of energy , that can maintain a controllled temperature difference regardless of the heat flow rate .
- Thermistor; Thermistor is a type of resistor whose resistance is based upon the tepmperature.
- Resistor; A linear resistor is used in order to control the amount of current from the battery.
- Voltage Sensor; The Voltage Sensor is used to convert the voltage measured between tow point into a physical signal and it also represents dc or ac.
-Output; The output is given in the form of graph and i upload the image of that graph in browse.
For 0 to 10 sec. fan is off condition because temp. is 293k which is below the threshold 298k . After 10 sec. temp. goes to 300k then the switch will be ON condition as the temp. exceeds 298k , after 30 sec. fan will turn off as the temp. come down to 296k which is below the threshold temp. of 298k.