SlideShare a Scribd company logo
1 of 16
Dr.Abaza.M.Gh
Saffana adel bany mohammad
Washing machine
A Wash machine Controller
 We are going to design a simple FSM that
controls a wash machine using D-flops.
 The wash machine has the following states : off
, fill water 1 , drain 1, fill water 2 , rinse , drain 2 .
 The user start the washer by plugging it to the
power supply .
A Wash machine Controller
Wash
Machine
Controller
START
L (0,1)
OW
WS
DS
R
OW
Hot
water
Cold
water
M
{ Wash machine Controller Specification }
A Wash machine Controller
 There is one contol line to its water feed (OW).
Choice of hot or cold water wash done manually by
the user for simplicity.
 In this simple washing machine there will be a drum
motor that have two rotation speeds : low speed for
wash cycle & high speed for the drain cycle.
 To contol the speed of the motor we have two outputs
(sighals) from the wash contoller : WS for low speed
, and DS for high speed .
Block Diagram
 Wash machine
controller have two
blocks : FSM block &
timer block.
 Timer is a counter
that have a logic
circuit to reset it .
FSM
Timer
OW
WS
DS
R
L (0,1)
CLK
STAR
T
T
State Diagram
Input / Outputs
T / OW , WS , DS
, R
OFF
000
Fill
water
001
wash
010
Drain
011
Fill
water
2 100
Rinse
101
drain
2
0/0000
0/1000
1/1001
1/0101
0/0100
1/0011
0/00101/10010/1000
1/0101
0/0100
1/0011
0/0010
1/0010
Truth Table for the washing machine :
For the FSM circuit , we will need:
 Three D flip-flops to represent the three state bits
.
 The inputs for the 3 F/Fs will the next state
because as we know D = Q+ .
 E become 1 when the user plug the machine to
the power supply.
Truth Table for the washing machine :
P . State i/p N .state o/p
E s2 s1 s0
T
s2 s1 s0 OW WS
DS R
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0 0 0
0
0 0 0
1
0 0 1
0
0 0 1
1
0 1 0
0
0 1 0
1
0 1 1
0
0 1 1
1
0 0 0 0 0
0 0
0 0 1 1 0
0 1
0 0 1 1 0
0 0
0 1 0 0 1
0 1
0 1 0 0 1
0 0
0 1 1 0 0
1 1
0 1 1 0 0
1 0
1 0 0 1 0
0 1
Note :
That d means
don’t care.
K . Maps for D.F/Fs implementation
00 01 11
10
00
01
11
10
0 0 0
0
0 0 1
0
1 0 X
X
1 1 1
1
00 01 11
10
00
01
11
10
0 0 1
0
1 0 0
1
1 0 X
X
0 0 1
0
s0
T
s2s
1
Ds1 = S1.S0.T + S2.S1.S0 +
S1 .T
s0
T
s2s
1
Ds2 = S1.S0.T + S2.S1 +
S2 .T
K . Maps for D.F/Fs implementation
00 01 11
10
00
01
11
10
0 1 0
1
0 1 0
0
0 0 X
X
0 1 0
1
s2s
1
s0
T
Ds0 = S0.T + S2.S0 .T +
S1.S0.T
K . Maps for 0/Ps implementation
00 01 11
10
00
01
11
10
0 1 0
1
0 0 1
0
0 0 X
X
1 1 0
0
s2s
1
s0
T
00 01 11
10
00
01
11
10
0 0 1
0
1 0 0
0
0 0 X
X
0 1 0
1
s2s
1
s0
T
OW = S2.S1 + (S0 T +
S1.S0.T
+ S2 .( S1+S0+T)
WS = S2.S1.S0.T+ S2.S1.S0
.T + S2.S1.S0.T +
S2.S0.T
K . Maps for 0/Ps implementation
00 01 11
10
00
01
11
10
0 0 0
0
0 1 0
1
1 0 X
X
0 0 1
0
s2s
1
s0
T
00 01 11
10
00
01
11
10
0 1 1
0
0 1 1
0
0 1 X
X
0 1 1
0
s2s
1
s0
T
DS = S1.S0 .T + S2.S0.T
+ S2.S1.T
+S2.S1+S0+T
R=T
Logic circuit for F/Fs inputs :
D
S0
D
S1
D
S2
S0
S2
S0
S1
S0
S0
S1
S1
S0
S2
S1
S2
S1
S1
S0
S0
S0
S1
S1
S2
S2
CLK
Logic circuit for F/Fs outputs :
S1
S2
S0
S1
S2
s0
T
s0
S1
T
Logic circuit for F/Fs outputs :
S1
S0
S2
T
S2
S0
T
S1
S0
T
S1
S0
T
S2
S2
W
S
Logic circuit for F/Fs outputs :
S0
T
S1
S2
S1
T
S0
ST
S1
T
S2
S2
D
S
S0 T R

More Related Content

What's hot

Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKnaimish12
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSKrishma Parekh
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerSudhanshu Janwadkar
 
Difference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and MicrocontrollersDifference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and Microcontrollerselprocus
 
The 8051 microcontroller and embedded systems using assembly and c 2nd-ed
The 8051 microcontroller and embedded systems using assembly and c 2nd-edThe 8051 microcontroller and embedded systems using assembly and c 2nd-ed
The 8051 microcontroller and embedded systems using assembly and c 2nd-edĐinh Công Thiện Taydo University
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Chintan Patel
 
INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)Prof Ansari
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops pptViraj Shah
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPMASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPSmit Shah
 
