Sequence Detector (Example)

Поділитися
Вставка
  • Опубліковано 30 лис 2024

КОМЕНТАРІ • 301

  • @sandiplow
    @sandiplow Рік тому +39

    It's been 8 years but still relevant, helpful and easy to understand

  • @TastyLaserCakes
    @TastyLaserCakes 8 років тому +26

    You have gotten me through so many homeworks and tests it's not even funny! Trust me, I've been sharing you with my friends. Great job and thank you for posting these.

  • @kittyCatCutieCat
    @kittyCatCutieCat 8 років тому +127

    There is no need for the state s3 , we can directly connect s0 with s2 for 0/0 and put a loop on s2 for 1/1.Correct me if I am wrong.

    • @rejilrajep3641
      @rejilrajep3641 7 років тому +5

      same thought here

    • @leoncss
      @leoncss 7 років тому +6

      I share the same thoughts, but is it correct? But if we only have 3 states, how do we come up with the state table as we need 2 Flip Flops. Maybe that's the reason for the s3.

    • @shubh2317
      @shubh2317 7 років тому +9

      fourth state of the F/F could just be a dont care, dont cares are possible in state table

    • @zackm5693
      @zackm5693 6 років тому +2

      Yes you're correct, it's a redundant state (therefore functionally equivalent to S2).

    • @rahulsaxena5015
      @rahulsaxena5015 5 років тому +3

      State reduction is explained in the next video itself.

  • @garthenar
    @garthenar 4 роки тому +139

    Just got a 97.5% on my final because of this channel.

    • @imranabbasi9535
      @imranabbasi9535 3 роки тому +14

      Nerd

    • @santoshpal8612
      @santoshpal8612 2 роки тому +11

      Kis clg me itne marks milte hai bhai 😅😂

    • @chandanacr3459
      @chandanacr3459 Рік тому +1

      Sayi

    • @lilMartian78
      @lilMartian78 6 місяців тому

      Itne toh agar phone aur book v dedo toh tabh v nhi aate

    • @slowmo6113
      @slowmo6113 21 день тому

      Bro ye konse school me kaha se sequence detector pada rahe he?

  • @mpelalidiko
    @mpelalidiko 3 роки тому +13

    thank you so much for this video. absolutely perfect explanation with the "Has - Awaits". so simple and intuitive. Was struggling for 2 days to figure it out with normal university books. subscribed.

  • @Legend_Hunter_Original
    @Legend_Hunter_Original 7 років тому +3

    Hands down the best resource on internet to learn Intro To Digital Logic, Thanks a bunch .

  • @bojanadrangova7189
    @bojanadrangova7189 9 років тому +26

    When designing a sequence detector, but with Moore state machine, how do you get the output y (cause it shouldn't be dependant of the input x) ? In this case will it be just Qa ?

  • @tonee899
    @tonee899 9 років тому +14

    I would have failed my semester without your videos, really, thank you very much!

  • @teothegreat3439
    @teothegreat3439 3 роки тому +2

    i am watching this three hours before my exams....you seriously saved me. Many thanks !!!

  • @lastborn4sure
    @lastborn4sure 9 років тому +48

    firstly I will like to appreciate the brain being all these videos, I want to confess that watching this videos have really changed my orientation about digital electronics. God bless u sir. please my request is that I will like to have a lecture like this using JK flip flop instead of DO flip flop. Thank u

    • @lastborn4sure
      @lastborn4sure 9 років тому +1

      +Neso Academy I will be the happiest man on earth if that could be done soon as possible bcause all your lectures has been interesting and it's really giving me confidence on my forth coming exam. thank u so much

    • @ashwinb9572
      @ashwinb9572 8 років тому

      sir have you uploaded the same problem using jk flip flop....? it l b much useful fr me

  • @15PinkDiamonds
    @15PinkDiamonds 8 років тому +7

    i passed my class because of you. thank you fam

  • @sadiqlawal7335
    @sadiqlawal7335 8 років тому +3

    thank you very much for this video. it really helped me..how i wish i have seen this before my midterms...you really are a good teacher...

  • @vechamvidya4499
    @vechamvidya4499 3 роки тому +2

    Explanation is just amazing...no words to describe

  • @Brian-mf3ry
    @Brian-mf3ry 7 років тому +10

    love your videos but this video and the previous one were extremely confusing. can you please explain more about overlapping and a more detailed explanation on how you got the state diagram?

  • @santhoshk8703
    @santhoshk8703 6 років тому +2

    Fantastic explanation broo..... Far better than coaching..

  • @yashkapoor5894
    @yashkapoor5894 4 роки тому +6

    Clear explanation. Amazing!

  • @arjuns2219
    @arjuns2219 5 років тому +4

    u r a life saver SIR!!!

  • @katiecatalano7306
    @katiecatalano7306 Рік тому +1

    what would the finished clock look like at the end of this implemented circuit? I'm not certain if this would be synchronous, all coming from the same clock pulse, or asynchronous, or how to know. thank you so much for the amazing lessons and explanations. Your work makes a huge positive impact for me.

  • @matiasmarro7985
    @matiasmarro7985 6 років тому

    Im from Argentina and i study Engeneer Electronic you´ve saved my year with this videos! Congrats!! U has made an amazing job.

  • @sepehrgolestanian6161
    @sepehrgolestanian6161 2 роки тому +3

    I think when we are in S2 and input is 1, make output 1 which means we have detected 111 and get back two s2 which means we've already seen 11 and waiting for another 1. it's like slicing the adjacent 1s into windows of 111s.

    • @user-dz6zd9zk2f
      @user-dz6zd9zk2f 2 роки тому +2

      exactly the diagram should have only 3 states in total

    • @user-dz6zd9zk2f
      @user-dz6zd9zk2f 2 роки тому

      but no , wait a min if you that you wont be able to write the 4 states as qa and qb are 2 varaiables of the present state and there must exist 4 states to complete the table

    • @adeirman2705
      @adeirman2705 2 роки тому +1

      @@user-dz6zd9zk2f yeah, you can use QA QB X until 1 1 1 and when QA QB X = 1 1 0 and 1 1 1 or that means QA and QB is 1 1 respectively or when S3 happen, you assign QA+ and QB+ = X (don't care) because the S3 is unlikely to happen, thus if you use D Flip Flops you can assign QA+ = DA and QB+ = DB or when you use T Flip-Flop you can also assign TA and TB as X (don't care).

    • @leonsutram
      @leonsutram Рік тому +1

      @@adeirman2705 Was looking for exactly this in the comments! Luckily i found ur conversation about it; was really confused why he uses 4 states in a Mealy where 3 would be enough.

  • @asfandyarsanam8807
    @asfandyarsanam8807 7 років тому

    My apny class fellows ko b ap ki tarah samjaya tha state machine thank u sir

  • @dularapeiris2337
    @dularapeiris2337 9 років тому +4

    thank you very much for the tutorials.i have learnt lot of things from your lectures.this covers my syalabus and this is very easy to understand too.

  • @AryanKumar-qo6fi
    @AryanKumar-qo6fi 3 роки тому +2

    I have no words. Ur amazing👌👏😁

  • @thilakshetty5598
    @thilakshetty5598 5 років тому +2

    In the S2 state if we get 1 as input we can take next state as S1 which will be easier since we will have only 3 states.

  • @ravindraroyAIT
    @ravindraroyAIT 9 років тому +12

    i am confused with overlapping and non overlapping ..... please suggest me with eg such as 1101 , 11001,1010 how to draw state diagram

    • @gyanig8501
      @gyanig8501 4 роки тому +1

      with hands holding a working pen and paper. Most imp, a tiny bit of thinking (if you have) ;)

    • @ravindraroyAIT
      @ravindraroyAIT 4 роки тому +2

      Dude some one replying after 4yrs seriously .....i am passed on but whatever thanks ☺

    • @ravindraroyAIT
      @ravindraroyAIT 4 роки тому

      But still dude you dont understand my question ....try some common sense haahaa

    • @ravindraroyAIT
      @ravindraroyAIT 4 роки тому

      And u still a nerd after all lol

  • @retrokon
    @retrokon 9 років тому +7

    Thank you, this was very informative.

  • @Toko9441-g9u
    @Toko9441-g9u Рік тому +1

    Won't just three states be enough for the sequence detector? at s2 state if next bit is 1 the next state is s2 itself and o/p is 1
    Forever grateful for the playlist!

    • @Stefan_2117
      @Stefan_2117 Рік тому

      Yeah you are right, even I was confused with that needless extra state

  • @ahmjazly
    @ahmjazly 9 років тому +3

    The state diagram u hv drawn is for Overlapping??

  • @muzammalhussain4887
    @muzammalhussain4887 3 роки тому +1

    I think there is a mistake in the output of nonoverlapping. when we first 001 then the output should be zero and after that, the next sequence should start and in the next sequence there are two 1's so the output should be zero again not 1. correct me if I'm wrong.

  • @4haddi201
    @4haddi201 7 років тому

    mazza a gaya kya padate ho sir....u rock

  • @ashutoshmoharir2474
    @ashutoshmoharir2474 Рік тому +1

    mealy can be written in 3 states only, moore needs 4

  • @samandrews7600
    @samandrews7600 9 років тому

    in non overlapping case when four 1111 comes ,after three consecutive 1 was noted out put was 1.and again it started from next 1,but question was to find three or more consecutive no of 1's ,it makes a doubt that when four consecutive ones comes output should be 1 only or 0

  • @qwerty5850
    @qwerty5850 8 років тому +5

    state c and state d are identical
    so can we reduce them ??
    and if we can , how will we draw the state table??

    • @ayadabdulkareem6456
      @ayadabdulkareem6456 8 років тому +1

      True ... i try to solve it before him and had reduced it to 3 state only ...

    • @rejilrajep3641
      @rejilrajep3641 7 років тому +1

      connect s0 with s2 for 0/0 and put a loop on s2 for 1/1

  • @mukesh_not_a_youtuber
    @mukesh_not_a_youtuber 9 років тому +1

    The explanation is too good.Thank you :)

  • @thestrappingentrepreneur2822
    @thestrappingentrepreneur2822 5 років тому

    you are a godsend for my engineering program holy shit

  • @unaabadi454
    @unaabadi454 7 років тому +1

    i want to say thank you so much for helping me in my digital logic exams! god bless you sir

  • @auvaisaraswathymurugesan1743
    @auvaisaraswathymurugesan1743 8 років тому

    extraordinary!!! very useful!! thank you for this video

  • @DEADY_Y
    @DEADY_Y Рік тому +1

    Why we are not using a self-loop on s2 for 1/1,,, that would be easier without an extra state

  • @kaavyagowda4234
    @kaavyagowda4234 5 років тому +1

    Thank u..very useful video!!:)cleared many basic concepts

  • @Haroon13496
    @Haroon13496 8 років тому

    thankyou sir..it was very helpful...Ur a great teacher..

  • @ryszardsinius4828
    @ryszardsinius4828 6 років тому +1

    I truly love you man

  • @DebranjanPal
    @DebranjanPal 7 років тому +1

    Great, easily understandable, thanks.

  • @rajshah2182
    @rajshah2182 5 років тому +1

    Great video mate!

  • @anusuyanallathambi248
    @anusuyanallathambi248 Рік тому +1

    Is there really a need for the S3 state? The S2 can keep producing high output as long as the next bit in the bitstream is 1 right?

    • @hardnachopuppy
      @hardnachopuppy Рік тому

      Yes there is no need for s3
      This is why we need to use state reduction before designing the circuit

  • @5aledSefarat
    @5aledSefarat Рік тому

    I do not understand: Is this a Moore Machine? If yes, then why is the output influenced by the input? If it is a Mealy Machine, then why is the number of states four while the number of bits is three?

  • @damazingwundawuumaaan4441
    @damazingwundawuumaaan4441 Рік тому

    can you kindly answer how it is determined that we need 2 D-flipflops to implement this circuit>?

  • @xiaoyangliu9261
    @xiaoyangliu9261 9 років тому

    Thank you for making my life so much easier!!!

    • @saumyagupta1632
      @saumyagupta1632 9 років тому +2

      +Xiaoyang Liu sn't s3 an extra state what if from s2 i go to s2 for 1/1 and to s0 for 0/0 and there is no s3

    • @RiteshKumar-go3do
      @RiteshKumar-go3do 8 років тому

      +Saumya Gupta Agree that

  • @sagarikanangia507
    @sagarikanangia507 8 років тому +1

    if we create a self loop at s2 with input 1 and output 1 then we wouldn't have to use state s3,right?

  • @ayadabdulkareem6456
    @ayadabdulkareem6456 8 років тому

    Thank you very much ... it can be reduced to 3 state... thank you again ...

  • @engcuz
    @engcuz 9 років тому

    Thnk you so much , It was very helpful in my Exam

  • @brycebanic6503
    @brycebanic6503 6 років тому

    Thank you for this video. You really helped me to understand.

  • @saibunny1253
    @saibunny1253 10 місяців тому

    thank you sir for your videos ❤ sir we can detect the same problem by 3 states only .

  • @amentothatt
    @amentothatt 8 років тому +3

    s2 and s3 can be merged into 1 state.

  • @charlietokowitz
    @charlietokowitz 7 років тому

    your videos are so helpful!!! thank you!!

  • @tanishrane
    @tanishrane Рік тому

    awesome, nice explanation

  • @ahmadsalmankhan3200
    @ahmadsalmankhan3200 9 років тому

    Really great video.. It helped a lot.

  • @ashisnandi936
    @ashisnandi936 5 років тому

    I don't understand why the non-overlapping output does not chose the four 1's at once... when the question contains 3 or more consecutive 1's. Why does it take only consecutive three 1's into consideration?

  • @vinayaksansiya
    @vinayaksansiya 8 років тому +3

    please upload a video for sequence generator

  • @ShubhamBalsaraf
    @ShubhamBalsaraf 8 років тому +1

    Awesome..! Helped me a lot....

  • @gopitharunmaganti1342
    @gopitharunmaganti1342 9 років тому

    Using D flip-flops, design a circuit to generate a pattern 0-4-6-7-3-1 without using any additional logic gates.

  • @samario_torres
    @samario_torres 9 років тому

    final tomorrow. you saved me. thanks man

    • @swaggafire21
      @swaggafire21 9 років тому

      +Samario Torres lol were both in the same boat

    • @SatyaRam2k14
      @SatyaRam2k14 9 років тому

      +Samario Torres same here

    • @TheVirtualLab
      @TheVirtualLab 8 років тому

      +Samario Torres one more here

    • @unknownman1
      @unknownman1 6 років тому

      can u teach me this?

  • @vikramank4521
    @vikramank4521 5 років тому

    Sir there is no. Need for DA and DB K-map. Because DA=QA+ and DB=QB+.So we can directly write them from next state.Are I right ?

  • @shenoyshridhar
    @shenoyshridhar 8 років тому +3

    plz do sequence generator also

  • @rajkaransingh4302
    @rajkaransingh4302 7 років тому

    thank you soo much for the video i just want to know whether we can use any gate to impliment the assigment table or not

  • @DevarshiAggarwal
    @DevarshiAggarwal 8 років тому +1

    life saving videos!

  • @tejasrangnekar
    @tejasrangnekar 9 років тому +4

    This video is extremely helpful Thank you for uploading!! :)

  • @arunsingaravadivelan3382
    @arunsingaravadivelan3382 4 роки тому

    I will not get the expected result if I design, sequential for the above state diagram. output y=Ax is the boolean expression we obtain, so it will not detect 3 or more consecutive 1's.

  • @dishantpatel287
    @dishantpatel287 8 років тому +1

    Sir....In this example...Whether you have considered overlapping or non overlapping?...I am very confused!

  • @deepanshmakkar5118
    @deepanshmakkar5118 4 роки тому +1

    Hat's off man

  • @riddhivekariya9086
    @riddhivekariya9086 11 місяців тому +1

    Doubt 12:15 why did he take Qa , xQb on k map rather x , QaQb

    • @yashrajsonawane7734
      @yashrajsonawane7734 Місяць тому +1

      Bata deta bhai par teri exam ab ho chuki hogi jandee hard luck

  • @fatizulfiqar
    @fatizulfiqar 8 років тому +1

    really nice explanation.. but I just want to ask that how do we know that
    how many states are required for sequence detector..?

    • @urdayz
      @urdayz 8 років тому

      it depends on how many bit of the input sequence you want to detect

  • @starman_007
    @starman_007 3 роки тому

    You miss the state reduction step? Because i am getting different solution.

  • @RaunakSingha1212
    @RaunakSingha1212 8 років тому +7

    Sir, can u please explain why S2 and S3 are not reduced to one state by state reduction method? Thanks a lot for these videos

    • @kittyCatCutieCat
      @kittyCatCutieCat 8 років тому +2

      Yes I am also thinking so, it can be done with just 3 states as well, seems like this is an error.Hope Neso Corrects it soon.

    • @ayadabdulkareem6456
      @ayadabdulkareem6456 8 років тому

      True

    • @nandinikasuba6673
      @nandinikasuba6673 7 років тому

      at 5:18 why s1 goes to s0?doesn't it go to itself?please answer

    • @RandomMusingsOfLowMelanin
      @RandomMusingsOfLowMelanin 7 років тому +2

      It's not an error. Just extra hardware. It will work in either case.

    • @aayusshsingh9999
      @aayusshsingh9999 5 років тому

      @@nandinikasuba6673 since we have to find sequence like 1111111.... as soon as we got our first '1' we went from S0 to S1.....but after it if we get a '0' instead of '1' , like a sequence '010',our chain breaks and we have to start again from next '1' since we can't take previous '1', That's why we went from S1 to S0 to get that reset....
      and i am answering this to a 1year old comment...lol

  • @rahulbala6705
    @rahulbala6705 9 років тому +2

    Dude..Can we reduce the states by excluding S3 as it is same as S2..
    the problem becomes less complex

  • @d_simple9105
    @d_simple9105 8 років тому

    Overlapping is confusing me. since more than three is mentioned ,so for non-overlapping case 1111 output is why 0?

  • @GauravGupta-pb8mk
    @GauravGupta-pb8mk 4 роки тому +1

    Thank you sir

  • @nirajakinnal9435
    @nirajakinnal9435 2 роки тому

    Can only 3 states (S0, S1, S2) be used in this case because when the 3rd 1 has to be detected, s2 state will be in s2 (1/1) and it will go to s0 for 0/0

  • @rahulgarg5144
    @rahulgarg5144 6 років тому +1

    As we are having “ three or more consecutive 1” in question . So in non overlapping case too .. wouldn’t there be 11 in the last ..

  • @lavanyaagiru2351
    @lavanyaagiru2351 2 дні тому

    Actually here overlapping permitted so,from s2 when input is 0 it has to go to S1 state why because s2 has 1,it can start detection from s1 onwards. Pls let me know. More detail explanation is required there I hope so. Tq

  • @harsh_shah0095
    @harsh_shah0095 13 годин тому

    Sir what would be state diagram if only three ones were to be detected?

  • @denizc8706
    @denizc8706 7 років тому

    Thank you very much for the video !

  • @nimrodmpandari7456
    @nimrodmpandari7456 7 років тому

    Sir why did you put two states on your state asignment when you were detecting a 3 bit pattern
    why did you find the kmap for Qa+ n Qb+ n not for Qa n Qb

  • @chandhrathejagannaram9047
    @chandhrathejagannaram9047 7 років тому

    very nice lecture sir

  • @anuragmittal9816
    @anuragmittal9816 6 років тому

    Please clarify : In Mealy model no of states = N , where N= no of bits in the sequence we want to detect ...here you wanted to detect 111 , ie n= 3 , but instead you took 4 states , why ????Please somebody clarify

  • @tonee899
    @tonee899 9 років тому +1

    for the present states Qa=1 and Qb=1 with input 0, why is the output y=0? if we are on the present state S3, isn't the output 1? I'm confused since the book has the exact problem but has output =1 for only the last two states, is there two ways of doing this?

    • @cYpher389
      @cYpher389 9 років тому +1

      +tonee899 you are right... for the last two rows of the table, the output should be one. If you implement the circuit designed in the video, you will not be able to get the desired output. the output equation of y should be y=A.B. I have implemented this equation and have been able to obtain the desired answer.

    • @sujoyghosh9357
      @sujoyghosh9357 9 років тому

      +tonee899 Yes exactly...Only in this video its different...rest in all books its same as u have said

  • @JoseRomero-wb3be
    @JoseRomero-wb3be 6 років тому

    The state assignment of S0 - S3, does it must follow the order you used in the video or can we assign them however we choose? For example, can I use S0 = 00, S1 = 01, S2 = 11, S3 = 10.

    • @raj_rajput944
      @raj_rajput944 Рік тому

      You can name any state by yourself but for comfort we use it like binary for example S0 represent binary zero and similarly for all

  • @deepakmanglani6954
    @deepakmanglani6954 9 років тому

    Please put the presentation no with the presentation as it is very confusing that which presentation comes after which. Please tell me which presentation order in which i should watch the videos after introduction to state tables.

  • @ShashiKumar-jv2cs
    @ShashiKumar-jv2cs 3 роки тому

    sir, i have a doubt... why did u use negative edge triggering

  • @tarannumkhan5943
    @tarannumkhan5943 7 років тому

    when input is 0, why it's going back to s0.. in previous example, when sequence doesn't match it's going back to itself... plz explain

  • @avinashtamilisetti914
    @avinashtamilisetti914 5 років тому

    Why did u consider output values for realization

  • @sidhanttamang2159
    @sidhanttamang2159 5 років тому

    what will be the case if we use t flip flop instead of d ?

  • @yuanshenchua7564
    @yuanshenchua7564 Рік тому

    So do we have to do state reduction?

  • @NaolNaol-f5v
    @NaolNaol-f5v Рік тому

    thanks for all sir , but
    on the state diagram why the output is " 0 " when we go to s3 to s0??

  • @manikanthreddykudumula6888
    @manikanthreddykudumula6888 5 років тому

    If multiple inputs are considered ie., 010, 101 are taken

  • @ashishkatakam861
    @ashishkatakam861 4 роки тому

    Plzz make a video on sequence generator also

  • @fake_tourist
    @fake_tourist 6 років тому

    So can we detect any sequence/pattern with this method?

  • @KUSHALLOYA
    @KUSHALLOYA Рік тому +1

    can we just skip S3 part and design it by S0,S1,S2 cause I guess its possible to design with this.

  • @sushantatudu870
    @sushantatudu870 6 років тому

    Why you used negative edge triggered clock?

  • @AnoNymous-po5sx
    @AnoNymous-po5sx 4 роки тому

    Just a thought. But can't we manage with just two states? s0 reset and s1 is 1. So if another 1 is detected, it'll still be in the s1 state and if 0 detected, we can simply direct it to s0. Others are saying only 3 states are required. But I don't know why we can't manage with just two?
    Edit : Okay I'm wrong. Just realised the question is to detect 3 or more 1s. So we need to have 3 states definitely in order to make the output high for third 1.😂

  • @dailybites9354
    @dailybites9354 4 роки тому +1

    You didn't do state reduction as S2 and S3 are same.