Week -2
OBJECTIVE :
- 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.
REFERANCE :

BLOCK DIAGRAM :

- The pulse generator block 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.

INPUT PULSE RATE :

- The switch block is used to control physical signal. If the external signal is greater than the thresold parameter then the switch is closed, otherwise switch is open.
- Solenoid block is connected with switch and battery and we will complete electrical circuit. The port 'c' is connected to mechanical translational reference.
- The ideal translational sensor is connected with solenoid block R to observe the movement of the plunger.
- Scope is connected to get the result and is connected with ideal translational sensor.
- Ps-simulink converter is used to convert the physical signal to simulink signal.
OUTPUT :

OBJECTIVE : Use a thermistor to sense the temperature of a heater & turn on or turn off the fan.
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
SIMULINK BLOCK MODEL :

- A repeating sequence stair is given as input to the thermistor through a controlled temperature source. The definition of repeating sequence stair is given below :

- The conditions of the temperature source defined inside the above window. The sample time taken as 10sec and the whole simulation time taken as 50sec.
- Battery and resistor is connected to thermistor circuit. A voltage sensor was given accross this resistor measure the voltage change during different temperature inputs. The resistance of this resistor can be set to any value, but it should not changed once the threshold voltage is found. The threshold temperature is given as 25 degree celsius and the corresponding voltage over the resistor was found out, through a display connected to the voltage sensor.
- At this time the repeating sequence stair was given only one value i.e 25 degree celsius or 298k.
- The output from the voltage was also given into a switch which is linked to a lamp which display different colours based on the logical conditions.
- The lamp colour was set to red if the temperature was below 298k and to green when the temperature is above 298k.
RESULTS :
WHEN THE TEMPERATURE IS BELOW 298K :

WHEN THE TEMPERATURE IS ABOVE 298K :