Traffic light Controller Design
Traffic light Controller DesignTraffic light Controller Design
Traffic light Controller DesignIvan Tim Oloya
 
Digital Electronics Notes
Digital Electronics Notes Digital Electronics Notes
Digital Electronics Notes Srikrishna Thota
 
Microprocessor 8086 instruction description
Microprocessor 8086 instruction descriptionMicroprocessor 8086 instruction description
Microprocessor 8086 instruction descriptionDheeraj Suri
 

What's hot (20)

latches
 latches latches
latches
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASK
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Difference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and MicrocontrollersDifference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and Microcontrollers
 
The 8051 microcontroller and embedded systems using assembly and c 2nd-ed
The 8051 microcontroller and embedded systems using assembly and c 2nd-edThe 8051 microcontroller and embedded systems using assembly and c 2nd-ed
The 8051 microcontroller and embedded systems using assembly and c 2nd-ed
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)
 
Timers in Arduino
Timers in ArduinoTimers in Arduino
Timers in Arduino
 
INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Switch level modeling
Switch level modelingSwitch level modeling
Switch level modeling
 
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPMASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
 
Traffic light Controller Design
Traffic light Controller DesignTraffic light Controller Design
Traffic light Controller Design
 
Digital Electronics Notes
Digital Electronics Notes Digital Electronics Notes
Digital Electronics Notes
 
8255 & IO Interfacing.pdf
8255 & IO Interfacing.pdf8255 & IO Interfacing.pdf
8255 & IO Interfacing.pdf
 
Microprocessor 8086 instruction description
Microprocessor 8086 instruction descriptionMicroprocessor 8086 instruction description
Microprocessor 8086 instruction description
 
R2 r dac
R2 r dacR2 r dac
R2 r dac
 

Viewers also liked

Fuzzy logic - copy
Fuzzy logic - copyFuzzy logic - copy
Fuzzy logic - copyBasil John
 
Basil john mm field assignment jan2016
Basil john mm field assignment jan2016Basil john mm field assignment jan2016
Basil john mm field assignment jan2016Basil John
 
Handoff survey
Handoff surveyHandoff survey
Handoff surveyBasil John
 
LEGAL LEASE DOCUMENT
LEGAL LEASE DOCUMENT LEGAL LEASE DOCUMENT
LEGAL LEASE DOCUMENT Basil John
 
3.table of contents
3.table of contents3.table of contents
3.table of contentsBasil John
 
Jayan - IT Manager, Project Manager, ITSM
Jayan - IT Manager, Project Manager, ITSMJayan - IT Manager, Project Manager, ITSM
Jayan - IT Manager, Project Manager, ITSMJayan Varghese
 
5 g communication
5 g communication5 g communication
5 g communicationBasil John
 
Chuyen de ptlgiac
Chuyen de ptlgiacChuyen de ptlgiac
Chuyen de ptlgiacMrNgo Ngo
 
Networks lab manual ecp62
Networks lab manual ecp62Networks lab manual ecp62
Networks lab manual ecp62Basil John
 
BIZITZAREN HISTORIA ZURE GORPUTZA SM-IKASMINA SAN MARTIN ESKOLAN EGOKITUA
BIZITZAREN  HISTORIA ZURE  GORPUTZA SM-IKASMINA  SAN MARTIN  ESKOLAN EGOKITUABIZITZAREN  HISTORIA ZURE  GORPUTZA SM-IKASMINA  SAN MARTIN  ESKOLAN EGOKITUA
BIZITZAREN HISTORIA ZURE GORPUTZA SM-IKASMINA SAN MARTIN ESKOLAN EGOKITUAJoserra Abarretegui
 
