This disclosure relates to power supplies, and more specifically to the discharging of x-capacitors in power supplies.
A device, such as a power supply, that receives line-level AC power may include one or more components to improve the functionality of the device. For instance, a device may include a capacitor electrically positioned across two of the conductors (e.g., across the hot and neutral conductors in North America or the L-1 and L-2 conductors in Europe) to filter the line-level AC power signal. In some examples, such a capacitor may be referred to as an x-capacitor.
However, in some examples, the inclusion of an x-capacitor may present one or more disadvantages. For instance, the conductors of a plug of a device that includes an x-capacitor may remain charged after the plug has been removed from an outlet, which may be hazardous.
In one example, a method includes storing, by a device, a peak voltage level, a valley voltage level, and a frequency of a signal that corresponds to an alternating current (AC) signal across a capacitor; periodically determining, by the device and at a frequency determined based on the stored frequency of the signal, whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal; determining, based on whether the current peak voltage level of the signal is different than the stored peak voltage level or the current valley voltage level of the signal is different than the stored valley voltage level, whether the AC signal has been removed from the capacitor; and in response to determining, by the device, that the AC signal has been removed from the capacitor, discharging the capacitor
In another example, a device includes one or more components configured to discharge a capacitor; an analog-to-digital converter (ADC) configured to generate samples that represent voltage levels of a signal that corresponds to an AC signal across the capacitor; and one or more processors. In this example, the one or more processors are configured to: determine, based on samples generated by the ADC, a peak voltage level, a valley voltage level, and a frequency of the signal; periodically determine, based on samples generated at a frequency determined based on the stored frequency of the signal, whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal; determine, based on whether the current peak voltage level of the signal is different than the stored peak voltage level or the current valley voltage level of the signal is different than the stored valley voltage level, whether the AC signal has been removed from the capacitor; and in response to determining that the AC signal has been removed from the capacitor, cause the one or more components to discharge the capacitor.
In another example, a device includes means for storing a peak voltage level, a valley voltage level, and a frequency of a signal that corresponds to an AC signal across a capacitor; means for periodically determining, at a frequency determined based on the stored frequency of the signal, whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal; means for determining, based on whether the current peak voltage level of the signal is different than the stored peak voltage level or the current valley voltage level of the signal is different than the stored valley voltage level, whether the AC signal has been removed from the x-capacitor; and means for discharging the capacitor in response to determining that the AC signal has been removed from the x-capacitor.
Details of these and other examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.
In general, this disclosure is directed to devices, systems, and techniques for discharging capacitors electrically positioned across two conductors (e.g., across the hot and neutral conductors in North America or the L-1 and L-2 conductors in Europe) to filter the line-level AC power signal, such as x-capacitors. As noted above, the inclusion of an x-capacitor may present one or more disadvantages, such as the conductors of a plug of a device that includes an x-capacitor remaining charged after the plug has been removed from an outlet. Some international safety standards contain requirements that may address this potential hazard. For instance, International Electrotechnical Commission standard IEC61.010-1, “Safety Requirements for Electrical Equipment for Measurement, Control, and Laboratory Use—Part 1: General Requirements,” (available at https://webstore.iec.ch/publication/4279), hereinafter “IEC61010-1”, requires that the AC (live) pin should not be hazardous within five seconds after disconnection from the supply power signal.
Input filter 4 may be configured to filter and/or stabilize input power signal VAC. As illustrated in
Rectifier 14 may be configured to rectify filtered AC power signal VAC into input voltage VIN. As illustrated in
Converter 18 may be configured to convert an input signal into an output signal. For instance, as shown in the example of
In operation, connectors 3 may be charged with input AC power signal VAC. For instance, where connectors 3 are included in a plug, the plug may be inserted into an outlet. Input filter 4A may filter and/or stabilize input power signal VAC, rectifier 14 may transform the filtered AC signal into DC signal Vin which may be smoothed by input capacitor 16. Converter 18 may convert DC signal Vin into output DC signal Vout.
When connectors 3 are charged with input AC power signal VAC, capacitor 6 and capacitor 12 may become charged, potentially at with a high voltage level. However, when input AC power signal VAC is removed from connectors 3, capacitor 6 and capacitor 12 may remain charged. As discussed above, it may be desirable for connectors 3 to cease being hazardous within five seconds after disconnection from the supply power signal.
In accordance with one or more techniques of this disclosure, device 2A may include discharge resistor 8 which may be configured to discharge capacitor 6 and/or capacitor 12. For instance, as shown in
However, in some examples, it may be undesirable for a device to include a discharge resistor across the AC input connectors (i.e., connectors 3). For instance, as discharge resistor 8 is positioned across connectors 3, discharge resistor 8 may constantly consume power. The constant consumption of power may be even less desirable when device 2A is configured to operate in low-power modes, such as a standby mode (e.g., where device 2A is connected to input AC power signal VAC but not providing output power signal Vout). In such modes, it may be desirable for device 2A to minimize the amount of power consumed. Additionally, various standards and/or regulations may limit the amount of power that a device may consume in a low-power mode. As one example, EPS 2014 limits the amount of power that may be consumed by a power supply with no load to 100 milli-watts (mW). As another example, in order to obtain a European Certificate of Conformity (CoC), a power supply may not consume more than 75 milli-watts (mW) no load. As such, it may be desirable for a device to include a capacitor across an input AC power signal, for the capacitor to be discharged when the AC power signal is removed, and have minimal standby power consumption.
D&D components 20A may be configured to detect when input AC power signal VAC has been removed from connectors 3, and discharge capacitor 6 and capacitor 12 in response to detecting that input AC power signal VAC has been removed from connectors 3. As illustrated in
Rectifier 22 may be configured to rectify input AC signal VAC to generate a rectified signal which is passed through resistor 26 to result in V1. Sampler 28 may sample V1 according to a period Tsampling of a clock signal CLK to generate a second sampling signal VS2. In particular, sampler 28 may periodically sample V1 (i.e., at multiples of 90° of the input sine wave).
Reference voltage generator 32 may generate a reference voltage Vref from the second sampling signal VS2. In particular, reference voltage generator 32 may generate reference voltage Vref based on the peak voltage of second sampling signal VS2, which may correspond to the peak voltage of input AC signal VAC.
Comparator 34 may compare the second sampling signal VS2 with the reference voltage Vref to output a comparison signal Vcomp. Power source cutoff detector 36 may determine, based on the comparison signal Vcomp, whether the input AC signal VAC has been removed from connectors 3. In particular, power source cutoff detector 36 may determine that the input AC signal VAC has been removed from connectors 3 where the second sampling signal VS2 is less than the reference voltage Vref for n-bit time. The time for n-bit may be eight AC cycles, or 160 milli-seconds (ins) for a 50 hertz (Hz) input AC signal.
If power source cutoff detector 36 determines that the input AC signal VAC has been removed from connectors 3, power source cutoff detector 36 may output power source cutoff signal Vac_off to cause sampler 28 to discharge capacitor 6 and capacitor 12 via resistor 30. In this way, once input AC power signal VAC is removed from connectors 3, D&D components 20A may discharge capacitor 6 and capacitor 12, which may cause the voltage across connectors 3 to become non-hazardous.
However, in some examples, it may be undesirable to utilize D&D components 20A to detect when input AC power signal VAC has been removed. For instance, as discussed above, the time elapsed from the point where input AC power signal VAC is removed and D&D components 20A determine that the input AC power signal VAC was removed is eight AC cycles. As it is desirable for connectors 3 to become non-hazardous as soon as possible, any additional delay in the detection of the removal of input AC power signal VAC may not be desirable.
Additionally, D&D components 20A base the determination of whether the input AC signal VAC has been removed only on the peak voltage of the input AC signal VAC (i.e., without regard for the valley voltage of the input AC signal VAC). Basing the determination only on the peak voltage may not be desirable as, in sonic examples, the sensed AC waveform (i.e., V1) may have a non-zero valley voltage. If the sensed AC waveform is higher than the reference voltage, then a mis-triggering error may occur within D&D components 20A.
Furthermore, the touch current (also referred to as pulse current) resulting from D&D components 20A may be undesirably high. In some examples, such as when complying with various standards (e.g., standards defined by IEC60665, IEC60950, or IEC60335-1) it may be desirable for the touch current to be less than 0.25 milli-amps (mA) root-mean-squared (rms) and less than 0.35 mA peak. However, the peak touch current resulting from D&D components 20A may be greater than 0.35 mA.
As such, it may be desirable for a device to include a capacitor across an input AC power signal, for the capacitor to be discharged when the AC power signal is removed, for the device to be able to detect removal of the AC power signal in less than eight AC cycles, for the device to properly determine whether AC power signals with non-zero valley voltages have been removed, for the resulting pulse current to be less than 0.35 mA peak, and for the device to have minimal standby power consumption.
D&D components 20B may be configured to detect when input AC power signal VAC has been removed from connectors 3, and discharge capacitor 6 and capacitor 12 in response to detecting that input AC power signal VAC has been removed from connectors 3. As illustrated in
In some examples, D&D components 20B may include transistor 42. In sonic examples, transistor 42 may perform one or more functions. For instance, transistor 42 may be operable to charge Vcc capacitor 46, to enable sensing of the voltage of the rectified AC signal generated by rectifier 22, and to enable discharging of capacitors 6 and 12. Examples of transistor 42 include, but are not necessarily limited to, one or more metal-oxide-semiconductor field-effect transistors (MOSFETs), one or more gallium nitride (GaN) switches, one or more thyristors, one or more insulated-gate bipolar transistors (IGBTs), and/or a combination of the same. In examples where transistor 42 includes one or more MOSFETs, the one or more MOSFETs may include one or more depletion mode MOSFETS and/or one or more enhancement mode MOSFETs.
In some examples, D&D components 20B may include regulated voltage generator 60, which may be configured to generate a regulated voltage. Regulated voltage generator 60 may output the regulated voltage to one or more other components of D&D components 20B, such as switch 44E.
In some examples, D&D components 20B may include sampler 62, which may be configured to generate samples of a voltage signal. For instance, as shown in the example of
In some examples, D&D components 20B may include peak and valley holder 64. In some examples, such as where the samples generated by sampler 62 are digital samples, peak and valley holder 64 may include one or more memory elements configured to store the digital samples. For instance, peak and valley holder 64 may include a first register configured to store a sample corresponding to the peak voltage of the input AC power signal VAC, a second register configured to store a sample corresponding to the valley voltage of the input AC power signal VAC. In some examples, such as where the samples generated by sampler 62 are analog samples, sampler 62 and peak and valley holder 64 may together form one or more sample-and-hold circuits. In some examples, peak and valley holder 64 may also be configured to store a representation of a frequency of the input AC power signal VAC.
In some examples, D&D components 20B may include AC removal detector 66, which may be configured to determine whether one or more conditions has occurred to the input AC power signal VAC. As one example, AC removal detector 66 may determine whether the input AC power signal VAC has been removed from connectors 3. As another example, AC removal detector 66 may determine whether the input AC power signal VAC has dropped out. As another example, AC removal detector 66 may determine whether the voltage and/or frequency of input AC power signal VAC has changed. In response to determining that the input AC power signal VAC has been removed from connectors 3, AC removal detector 66 may perform one or more actions to cause capacitor 6 and/or capacitor 12 to discharge. For instance, AC removal detector may output a signal that causes switch 44B and switch 44E to close.
In operation, D&D components 20B may initially charge Vcc capacitor 46. For instance, while switch 44C and switch 44E are closed, the regulated voltage generated by regulated voltage generator 60 may be applied to a control terminal (i.e., a gate or a base) of transistor 42. In response to the regulated voltage, transistor 42 may cause Vcc capacitor 46 to charge with a current defined by resistor 41. Once Vcc capacitor 46 is charged to a threshold on voltage (e.g., a turn-on threshold of IC 40), D&D components 20B may cease charging Vcc capacitor 46. For instance, D&D components 20B may open switch 44C and switch 44E.
D&D components 20B may perform one or more operations to sense the voltage of input AC power signal VAC. For instance, D&D components 20B may close switch 44A and switch 44D. As a result of closing switch 44A and switch 44D, the voltage at nodes A, B, and C may drop to a low voltage. Additionally, the voltage at node C may correspond to (i.e., follow) the rectified AC voltage (i.e., the voltage of the rectified AC signal generated by rectifier 22). As sampler 62 may be configured to sample the voltage at node C, the samples generated by sampler 62 may correspond to the voltage of the rectified AC voltage and similarly correspond to the voltage of the input AC power signal VAC at connectors 3.
In accordance with one or more techniques of this disclosure, as opposed to only sensing an initial peak voltage level, D&D components 20B may perform one or more operations to measure and store an initial peak voltage level, an initial valley voltage level, and an initial frequency of a signal that corresponds to the input AC power signal VAC. For instance, sampler 62 may determine, and peak and valley holder 64 may store, an initial peak voltage level, an initial valley voltage level, and an initial frequency of the voltage signal at node C. In some examples, D&D components 20B may perform the initial measurements in accordance with the techniques discussed below with reference to
In some examples, following the initial measurements, D&D components 20B may periodically determine whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal. For instance, sampler 62 may sample the voltage at node C every quarter line frequency (i.e., one fourth of the stored frequency of the signal), and AC removal detector 66 may compare the samples with the stored peak voltage level and the stored valley voltage level. If the sample generated by sampler 62 is within a range (e.g., plus or minus 5%, 10%, 15%) of the stored sample, AC removal detector 66 may determine that the current level is not different than the stored level. For instance, if the sample generated by sampler 62 at the peak of the signal is within the range of the stored peak voltage level, AC removal detector 66 may determine that the current peak voltage level is not different than the stored peak voltage level.
D&D components 20B may determine, based on whether the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal, whether a change has occurred with respect to input AC power signal VAC, Some changes that may occur with respect to input AC power signal VAC include input AC power signal VAC being removed from connectors 3 (and thus capacitor 6 and/or capacitor 12), input AC power signal VAC dropping out, and the voltage level of input AC power signal VAC changing. Further details of the removal, drop-out, and voltage change cases are respectively discussed below with reference to
In some examples, in response to determining that the current peak voltage level of the signal is different than the stored peak voltage level of the signal or that the current valley voltage level of the signal is different than the stored valley voltage level of the signal, D&D components 20B may attempt to detect and store a new peak voltage, valley voltage, and frequency of the signal. If D&D components 20B are not able to detect a new peak or valley voltage within a number AC cycles (e.g., two, three, four, five), D&D components 20B may discharge capacitor 6 and/or capacitor 12.
However, if D&D components 20B are able to detect a new peak and valley voltage within the number AC cycles, D&D components 20B may cause peak and valley holder 64 to store the new peak and valley voltages. Sampler 62 may resume periodically generating samples of the signal and AC removal detector 66 may compare the samples to the newly stored peak and valley voltages to determine whether input AC power signal VAC has been removed from connectors 3.
As discussed above, it may be desirable to minimize the touch current of device 2C. In accordance with one or more techniques of this disclosure, D&D components 20B may include resistor 48, resistor 50, and resistor 52 and the total resistance of resistor 48, resistor 50, and resistor 52 may be selected to minimize the touch current of device 2C. In some examples, the value of resistor 52 may be selected to minimize the touch current of device 2C based on the input line voltage (i.e., the voltage of input AC power signal VAC) For instance, if the input line voltage is 264 VAC and the Y-capacitor value is large (e.g., 2.2 nano-farads (nF)), the total resistance of resistor 48, resistor 50, and resistor 52 may be selected to be 4 mega-ohms (MΩ) (e.g., Further details of the effect that resistor 48, resistor 50, and resistor 52 have on the touch current are discussed below with reference to
In some examples, such as where transistor 42 comprises a depletion MOSFET, it can be shown (e.g., in
In some examples, D&D components 20B may determine whether input AC signal VAC has been removed as follows. In the first AC cycles after IC 40 is turned on, sampler 62 sense the peak and valley voltages is sensed and peak and valley holder 64 may store the sensed peak and valley voltages as the peak and valley reference voltages. Additionally, the AC frequency fL may be detected and stored. In subsequent AC cycles, sampler 62 may generate a sample of the voltage level at every quarter of line frequency (e.g., fL/4, 2fL/4, 3fL/4 and 4fL/4).
Nodes A, B and C may be maintained at low voltage by the feedback circuit through resistor 48 and resistor 50. The rectified AC voltage waveform may be sensed and/or sampled at node C. The voltage at node C may be sampled with peak and valley hold. AC removal detector 66 may compare the sampled data with the hold peak and valley reference voltage. If the sampled data is less than peak reference voltage and higher than valley reference voltage for three AC cycles, AC removal detector 66 may determine that the input AC signal VAC has been removed. In response to determining that the input AC signal VAC has been removed, AC removal detector 66 may send a signal that causes switch 44B to close, which results in the discharge of capacitors 6 and 12 via transistor 42.
As discussed above, D&D components 20B may determine a peak voltage level, a valley voltage level, and a frequency of an AC signal. For instance, as illustrated in
As discussed above, after determining the peak voltage level, the valley voltage level, and the frequency, D&D components 20B may periodically determine whether the AC signal has changed. For instance, sampler 62 may determine samples of the voltage level at node C at times 410A-410B, and AC removal detector 66 may analyze the samples to determine whether the AC signal has changed (i.e., been removed, dropped-out, or voltage level or frequency change).
Each of
As discussed above, after determining the peak voltage level, the valley voltage level, and the frequency, D&D components 20B may periodically determine whether the AC signal has changed. For instance, sampler 62 may determine samples of the voltage level at node C at times 510A-510C, and AC removal detector 66 may analyze the samples to determine whether the AC signal has changed (i.e., been removed, dropped-out, or voltage level or frequency change).
When the AC line is undergoing line drop out case, the AC line would stop for a maximum of two AC cycles. After that, the AC Input would resume. As illustrated in
As shown by plot 502A, there may be no change in the voltage of the AC signal during the line drop out (the dashed line represents what the AC signal would be if the AC signal had not dropped-out). In order to cover the line drop time requirement and prevent a mis-triggering of the discharge mode, D&D components 20B continue to monitor the voltage but may take no action for two AC cycles (i.e., during time period 512). After that D&D components 20B may monitor the voltage level for another one AC cycle (i.e., during time period 514) to attempt to detect the peak voltage, valley voltage and line frequency. In the example of
As discussed above, after determining the new peak voltage level, the new valley voltage level, and the new frequency, D&D components 20B may periodically determine whether the AC signal has changed. For instance, sampler 62 may determine samples of the voltage level at node C at times 516A-516E, and AC removal detector 66 may analyze the samples to determine whether the AC signal has changed (i.e., been removed, dropped-out, or voltage level or frequency change). As illustrated in the example of
The line voltage/frequency change case illustrated in
As discussed above, after determining the new peak voltage level, the new valley voltage level, and the new frequency, D&D components 20B may periodically determine whether the AC signal has changed. For instance, sampler 62 may determine samples of the voltage level at node C at times 516A-516D, and AC removal detector 66 may analyze the samples to determine whether the AC signal has changed (i.e., been removed, dropped-out, or voltage level or frequency change). As illustrated in the example of
When the input AC power signal VAC is removed, the AC line is 0V (i.e., the voltage across connectors 3 may be zero. However, as capacitor 6 and capacitor 12 are positioned across connectors 3, removal of the input AC power signal VAC may not cause the voltage at node C to become zero as one or both of capacitor 6 and capacitor 12 may hold-up the voltage level at node C. For instance, as illustrated in the example of
In the example of
In accordance with one or more techniques of this disclosure and as illustrated in
As can be observed from
In accordance with one or more techniques of this disclosure, device 2C may store a peak voltage level, a valley voltage level, and a frequency of a signal that corresponds to an alternating current (AC) signal across an x-capacitor, such as capacitor 6 and/or capacitor 12 of
Device 2C may periodically determine whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal (904). For instance, sampler 62 may generate, at a frequency determined based on the stored frequency of the signal, samples that represent the voltage at node C. AC removal detector 66 may compare the samples generated by sampler 62 with the stored peak voltage level and the stored valley voltage level from peak and valley holder 64 to determine whether the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal.
Device 2C may determine, based on whether the current peak voltage level of the signal is different than the stored peak voltage level or the current valley voltage level of the signal is different than the stored valley voltage level, whether the AC signal has been removed from the x-capacitor (906). In some examples, AC removal detector 66 may determine that the AC signal has been removed from the x-capacitor where twelve consecutive samples are less than the stored peak voltage level and greater than the valley voltage level.
If device 2C determines that the AC signal has not been removed from the x-capacitor (“No” branch of 908), device 2C may continue to periodically determine whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal (904). However, if device 2C determines that the AC signal has been removed from the x-capacitor (“Yes” branch of 908), device 2C may discharge the x-capacitor (910).
In accordance with one or more techniques of this disclosure, device 2C may activate a startup cell, which may include one or more components of IC 40, for one AC cycle to determine and store a peak voltage level, a valley voltage level, and a frequency (fL) of a signal that corresponds to an alternating current (AC) signal across an x-capacitor, such as capacitor 6 and/or capacitor 12 of
Device 2C may periodically activate the startup cell (i.e., at fL/4) to determine whether the AC signal has been removed from the x-capacitor (1004). To determine whether the AC signal has been removed from the x-capacitor, device 2C may determine whether the peak voltage or the valley voltage of the signal has changed (1006). If the peak voltage and the valley voltage of the signal have not changed (“No” branch of 1006), device 2C may determine that the AC signal has not been removed from the x-capacitor and continue to periodically activate the startup cell to determine whether the AC signal has been removed from the x-capacitor (1004).
If the peak voltage and the valley voltage of the signal has changed (“Yes” branch of 1006), device 2C may activate the startup cell for one AC cycle (1008) and attempt to detect a new peak voltage, a new valley voltage, and a new frequency of the signal. If device 2C is able to detect a new peak voltage, a new valley voltage, and a new frequency of the signal (“Yes” branch of 1010), device 2C may determine that the AC signal has not been removed from the x-capacitor and continue to periodically activate the startup cell to determine whether the AC signal has been removed from the x-capacitor (1004).
If device 2C is not able to detect a new peak voltage, a new valley voltage, and a new frequency of the signal (“No” branch of 1010), device 2C may hold for two AC cycles and attempt to detect a new peak voltage, a new valley voltage, and a new frequency of the signal for another one AC cycle (1012). If device 2C is able to detect a new peak voltage, a new valley voltage, and a new frequency of the signal (“Yes” branch of 1014), device 2C may determine that the AC signal has not been removed from the x-capacitor and continue to periodically activate the startup cell to determine whether the AC signal has been removed from the x-capacitor (1004). If device 2C is not able to detect a new peak voltage, a new valley voltage, and a new frequency of the signal (“No” branch of 1014), device 2C may determine that the AC signal has been removed from the X-capacitor and discharge the x-capacitor (1016).
The following numbered examples may illustrate one or more aspects of the disclosure:
A method comprising: storing, by a device, a peak voltage level, a valley voltage level, and a frequency of a signal that corresponds to an alternating current (AC) signal across a capacitor; periodically determining, by the device and at a frequency determined based on the stored frequency of the signal, whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal; determining, based on whether the current peak voltage level of the signal is different than the stored peak voltage level or the current valley voltage level of the signal is different than the stored valley voltage level, whether the AC signal has been removed from the capacitor; and in response to determining, by the device, that the AC signal has been removed from the capacitor, discharging the capacitor.
The method of example 1, wherein the frequency determined based on the determined frequency of the signal comprises a quarter of the stored frequency of the signal.
The method of any combination of examples 1-2, wherein periodically determining whether the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal comprises sampling the voltage level of the signal at the frequency and comparing the samples to one or both of the stored peak voltage level and the stored valley voltage level; and determining whether the AC signal has been removed from the capacitor comprises determining that the AC signal has been removed from the capacitor where twelve consecutive samples are less than the stored peak voltage level and greater than the valley voltage level.
The method of any combination of examples 1-3, wherein: determining that the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal comprises determining that the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal at a first time; discharging the capacitor comprises triggering the discharge of the capacitor before a second time; and a time difference between the first time and the second time is less than or equal to a length of four cycles at the stored frequency of the signal.
The method of any combination of examples 1-4, wherein determining whether the AC signal has been removed from the capacitor comprises: determining that the AC signal has not been removed from the capacitor in response to determining that a line voltage of the AC signal has changed; and determining that the AC signal has not been removed from the capacitor in response to determining that the AC signal dropped-out at or before the first time and recovered from the drop-out at or before a third time that is between the first time and the second time.
The method of any combination of examples 1-5, wherein a time difference between the first time and the third time is equal to a length of two cycles at the stored frequency of the signal, and wherein a time difference between the third time and the second time is equal to a length of one cycle at the stored frequency of the signal.
The method of any combination of examples 1-6, wherein determining that the line voltage of the AC signal has changed comprises determining whether the line voltage of the AC signal has changed based on whether the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal, the method further comprising: in response to determining that the line voltage of the AC signal has changed, respectively updating, by the device, the stored peak voltage level, the stored valley voltage level, and the stored frequency of the signal with the current peak voltage level, the current valley voltage level, and a current frequency of the signal.
The method of any combination of examples 1-7, wherein the valley voltage of the AC signal is non-zero.
The method of any combination of examples 1-8, wherein the capacitor is an x-capacitor.
The method of any combination of examples 1-9, wherein: determining whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal comprises sampling the voltage level of the signal with a relatively high resistance between the capacitor and ground; and discharging the capacitor comprises discharging the capacitor with a relatively low resistance, as compared to the relatively high resistance, between the capacitor and ground.
A device comprising: one or more components configured to discharge a capacitor; an analog-to-digital converter (ADC) configured to generate samples that represent voltage levels of a signal that corresponds to an alternating current (AC) signal across the capacitor; and one or more processors configured to: determine, based on samples generated by the ADC, a peak voltage level, a valley voltage level, and a frequency of the signal; periodically determine, based on samples generated at a frequency determined based on the stored frequency of the signal, whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal; determine, based on whether the current peak voltage level of the signal is different than the stored peak voltage level or the current valley voltage level of the signal is different than the stored valley voltage level, whether the AC signal has been removed from the capacitor; and in response to determining that the AC signal has been removed from the capacitor, cause the one or more components to discharge the capacitor.
The device of example 11, wherein the frequency determined based on the determined frequency of the signal comprises a quarter of the stored frequency of the signal.
The device of any combination of examples 11-12, wherein: the ADC is configured to sample the voltage level of the signal at the frequency to periodically determine whether the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal, the one or more processors are configured to compare the samples to one or both of the stored peak voltage level and the stored valley voltage level; and the one or more processors are configured to determine that the AC signal has been removed from the capacitor where twelve consecutive samples are less than the stored peak voltage level and greater than the valley voltage level.
The device of any combination of examples 11-13, wherein: the one or more processors are configured to determine that the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal at a first time; the one or more processors are configured to cause the one or more components to discharge the capacitor before a second time; and wherein a time difference between the first time and the second time is less than or equal to a length of four cycles at the stored frequency of the signal.
The device of any combination of examples 11-14, wherein, to determine whether the AC signal has been removed from the capacitor, the one or more processors are configured to: determine that the AC signal has not been removed from the capacitor in response to determining that a line voltage of the AC signal has changed; and determine that the AC signal has not been removed from the capacitor in response to determining that the AC signal dropped-out at or before the first time and recovered from the drop-out at or before a third time that is between the first time and the second time.
The device of any combination of examples 11-15, wherein a time difference between the first time and the third time is equal to a length of two cycles at the stored frequency of the signal, and wherein a time difference between the third time and the second time is equal to a length of one cycle at the stored frequency of the signal.
The device of any combination of examples 11-16, wherein: the one or more processors are configured to determine whether the line voltage of the AC signal has changed based on whether the current peak voltage level of the signal is different than the stored peak voltage level of the signal or the current valley voltage level of the signal is different than the stored valley voltage level of the signal; and in response to determining that the line voltage of the AC signal has changed, the one or more processors are further configured to respectively update, by the device, the stored peak voltage level, the stored valley voltage level, and the stored frequency of the signal with the current peak voltage level, the current valley voltage level, and a current frequency of the signal.
The device of any combination of examples 11-17, wherein the valley voltage of the AC signal is non-zero.
The device of any combination of examples 11-18, wherein the capacitor is an x-capacitor.
A device comprising: means for storing a peak voltage level, a valley voltage level, and a frequency of a signal that corresponds to an alternating current (AC) signal across a capacitor; means for periodically determining, at a frequency determined based on the stored frequency of the signal, whether a current peak voltage level of the signal is different than the stored peak voltage level of the signal or a current valley voltage level of the signal is different than the stored valley voltage level of the signal; means for determining, based on whether the current peak voltage level of the signal is different than the stored peak voltage level or the current valley voltage level of the signal is different than the stored valley voltage level, whether the AC signal has been removed from the x-capacitor; and means for discharging the capacitor in response to determining that the AC signal has been removed from the x-capacitor.
The device of example 20, further comprising means for performing the method of any combination of examples 1-10.
The techniques described in this disclosure may be implemented, at least in part, in hardware, software, firmware, or any combination thereof. For example, various aspects of the described techniques may be implemented within one or more processors, including one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components. The term “processor” or “processing circuitry” may generally refer to any of the foregoing logic circuitry, alone or in combination with other logic circuitry, or any other equivalent circuitry. A control unit including hardware may also perform one or more of the techniques of this disclosure.
Such hardware, software, and firmware may be implemented within the same device or within separate devices to support the various techniques described in this disclosure. In addition, any of the described units, modules, or components may be implemented together or separately as discrete but interoperable logic devices. Depiction of different features as modules or units is intended to highlight different functional aspects and does not necessarily imply that such modules or units must be realized by separate hardware, firmware, or software components. Rather, functionality associated with one or more modules or units may be performed by separate hardware, firmware, or software components, or integrated within common or separate hardware, firmware, or software components.
The techniques described in this disclosure may also be embodied or encoded in an article of manufacture including a computer-readable storage medium encoded with instructions. Instructions embedded or encoded in an article of manufacture including a computer-readable storage medium encoded, may cause one or more programmable processors, or other processors, to implement one or more of the techniques described herein, such as when instructions included or encoded in the computer-readable storage medium are executed by the one or more processors. Computer readable storage media may include random access memory (RAM), read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electronically erasable programmable read only memory (EEPROM), flash memory, a hard disk, a compact disc ROM (CD-ROM), a floppy disk, a cassette, magnetic media, optical media, or other computer readable media. In some examples, an article of manufacture may include one or more computer-readable storage media.
In some examples, a computer-readable storage medium may include a non-transitory medium. The term “non-transitory” may indicate that the storage medium is not embodied in a carrier wave or a propagated signal. In certain examples, a non-transitory storage medium may store data that can, over time, change (e.g., in RAM or cache).
Various aspects have been described in this disclosure. These and other aspects are within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
4063182 | Besson | Dec 1977 | A |
6194885 | Oshima | Feb 2001 | B1 |
6316883 | Cho | Nov 2001 | B1 |
7235999 | Goetting | Jun 2007 | B2 |
8222772 | Vinciarelli | Jul 2012 | B1 |
8710806 | Moon et al. | Apr 2014 | B2 |
9087656 | Vinciarelli | Jul 2015 | B1 |
20110249476 | Chen | Oct 2011 | A1 |
20120201055 | Moon | Aug 2012 | A1 |
20130147440 | Shiroyama | Jun 2013 | A1 |
20130335038 | Lee | Dec 2013 | A1 |
20140036559 | Watanabe | Feb 2014 | A1 |
20150048678 | Gong | Feb 2015 | A1 |
20150263600 | Bhandarkar | Sep 2015 | A1 |
20150288286 | Chu | Oct 2015 | A1 |
Entry |
---|
“FAN6757—mWSaver PWM Controller,” Rev. 1.0.1, Fairchild Semiconductor Corporation, Nov. 2013, 17 pp. |
“Household and similar electrical appliances—Safety—Part 1: General requirements,” IEC International Standard Preview, IEC 60335-1, Edition 5.0, May 2010, 25 pp. |
“Information technology equipment—Safety—Part 1: General requirements,” IEC International Standard Preview, IEC 60950-1, Edition 2.0, Dec. 2005, 33 pp. |
“A.C. electric ventilating fans and regulators for household and similar purposes,” IEC International Standard Preview, IEC 60665, 1st Edition, Jan. 1980, 7 pp. |
“Safety requirements for electrical equipment for measurement, control, and laboratory use—Part 1: General requirements,” IEC International Standard Preview, IEC 61010-1, Edition 3.0, Jun. 2010, 37 pp. |
Number | Date | Country | |
---|---|---|---|
20170187217 A1 | Jun 2017 | US |