×

Detection circuit for an active discharge circuit of an X-capacitor, related active discharge circuit, integrated circuit and method

  • US 10,345,348 B2
  • Filed: 08/27/2015
  • Issued: 07/09/2019
  • Est. Priority Date: 11/04/2014
  • Status: Active Grant
First Claim
Patent Images

1. A detection circuit, comprising:

  • a sensor circuit configured to be coupled to an X capacitor, said sensor circuit configured to generate a sensor signal indicative of a voltage at said X capacitor;

    a window comparator configured to generate a comparison signal indicating whether said sensor signal is between a lower threshold value and an upper threshold value;

    a timer circuit configured to;

    set a discharge enable signal to a first logic level in response to said timer circuit being reset via a reset signal; and

    determine a time elapsed since said timer circuit has been reset via the reset signal;

    determine whether said time elapsed exceeds a given timeout value; and

    if said time elapsed exceeds said given timeout value, set said discharge enable signal to a second logic level to cause the active discharge circuit to discharge the X capacitor;

    an elaboration circuit configured to generate said reset signal for said timer circuit as a function of said comparison signal, the elaboration circuit configured to;

    detect whether said comparison signal includes both a leading and a falling edge; and

    in the case where said comparison signal includes both said leading edge and said falling edge, determine a time elapsed between said leading edge and said falling edge;

    detect whether said time elapsed between said leading edge and said falling edge is smaller than a given time threshold value; and

    reset said timer circuit via said reset signal in response to detecting that said time elapsed between said leading and said falling edge is smaller than said given time threshold value; and

    to generate, based on the comparison signal from said window comparator, first and second control signals indicating whether the sensor signal is increasing or decreasing; and

    a dynamic threshold generator circuit configured to generate said lower and upper threshold values of said window comparator based on the sensor signal, and said dynamic threshold generator circuit further configured to vary in a feed-back manner said lower and upper threshold values of said window comparator as a function of said first and second control signals from said elaboration circuit.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×