Persona global newsletter issue iv
Persona global newsletter issue ivPersona global newsletter issue iv
Persona global newsletter issue ivPedro Martin
 

Viewers also liked (20)

Class7
Class7Class7
Class7
 
Fuzzy logic - copy
Fuzzy logic - copyFuzzy logic - copy
Fuzzy logic - copy
 
Basil john mm field assignment jan2016
Basil john mm field assignment jan2016Basil john mm field assignment jan2016
Basil john mm field assignment jan2016
 
Handoff survey
Handoff surveyHandoff survey
Handoff survey
 
Wi max
Wi maxWi max
Wi max
 
LEGAL LEASE DOCUMENT
LEGAL LEASE DOCUMENT LEGAL LEASE DOCUMENT
LEGAL LEASE DOCUMENT
 
3.table of contents
3.table of contents3.table of contents
3.table of contents
 
Business Law
Business LawBusiness Law
Business Law
 
Biomasa
BiomasaBiomasa
Biomasa
 
Jayan - IT Manager, Project Manager, ITSM
Jayan - IT Manager, Project Manager, ITSMJayan - IT Manager, Project Manager, ITSM
Jayan - IT Manager, Project Manager, ITSM
 
5 g communication
5 g communication5 g communication
5 g communication
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Ni ... naiz 1. maila
Ni  ...  naiz  1. mailaNi  ...  naiz  1. maila
Ni ... naiz 1. maila
 
Chuyen de ptlgiac
Chuyen de ptlgiacChuyen de ptlgiac
Chuyen de ptlgiac
 
Biderketa taulak
Biderketa taulakBiderketa taulak
Biderketa taulak
 
Evaluation question 3
Evaluation question 3Evaluation question 3
Evaluation question 3
 
9.references
9.references9.references
9.references
 
Networks lab manual ecp62
Networks lab manual ecp62Networks lab manual ecp62
Networks lab manual ecp62
 
BIZITZAREN HISTORIA ZURE GORPUTZA SM-IKASMINA SAN MARTIN ESKOLAN EGOKITUA
BIZITZAREN  HISTORIA ZURE  GORPUTZA SM-IKASMINA  SAN MARTIN  ESKOLAN EGOKITUABIZITZAREN  HISTORIA ZURE  GORPUTZA SM-IKASMINA  SAN MARTIN  ESKOLAN EGOKITUA
BIZITZAREN HISTORIA ZURE GORPUTZA SM-IKASMINA SAN MARTIN ESKOLAN EGOKITUA
 
Persona global newsletter issue iv
Persona global newsletter issue ivPersona global newsletter issue iv
Persona global newsletter issue iv
 

Similar to Washing machine

Time controlled switch catalogue - huimu instrumrnts v1.0 compressed
Time controlled switch catalogue - huimu instrumrnts v1.0 compressedTime controlled switch catalogue - huimu instrumrnts v1.0 compressed
Time controlled switch catalogue - huimu instrumrnts v1.0 compressedHUIMU Industrial (HUIMULTD)
 
plantmonitoringsystem-180116071636 (1).pdf
plantmonitoringsystem-180116071636 (1).pdfplantmonitoringsystem-180116071636 (1).pdf
plantmonitoringsystem-180116071636 (1).pdfSohailShaikh581630
 
Plant monitoring system
Plant monitoring systemPlant monitoring system
Plant monitoring systemSai Kumar
 
Design & Implementation of "Double Head liquid filling machine"
Design & Implementation of "Double Head liquid filling machine"Design & Implementation of "Double Head liquid filling machine"
Design & Implementation of "Double Head liquid filling machine"Ahmed Ramadan Awad Awad
 
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptxMICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx37PaduriHrishitha
 
Flow measurement basics
Flow measurement basicsFlow measurement basics
Flow measurement basicsSalman1011
 
Catalog cs contactor d range
Catalog cs contactor d rangeCatalog cs contactor d range
Catalog cs contactor d rangeThuan Kieu
 
Catalog cs contactor d range-dienhathe.vn
Catalog cs contactor d range-dienhathe.vnCatalog cs contactor d range-dienhathe.vn
Catalog cs contactor d range-dienhathe.vnDien Ha The
 
Catalog cs contactor d range
Catalog cs contactor d rangeCatalog cs contactor d range
Catalog cs contactor d rangeDien Ha The
 
Staf staf sg-en_main
Staf staf sg-en_mainStaf staf sg-en_main
Staf staf sg-en_mainTiago Egídio
 
IRJET- A Novel Topology for a Single Phase Hyperlevel Inverter using a Single...
IRJET- A Novel Topology for a Single Phase Hyperlevel Inverter using a Single...IRJET- A Novel Topology for a Single Phase Hyperlevel Inverter using a Single...
IRJET- A Novel Topology for a Single Phase Hyperlevel Inverter using a Single...IRJET Journal
 
