Analog comparator in action


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Sep 2015
    Posts
    23

    Default Re: Analog comparator in action

    Hi Henrik
    have just measured rise time - it is 2,5uSec (0 to 5 V positive edge) - with no distorsion on positive egde.
    signal under consideration - Quadrature signal, frequency = 30 KHz.
    Thank you.
    Mike

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,627

    Default Re: Analog comparator in action

    Hi,
    OK, so assuming a completely linear risetime (which most likely isn't the case but anyway) it'll be 2.125us from 0.5V to 4.75V.
    If you run the PIC at 20MHz the timer will have a resolution of 200ns so you'll get a reading of around around 10 for a "good" pulse (provided the window comparator is fast enough). If you get a PIC capable of 32MHz, 40MHz or even 64MHz the resolution will of course increase.

    /Henrik.

Similar Threads

  1. Replies: 1
    Last Post: - 5th September 2015, 19:52
  2. Replies: 2
    Last Post: - 31st May 2013, 19:19
  3. pic18f analog comparator problem
    By david.silaghi in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th May 2009, 10:38
  4. Replies: 4
    Last Post: - 5th October 2008, 10:11
  5. Action on line sync
    By hansknec in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd August 2006, 14:42

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts