Sequence Detector (Example)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025
  • Digital Electronics: Pattern or Sequence Detector Example
    Contribute: www.nesoacademy...
    Website ► www.nesoacademy...
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Pinterest ► / nesoacademy

ความคิดเห็น • 302

  • @sandiplow
    @sandiplow ปีที่แล้ว +43

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

  • @TastyLaserCakes
    @TastyLaserCakes 8 ปีที่แล้ว +28

    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.

  • @mpelalidiko
    @mpelalidiko 4 ปีที่แล้ว +14

    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 ปีที่แล้ว +4

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

  • @tonee899
    @tonee899 9 ปีที่แล้ว +15

    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 !!!

  • @garthenar
    @garthenar 4 ปีที่แล้ว +149

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

    • @imranabbasi9535
      @imranabbasi9535 3 ปีที่แล้ว +15

      Nerd

    • @santoshpal8612
      @santoshpal8612 2 ปีที่แล้ว +14

      Kis clg me itne marks milte hai bhai 😅😂

    • @chandanacr3459
      @chandanacr3459 ปีที่แล้ว +2

      Sayi

    • @lilMartian78
      @lilMartian78 8 หลายเดือนก่อน +2

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

    • @slowmo6113
      @slowmo6113 3 หลายเดือนก่อน +1

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

  • @15PinkDiamonds
    @15PinkDiamonds 8 ปีที่แล้ว +8

    i passed my class because of you. thank you fam

  • @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

  • @vechamvidya4499
    @vechamvidya4499 3 ปีที่แล้ว +2

    Explanation is just amazing...no words to describe

  • @kittyCatCutieCat
    @kittyCatCutieCat 8 ปีที่แล้ว +132

    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.

  • @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...

  • @yashkapoor5894
    @yashkapoor5894 4 ปีที่แล้ว +6

    Clear explanation. Amazing!

  • @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.

  • @arjuns2219
    @arjuns2219 5 ปีที่แล้ว +4

    u r a life saver 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 4 ปีที่แล้ว +2

    I have no words. Ur amazing👌👏😁

  • @bojanadrangova7189
    @bojanadrangova7189 9 ปีที่แล้ว +27

    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 ?

  • @santhoshk8703
    @santhoshk8703 7 ปีที่แล้ว +2

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

  • @retrokon
    @retrokon 9 ปีที่แล้ว +7

    Thank you, this was very informative.

  • @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.

  • @mukesh_not_a_youtuber
    @mukesh_not_a_youtuber 9 ปีที่แล้ว +1

    The explanation is too good.Thank you :)

  • @asfandyarsanam8807
    @asfandyarsanam8807 7 ปีที่แล้ว

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

  • @thestrappingentrepreneur2822
    @thestrappingentrepreneur2822 5 ปีที่แล้ว

    you are a godsend for my engineering program holy shit

  • @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?

  • @4haddi201
    @4haddi201 7 ปีที่แล้ว

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

  • @rajshah2182
    @rajshah2182 6 ปีที่แล้ว +1

    Great video mate!

  • @unaabadi454
    @unaabadi454 7 ปีที่แล้ว +1

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

  • @kaavyagowda4234
    @kaavyagowda4234 6 ปีที่แล้ว +1

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

  • @ryszardsinius4828
    @ryszardsinius4828 6 ปีที่แล้ว +1

    I truly love you man

  • @DebranjanPal
    @DebranjanPal 7 ปีที่แล้ว +1

    Great, easily understandable, thanks.

  • @Haroon13496
    @Haroon13496 8 ปีที่แล้ว

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

  • @auvaisaraswathymurugesan1743
    @auvaisaraswathymurugesan1743 8 ปีที่แล้ว

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

  • @brycebanic6503
    @brycebanic6503 6 ปีที่แล้ว

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

  • @ShubhamBalsaraf
    @ShubhamBalsaraf 8 ปีที่แล้ว +1

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

  • @tanishrane
    @tanishrane ปีที่แล้ว

    awesome, nice explanation

  • @charlietokowitz
    @charlietokowitz 7 ปีที่แล้ว

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

  • @ashutoshmoharir2474
    @ashutoshmoharir2474 ปีที่แล้ว +1

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

  • @engcuz
    @engcuz 9 ปีที่แล้ว

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

  • @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.

  • @ahmadsalmankhan3200
    @ahmadsalmankhan3200 9 ปีที่แล้ว

    Really great video.. It helped a lot.

  • @tejasrangnekar
    @tejasrangnekar 9 ปีที่แล้ว +4

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

  • @sepehrgolestanian6161
    @sepehrgolestanian6161 2 ปีที่แล้ว +4

    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 2 ปีที่แล้ว +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.

  • @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

  • @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

  • @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.

  • @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

  • @DevarshiAggarwal
    @DevarshiAggarwal 8 ปีที่แล้ว +1

    life saving videos!

  • @husseinghannam1663
    @husseinghannam1663 ปีที่แล้ว

    your videos are so helpful, thanks a lot

  • @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

  • @GauravGupta-pb8mk
    @GauravGupta-pb8mk 4 ปีที่แล้ว +1

    Thank you sir

  • @ahmjazly
    @ahmjazly 9 ปีที่แล้ว +3

    The state diagram u hv drawn is for Overlapping??

  • @deepanshmakkar5118
    @deepanshmakkar5118 4 ปีที่แล้ว +1

    Hat's off man

  • @denizc8706
    @denizc8706 7 ปีที่แล้ว

    Thank you very much for the video !

  • @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?

  • @ayadabdulkareem6456
    @ayadabdulkareem6456 8 ปีที่แล้ว

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

  • @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

  • @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

  • @chandhrathejagannaram9047
    @chandhrathejagannaram9047 8 ปีที่แล้ว

    very nice lecture sir

  • @riddhivekariya9086
    @riddhivekariya9086 ปีที่แล้ว +1

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

    • @yashrajsonawane7734
      @yashrajsonawane7734 3 หลายเดือนก่อน +1

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

  • @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

  • @saibunny1253
    @saibunny1253 ปีที่แล้ว

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

  • @damazingwundawuumaaan4441
    @damazingwundawuumaaan4441 ปีที่แล้ว

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

  • @samarioantonio
    @samarioantonio 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 9 ปีที่แล้ว

      +Samario Torres one more here

    • @unknownman1
      @unknownman1 6 ปีที่แล้ว

      can u teach me this?

  • @anusuyanallathambi248
    @anusuyanallathambi248 2 ปีที่แล้ว +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

  • @vinayaksansiya
    @vinayaksansiya 8 ปีที่แล้ว +3

    please upload a video for sequence generator

  • @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?

  • @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 ?

  • @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

  • @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.

  • @yuanshenchua7564
    @yuanshenchua7564 ปีที่แล้ว

    So do we have to do state reduction?

  • @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?

  • @rajeevsimhadri8621
    @rajeevsimhadri8621 6 ปีที่แล้ว +1

    Excellent

  • @starman_007
    @starman_007 3 ปีที่แล้ว

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

  • @shenoyshridhar
    @shenoyshridhar 8 ปีที่แล้ว +3

    plz do sequence generator also

  • @saisharan2687
    @saisharan2687 4 วันที่ผ่านมา +1

    why did u take s0 till s3 cant it be done from s0 to s2 right ?

  • @Teemo-1314
    @Teemo-1314 6 ปีที่แล้ว

    nice and thank you !

  • @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

  • @ashishkatakam861
    @ashishkatakam861 4 ปีที่แล้ว

    Plzz make a video on sequence generator also

  • @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?

  • @deepakmanglani6954
    @deepakmanglani6954 9 ปีที่แล้ว

    And please try to answer questions of all the people, and thank you for such awesome teaching.

  • @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.

  • @devanggupta9986
    @devanggupta9986 4 ปีที่แล้ว

    input can be any random set of the binary numbers.......
    please reply....

  • @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.

  • @amentothatt
    @amentothatt 9 ปีที่แล้ว +3

    s2 and s3 can be merged into 1 state.

  • @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

  • @sidhanttamang2159
    @sidhanttamang2159 5 ปีที่แล้ว

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

  • @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

    • @LowMelaninLife
      @LowMelaninLife 7 ปีที่แล้ว +2

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

    • @aayusshsingh9999
      @aayusshsingh9999 6 ปีที่แล้ว

      @@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

  • @dishantpatel287
    @dishantpatel287 8 ปีที่แล้ว +1

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

  • @rukmanpuri
    @rukmanpuri 5 ปีที่แล้ว

    What about flipflop
    Which flipflop are you using??

  • @SandeepChaudhary-vx9zy
    @SandeepChaudhary-vx9zy 7 ปีที่แล้ว

    Thank you

  • @avinashtamilisetti914
    @avinashtamilisetti914 5 ปีที่แล้ว

    Why did u consider output values for realization

  • @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??

  • @ShashiKumar-jv2cs
    @ShashiKumar-jv2cs 3 ปีที่แล้ว

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

  • @manikanthreddykudumula6888
    @manikanthreddykudumula6888 6 ปีที่แล้ว

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

  • @8kSarah
    @8kSarah 7 ปีที่แล้ว

    That was great!

  • @srushtikotagi
    @srushtikotagi 2 ปีที่แล้ว

    How could u consider input sequence

  • @dhanushdshekar4703
    @dhanushdshekar4703 4 ปีที่แล้ว

    state reduction was possible right?like s2=s3??

  • @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

  • @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 ..