Estimation of Rainfall by using “SSV’s Rotating Pan Rain Gauge” Model
Estimation of Rainfall by using “SSV’s Rotating Pan Rain Gauge” ModelEstimation of Rainfall by using “SSV’s Rotating Pan Rain Gauge” Model
Estimation of Rainfall by using “SSV’s Rotating Pan Rain Gauge” ModelIRJET Journal
 
ATEX Open Channel Ultrasonic Flow Meter GE-1208T Explosion Proof
ATEX Open Channel Ultrasonic Flow Meter GE-1208T Explosion ProofATEX Open Channel Ultrasonic Flow Meter GE-1208T Explosion Proof
ATEX Open Channel Ultrasonic Flow Meter GE-1208T Explosion ProofZHOU ENSI LTD
 

Similar to Washing machine (20)

Time controlled switch catalogue - huimu instrumrnts v1.0 compressed
Time controlled switch catalogue - huimu instrumrnts v1.0 compressedTime controlled switch catalogue - huimu instrumrnts v1.0 compressed
Time controlled switch catalogue - huimu instrumrnts v1.0 compressed
 
plantmonitoringsystem-180116071636 (1).pdf
plantmonitoringsystem-180116071636 (1).pdfplantmonitoringsystem-180116071636 (1).pdf
plantmonitoringsystem-180116071636 (1).pdf
 
Plant monitoring system
Plant monitoring systemPlant monitoring system
Plant monitoring system
 
Design & Implementation of "Double Head liquid filling machine"
Design & Implementation of "Double Head liquid filling machine"Design & Implementation of "Double Head liquid filling machine"
Design & Implementation of "Double Head liquid filling machine"
 
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptxMICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
 
Zero100PU portable ultrasonic flow meter manual
Zero100PU portable ultrasonic flow meter manualZero100PU portable ultrasonic flow meter manual
Zero100PU portable ultrasonic flow meter manual
 
ZERO100PU portable ultrasonic flow meter manual
ZERO100PU portable ultrasonic flow meter manualZERO100PU portable ultrasonic flow meter manual
ZERO100PU portable ultrasonic flow meter manual
 
Flow measurement basics
Flow measurement basicsFlow measurement basics
Flow measurement basics
 
Basicelectricity3
Basicelectricity3Basicelectricity3
Basicelectricity3
 
Xe 145 m controller
Xe 145 m controllerXe 145 m controller
Xe 145 m controller
 
Catalog cs contactor d range
Catalog cs contactor d rangeCatalog cs contactor d range
Catalog cs contactor d range
 
Catalog cs contactor d range-dienhathe.vn
Catalog cs contactor d range-dienhathe.vnCatalog cs contactor d range-dienhathe.vn
Catalog cs contactor d range-dienhathe.vn
 
Catalog cs contactor d range
Catalog cs contactor d rangeCatalog cs contactor d range
Catalog cs contactor d range
 
Staf staf sg-en_main
Staf staf sg-en_mainStaf staf sg-en_main
Staf staf sg-en_main
 
Servo 2.0
Servo 2.0Servo 2.0
Servo 2.0
 
IRJET- A Novel Topology for a Single Phase Hyperlevel Inverter using a Single...
IRJET- A Novel Topology for a Single Phase Hyperlevel Inverter using a Single...IRJET- A Novel Topology for a Single Phase Hyperlevel Inverter using a Single...
IRJET- A Novel Topology for a Single Phase Hyperlevel Inverter using a Single...
 
Estimation of Rainfall by using “SSV’s Rotating Pan Rain Gauge” Model
Estimation of Rainfall by using “SSV’s Rotating Pan Rain Gauge” ModelEstimation of Rainfall by using “SSV’s Rotating Pan Rain Gauge” Model
Estimation of Rainfall by using “SSV’s Rotating Pan Rain Gauge” Model
 
LS20B Portable Current Meter User Manual
LS20B Portable Current Meter  User ManualLS20B Portable Current Meter  User Manual
LS20B Portable Current Meter User Manual
 
Vortex flow meter manual
Vortex flow meter manualVortex flow meter manual
Vortex flow meter manual
 
ATEX Open Channel Ultrasonic Flow Meter GE-1208T Explosion Proof
ATEX Open Channel Ultrasonic Flow Meter GE-1208T Explosion ProofATEX Open Channel Ultrasonic Flow Meter GE-1208T Explosion Proof
ATEX Open Channel Ultrasonic Flow Meter GE-1208T Explosion Proof
 

