Post Go back to editing

Timer with ABCD comparator

FormerMember
FormerMember

Dear Team ,

I have a concern regarding the ABCD comparator and timer with stop start and reset control on Sigma Studio GUI 

I am trying to compare two sine waves ,one with some decay and the other with a normal fixed amplitude for the entire length of time.

After I feed these two inputs to an ABCD conparator,I would like the output of the Comparator to send a 1 until and unless the sample value in pin a is less than sample value in pin b but once the reverse happens I would want the timer to be stopped by the 0 output of the Comparator and hence stop counting any further samples once the decay is over . However I am not getting fruitful results .

Can anyone help 

Parents
  • FormerMember
    0 FormerMember

I wonder why the forum appears so inactive these days ...

No reply ...

Can I get some helpful suggestion or insights on this asap please

  • Would you please say which processor you are using? Also, if you could post a project or screen shot of what you have tried, that would be very helpful. Lastly, I'm assuming that your two signals are in phase. Otherwise, you would need to use some sort of envelope or RMS detector.

    Ken

  • FormerMember
    0 FormerMember in reply to Ken.M

    Dear Ken 

    I am using ADAU1452 

    1. And I'm feeding the comparator pins a and b from a single sine tone generator .The ony difference is that pin a received the input from the tone generator after passing through a SW Volume Control (RC optimized) while pin b receives the input directly from sine tone generator with no module in between 
    2. I understand that the slewed signal samples will be smaller in amplitude than  the original sine -10dB samples and hence I would like the timer to count only these samples which are less or different and feed it to the ReadBack cell
  • Reply
    • FormerMember
      0 FormerMember
    in reply to Ken.M

    Dear Ken 

    I am using ADAU1452 

    1. And I'm feeding the comparator pins a and b from a single sine tone generator .The ony difference is that pin a received the input from the tone generator after passing through a SW Volume Control (RC optimized) while pin b receives the input directly from sine tone generator with no module in between 
    2. I understand that the slewed signal samples will be smaller in amplitude than  the original sine -10dB samples and hence I would like the timer to count only these samples which are less or different and feed it to the ReadBack cell
    Children
    No Data