Recently uploaded

Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc.../:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...lizamodels9
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxAbhayThakur200703
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 

Recently uploaded (20)

KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc.../:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptx
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 

Washing machine

  • 1. Dr.Abaza.M.Gh Saffana adel bany mohammad Washing machine
  • 2. A Wash machine Controller  We are going to design a simple FSM that controls a wash machine using D-flops.  The wash machine has the following states : off , fill water 1 , drain 1, fill water 2 , rinse , drain 2 .  The user start the washer by plugging it to the power supply .
  • 3. A Wash machine Controller Wash Machine Controller START L (0,1) OW WS DS R OW Hot water Cold water M { Wash machine Controller Specification }
  • 4. A Wash machine Controller  There is one contol line to its water feed (OW). Choice of hot or cold water wash done manually by the user for simplicity.  In this simple washing machine there will be a drum motor that have two rotation speeds : low speed for wash cycle & high speed for the drain cycle.  To contol the speed of the motor we have two outputs (sighals) from the wash contoller : WS for low speed , and DS for high speed .
  • 5. Block Diagram  Wash machine controller have two blocks : FSM block & timer block.  Timer is a counter that have a logic circuit to reset it . FSM Timer OW WS DS R L (0,1) CLK STAR T T
  • 6. State Diagram Input / Outputs T / OW , WS , DS , R OFF 000 Fill water 001 wash 010 Drain 011 Fill water 2 100 Rinse 101 drain 2 0/0000 0/1000 1/1001 1/0101 0/0100 1/0011 0/00101/10010/1000 1/0101 0/0100 1/0011 0/0010 1/0010
  • 7. Truth Table for the washing machine : For the FSM circuit , we will need:  Three D flip-flops to represent the three state bits .  The inputs for the 3 F/Fs will the next state because as we know D = Q+ .  E become 1 when the user plug the machine to the power supply.
  • 8. Truth Table for the washing machine : P . State i/p N .state o/p E s2 s1 s0 T s2 s1 s0 OW WS DS R 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 0 0 1 1 0 0 1 1 0 1 1 0 0 1 0 1 0 0 1 0 0 1 Note : That d means don’t care.
  • 9. K . Maps for D.F/Fs implementation 00 01 11 10 00 01 11 10 0 0 0 0 0 0 1 0 1 0 X X 1 1 1 1 00 01 11 10 00 01 11 10 0 0 1 0 1 0 0 1 1 0 X X 0 0 1 0 s0 T s2s 1 Ds1 = S1.S0.T + S2.S1.S0 + S1 .T s0 T s2s 1 Ds2 = S1.S0.T + S2.S1 + S2 .T
  • 10. K . Maps for D.F/Fs implementation 00 01 11 10 00 01 11 10 0 1 0 1 0 1 0 0 0 0 X X 0 1 0 1 s2s 1 s0 T Ds0 = S0.T + S2.S0 .T + S1.S0.T
  • 11. K . Maps for 0/Ps implementation 00 01 11 10 00 01 11 10 0 1 0 1 0 0 1 0 0 0 X X 1 1 0 0 s2s 1 s0 T 00 01 11 10 00 01 11 10 0 0 1 0 1 0 0 0 0 0 X X 0 1 0 1 s2s 1 s0 T OW = S2.S1 + (S0 T + S1.S0.T + S2 .( S1+S0+T) WS = S2.S1.S0.T+ S2.S1.S0 .T + S2.S1.S0.T + S2.S0.T
  • 12. K . Maps for 0/Ps implementation 00 01 11 10 00 01 11 10 0 0 0 0 0 1 0 1 1 0 X X 0 0 1 0 s2s 1 s0 T 00 01 11 10 00 01 11 10 0 1 1 0 0 1 1 0 0 1 X X 0 1 1 0 s2s 1 s0 T DS = S1.S0 .T + S2.S0.T + S2.S1.T +S2.S1+S0+T R=T
  • 13. Logic circuit for F/Fs inputs : D S0 D S1 D S2 S0 S2 S0 S1 S0 S0 S1 S1 S0 S2 S1 S2 S1 S1 S0 S0 S0 S1 S1 S2 S2 CLK
  • 14. Logic circuit for F/Fs outputs : S1 S2 S0 S1 S2 s0 T s0 S1 T
  • 15. Logic circuit for F/Fs outputs : S1 S0 S2 T S2 S0 T S1 S0 T S1 S0 T S2 S2 W S
  • 16. Logic circuit for F/Fs outputs : S0 T S1 S2 S1 T S0 ST S1 T S2 S2 D S S0 T R