EP2750275B1 - Low loss mains detection with sampling suspension for PFC SMPS - Google Patents
Low loss mains detection with sampling suspension for PFC SMPS Download PDFInfo
- Publication number
- EP2750275B1 EP2750275B1 EP12199842.1A EP12199842A EP2750275B1 EP 2750275 B1 EP2750275 B1 EP 2750275B1 EP 12199842 A EP12199842 A EP 12199842A EP 2750275 B1 EP2750275 B1 EP 2750275B1
- Authority
- EP
- European Patent Office
- Prior art keywords
- sample
- input
- delay interval
- sample value
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000005070 sampling Methods 0.000 title claims description 69
- 239000000725 suspension Substances 0.000 title description 9
- 238000001514 detection method Methods 0.000 title description 3
- 239000003990 capacitor Substances 0.000 claims description 57
- 238000000034 method Methods 0.000 claims description 40
- 230000004044 response Effects 0.000 claims description 17
- 230000000670 limiting effect Effects 0.000 claims description 16
- 230000008569 process Effects 0.000 description 23
- 238000001914 filtration Methods 0.000 description 22
- 230000001965 increasing effect Effects 0.000 description 12
- 230000002829 reductive effect Effects 0.000 description 10
- 238000004804 winding Methods 0.000 description 9
- 230000000630 rising effect Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 4
- 230000007423 decrease Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000007599 discharging Methods 0.000 description 2
- 230000005669 field effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000001681 protective effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 101100388504 Chlamydomonas reinhardtii ODA4 gene Proteins 0.000 description 1
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 101100389631 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) SUP45 gene Proteins 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000001627 detrimental effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000003071 parasitic effect Effects 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/13—Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
- H03K5/14—Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of delay lines
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/42—Circuits or arrangements for compensating for or adjusting power factor in converters or inverters
- H02M1/4208—Arrangements for improving power factor of AC input
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0003—Details of control, feedback or regulation circuits
- H02M1/0012—Control circuits using digital or numerical techniques
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0048—Circuits or arrangements for reducing losses
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/12—Arrangements for reducing harmonics from AC input or output
- H02M1/126—Arrangements for reducing harmonics from AC input or output using passive filters
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/32—Means for protecting converters other than automatic disconnection
- H02M1/322—Means for rapidly discharging a capacitor of the converter for protecting electrical components or for preventing electrical shock
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B70/00—Technologies for an efficient end-user side electric power management and consumption
- Y02B70/10—Technologies improving the efficiency by using switched-mode power supplies [SMPS], i.e. efficient power electronics conversion e.g. power factor correction or reduction of losses in power supplies or efficient standby modes
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P80/00—Climate change mitigation technologies for sector-wide applications
- Y02P80/10—Efficient use of energy, e.g. using compressed air or pressurized fluid as energy carrier
Definitions
- the disclosure relates to control circuits. Specifically, although not exclusively, the disclosure relates to control circuits for switched mode power supplies.
- EMI filters In order to suppress electromagnetic interference, in most cases an input filter is required on the mains input of apparatus like switched mode power supplies (SMPS).
- SMPS switched mode power supplies
- EMI filters typically include one or more capacitors connected between the mains input terminals. These capacitors are known as X capacitors.
- EMI filters typically also include one or more capacitances connected between one of the mains terminals and a protective earth. This type of capacitor is known as a Y capacitor.
- the protective earth takes the form of a secondary ground, to which the Y capacitors are connected, whereas the bridge rectifier is grounded to a separate primary ground.
- the primary and secondary grounds have mains separation, but may typically be connected by one or more additional Y capacitors.
- United States Patent application publication number US 2012/0105016 A1 discloses a power supply including a discharging device, the discharging device generates a reference voltage according to a peak voltage of a generated sampling signal, generates an AC power source cutoff detection signal according to a comparison signal generated by comparing the sampling signal and a reference voltage, and discharges the capacitor.
- a similar discharge method and arrangement are disclosed in " A New Control Method using JFET for an Off-line Flyback Converter with Low Stand-by Power Consumption” by SangCheol Moon, SungWon Yun and Gun-Woo Moon, 8th International Conference on Power Electronics and ECCE, 2011, P 480-486 .
- a control circuit for a power supply unit that has an input for receiving a mains supply, the control circuit being as defined in claim 1.
- the control circuit reduces the power consumption of the power supply unit by setting an appropriate delay interval that is to be applied before sampling again. In this way, the number of samples taken over a fixed period of time can be reduced, which reduces the total power consumed by taking samples of the input for that fixed period of time. This is because unnecessary sampling of the mains power supply can be avoided or reduced.
- the sampled values may be digitized sample values.
- the control circuit may be configured to digitize the sample values to provide digitized sample values.
- the comparison may be a comparison of digitized sample values.
- the control circuit is configured to:
- the second delay interval is longer than the first delay interval.
- the second delay interval may have a duration of more than 10, 32, 64 milliseconds or 0.5 seconds, or may be greater than or equal to a duration of a quarter or a half of an AC waveform of the mains supply.
- the second delay interval may also depend on another setting or mode of operation of the power supply unit.
- the power supply unit further comprises a drainage switch configured to selectively connect the input to ground in accordance with a control signal; and wherein the control circuit is further configured to, if the outcome of the comparison is indicative of the second sample value being smaller than or equal to the first sample value, then:
- the duration of the determined number of consecutive samples may be greater than a quarter, a half, one, one and a quarter or one and a half AC waveforms of the mains supply. Typically, the duration may be equal to or slightly larger then one AC waveform.
- the first and second inputs are configured to receive the mains power supply.
- the power supply unit has a capacitor coupled between the first input and the second input.
- the power supply unit has a drainage switch configured to selectively discharge the capacitor and allow sampling of the first or second inputs in response to receiving a control signal.
- the control circuit is configured to provide the control signal to the drainage switch in order to sample the first or second inputs, which may be in accordance with the outcome of the comparison of the first and second sample values.
- the drainage switch may be configured to couple the first or second inputs to ground in response to receiving the control signal.
- the control circuit may be configured to provide the control signal to the drainage switch in response to values of a number of the plurality of samples being less than a threshold level.
- the control circuit may be configured to provide the control signal to the drainage switch in response to a number of the plurality of samples having equal or successively decreasing values.
- the control circuit may be configured to obtain the plurality of sample values over a period of time that spans more than a quarter, a half, one, one and a quarter or one and a half of an AC waveform of the mains supply.
- the first and second samples may be consecutive samples.
- the second sample may be a subsequent sample to the first sample.
- Each sample value may be a sample of a metric of the mains supply.
- the metric may be, or may be related to, a voltage between the first input and/or second input and ground.
- the comparison is configured to determine if the metric has increased between the first sample and the subsequent second sample.
- the control circuit is configured to set the delay interval as a long delay, which is longer than a delay interval that is used if the metric has not increased.
- the control circuit is configured to wait a default delay between the first sample and the second sample.
- the default delay may be a predetermined delay.
- the control circuit is configured to set the delay interval to be equal to the default delay unless the outcome of the comparison indicates that the delay interval should be set to a longer delay. The longer delay is longer than the default delay.
- the extended delay may have a duration of more than 10, 32, 64 milliseconds or 0.5 seconds or may be equal to a duration of a quarter or a half of an AC waveform of the mains supply. If mains power is present, a rising voltage will be detected by taking a plurality of samples. An extended delay may then be imposed in response to the presence of the mains power. Another plurality of samples may then be taken after the extended delay period has elapsed.
- the default delay may have a duration of 1 or 2 milliseconds.
- the extended delay may have a fixed relationship to the default delay, which can simplify circuit design in some examples.
- a power supply unit comprising the control according to claim 8.
- the power supply unit can be a consumer power supply unit for plugging into a wall socket, for example a battery charger.
- an electronic device comprising the control circuit or the power supply unit.
- a further aspect of the invention is a method according to claim 10.
- the method may further comprise grounding the input of the power supply unit in response to a plurality of sample values being less than a threshold level.
- the method may further comprise grounding the input of the power supply unit in response to a number of the plurality of sample values having equal or successively decreasing values.
- the method may further comprise:
- control circuit functionality may be provided at least in part by a computer program.
- the computer program may be a software implementation, and the computer may be considered as any appropriate hardware, including a digital signal processor, a microcontroller, and an implementation in read only memory (ROM), erasable programmable read only memory (EPROM) or electronically erasable programmable read only memory (EEPROM), as non-limiting examples.
- the software may be an assembly program.
- the computer program may be provided on a computer readable medium, which may be a physical computer readable medium such as a disc or a memory device, or may be embodied as a transient signal.
- a transient signal may be a network download, including an internet download.
- FIG. 1 illustrates a conventional power supply unit 100 for connecting to a mains supply 108.
- the power supply unit 100 has a filter 101, a bridge rectifier 104 and a switched mode power supply (SMPS) converter 106.
- SMPS switched mode power supply
- the power supply unit 100 has a first input 107 and a second input 109 for receiving the mains supply 108.
- the filter 101 is configured to be coupled between the inputs of the bridge rectifier 104 and the first and second inputs 107, 109 of the mains supply 108.
- the filter 101 can compensate for switching noise generated by the SMPS converter 106, so that such noise is not fed back to the mains supply 108.
- the bridge rectifier 104 provides a rectified mains signal to the SMPS converter 106.
- a further capacitor 114 is also provided in parallel with the output connections of the bridge rectifier 104 to smooth the rectified voltage waveform.
- the filter 101 comprises a mains side filtering capacitor 110, a converter side filtering capacitor 112 and a pair of inductor windings 102a, 102b that have a common core.
- Each of the inductor windings 102a, 102b has a mains side terminal and a converter side terminal.
- the mains side terminals of the respective windings 102a, 102b are configured to be coupled to the first and second inputs 107, 109 of the mains supply 108.
- the converter side terminals of the respective windings 102a, 102b are coupled to input connections of the bridge rectifier 104.
- the mains side filtering capacitor 110 has a first plate coupled to the first input of the power supply and the mains side terminal of a first winding 102a.
- the mains side filtering capacitor 110 has a second plate coupled to the second input of the power supply and the mains side terminal of a second winding 102b.
- the converter side filtering capacitor 112 has a first plate coupled to the first winding 102a.
- the converter side filtering capacitor 112 has a second plate coupled to the second winding 102b.
- the filtering capacitors can be provided as X capacitors.
- the impedance of the first and second windings 102a, 102b provides a high impedance path to the mains supply 108 for switching noise and so most of the noise current flows through the filtering capacitor 112.
- a resistor 115 is provided in parallel with the mains side filtering capacitor 110, 112 so that the mains side filtering capacitor 110, 112 can be discharged through the resistor 115. In this way, the potential stored in the capacitor 110, 112 is reduced.
- the reduction in stored charge is important to ensure that, for example, when a plug connected to the power supply unit is disconnected from the mains, a high voltage is not present across the terminals of the plug. Such a circumstance could present a danger to a user of the power supply unit.
- the resistor 115 also acts as a load while the power supply unit 100 is connected to the mains supply 108 in normal use. In this situation, the load provided by the resistor 115 is undesirable as it increases the power consumption of the power supply unit without providing any benefit to the operation of the power supply, especially when no-load input power consumption is required to be very low.
- Figure 2 illustrates a schematic drawing of another power supply unit 200.
- the resistor of the power supply unit of figure 1 has been removed so that the power consumption of the power supply unit 200 is reduced during normal operation.
- the power supply unit 200 has a first input 207 and a second input 209 for receiving the mains supply 208.
- a filtering capacitor 210 is coupled between the first input 207 and the second input 209, although it will be appreciated that other filtering components described above in relation to figure 1 , such as the capacitor 114, inductor 102 and capacitor 112, may also be provided in other circuits described herein.
- a bridge rectifier 204 is coupled to the inputs 207, 209 of the power supply unit 200 and provides output connections for a switched mode power supply converter (not shown).
- the power supply unit 200 of this example also comprises a sampling and discharge path 220, a circuit supply 236 and a control circuit 250.
- the sampling and discharge path 220 provides a configurable path between the inputs 207, 209 of the power supply unit 200 and ground through a drainage switch 226.
- the control circuit 250 is configured to control the drainage switch 226.
- the circuit supply 236 provides a supply voltage for the control circuit 250.
- the sampling and discharge path 220 is provided between the respective first and second inputs 207, 209 and ground.
- the sampling and discharge path 220 can be used to sample the voltage at the inputs 207, 209 of the power supply unit 200 in order to obtain sample values. Sample values can be taken both in no-load and load conditions.
- the sampling and discharge path 220 can also be used to at least partially discharge the filtering capacitor 210 under no load conditions.
- the sampling and discharge path 220 comprises a first diode 222, a second diode 224, a drainage switch 226 and an ammeter 232, which may also be referred to as a current meter or ampere meter.
- the anode of the first diode 222 is coupled to the first input 207.
- the anode of the second diode 224 is coupled to the second input 209.
- the cathode of the first diode 222 is coupled to the cathode of the second diode 224. In this way, a rectified version of the mains input voltage 208 is provided at the common cathode connection of the first and second diodes 222, 224.
- the common cathode connection of the first and second diodes 222, 224 is coupled to a first terminal (which may be referred to as a power connection) of the drainage switch 226.
- a second terminal (which may be referred to as a ground connection) of the drainage switch 226 is coupled to ground via the ammeter 232.
- the drainage switch 226 is operated (thereby connecting or disconnecting the first and second terminals) in response to receiving a control signal from the control circuit 250. As will be discussed below, closing the switch under no supply conditions can discharge the capacitor 210. Temporarily closing the switch under mains power supply conditions enables sampling of the input voltage to the power supply unit 200, in order to determine whether or not the mains supply is connected.
- the sampling and drainage path 220 is complete and a current is drawn from the mains inputs 207, 209 to ground through the ammeter 232, which measures the current drawn.
- the drawn current is proportional to the potential difference between the first and second inputs 207, 209 and ground.
- the control circuit 250 comprises an analog to digital converter (ADC) 252 and a controller 254.
- the control circuit 250 is configured to repeatedly sample a metric, such as the input voltage, or any parameter representative of the input voltage, of the power supply inputs 207, 209.
- the sampled metric of the power supply inputs 207, 209 is the current through the ammeter 232, which relates to the mains input voltage due to resistor 228.
- the controller 254 of the control circuit 250 is configured to provide a control signal to operate the drainage switch 226.
- the control signal is set in accordance with sampled value of the metric. Where the drainage switch 226 is provided by a transistor, the control signal is provided to the gate or base of the transistor.
- the ammeter 232 may also be considered to be part of the control circuit 250, although the ammeter 232 is illustrated separately from the control circuit 250 in this example.
- sampling and discharge path 220 a number of non-essential components are shown in the sampling and discharge path 220. Examples of such components include a JFET 230 and third diode 234. It will be appreciated that the ammeter 232 may also be considered as optional as any method of sampling a metric that relates to the input 207, 209 may be used in other examples.
- a resistor 228 is provided in series between the common cathode connection of the first and second diodes 222, 224 and the power connection of the drainage switch 226.
- the resistor 228 is used to convert the input voltage into a current that is convenient for measuring.
- the resistor 228 also limits the current that can be drawn by the sampling and discharge path 220 so as to protect components such as integrated circuits (ICs) and transistors that are connected to the sampling and discharge path 220.
- the brownout voltage level and low level mains voltage can be set/adjusted.
- the conduction path (between the drain and the source) of the JFET 230 is provided in series between the resistor 228 and the power connection of the drainage switch 226.
- the gate of the JFET 230 is coupled to ground.
- the JFET is used to separate the high voltage components (above the JFET 230) from the low voltage components (below the JFET 230) and may be provided as part of an integrated circuit along with other components shown in figure 2 .
- the voltage at the drain of the JFET can be more than 500V, the voltage at the source of the JFET is a lower voltage (eg 25V). So all circuitry below the JFET can have a lower voltage rating.
- the third diode 234 is provided in series between the JFET 230 and the power connection of the drainage switch 226.
- the anode of the third diode 234 is coupled to the conduction path of the JFET 230.
- the circuit supply 236 is provided between ground and the anode of the third diode 234.
- the circuit supply 236 (also referred to as an HVCharge & SUP1 circuit) receives power from the inputs 207, 209 of the power supply unit 200 in order to provide power for the control circuit 250. This is referenced by the VCC node 237 in the circuit supply 236, which is the supply voltage for the control circuit 250.
- the circuit supply 236 is only used at start-up of the power supply unit. To continuously supply an IC that provides the functions of the control circuit 250 directly via the mains is very inefficient. However, at start-up the mains voltage is the only available mains voltage. Once the system has started up, the IC can be supplied via the SMPS supply itself. A switch could be provided between the circuit supply 236 and VCC node 237.
- any of the components that are illustrated in figure 2 as being part of the sampling and discharge path 220 or circuit supply 236 could also be considered to be part of the control circuit 250.
- the control circuit 250 provides the control signal to close the drainage switch 226 in response to a value of one or more of the plurality of samples of the metric. That is, the ADC 252 and controller 254 can together determine if the potential between the first and second inputs 207, 209 indicates that the power supply has been disconnected from the mains. In order to perform this determination, the ADC 252 and controller 254 can measure a current between the first or second inputs 207, 209 and ground. In response to a determination of disconnection, the controller 254 can provide the control signal to close the sampling and drainage switch 226 and so safely discharge the potential stored on the filter capacitor 210 and any other charge storing filtering components that may be provided. The discharge of a filter capacitor 210 can therefore be actively controlled using the ADC 252 and the digital controller 254.
- the control circuit 250 is configured to sample the first or second input 207, 209 (depending upon which of the first and second diodes 222, 224 is conducting) in order to obtain a first sample.
- the sampling is performed by the controller 254 sending a control signal to close the drainage switch 226 for a predetermined period of time that may be a short period such as 20 ⁇ s.
- the ADC 252 digitizes the signal from the ammeter 232 to provide a digitized sample representative of the voltage between the inputs 207, 209 and ground during the time that the drainage switch 226 is closed.
- the quantization threshold level for the ADC 252 can relate to the brown-out level and mains low level of the power supply. In this, way a simple ADC 252 can be provided in order to reduce circuit complexity and cost. In addition, the ADC 252 output may be provided to other components as an indicator of whether the supply is in excess of the brown out level or mains low level.
- the control circuit 250 repeats the sampling step to obtain a subsequent second sample.
- the second sample can take place at a delay interval after the first sample.
- the delay interval may be a default, or predetermined, delay interval.
- the control circuit 250 compares the first sample with the second sample to provide an outcome of the comparison.
- the outcome may be indicative of whether or not the voltage at the first or second input 207, 209 of the power supply unit 200 has increased between the first sample and the subsequent second sample.
- the control circuit 250 then sets the delay interval depending on the outcome of the comparison of the first and second samples.
- the control circuit 250 can be configured to apply a longer delay interval if the voltage has increased between the first sample and the subsequent second sample than if the voltage has not increased between the samples for reasons set out below. This is on the assumption that the power supply unit 200 is still connected to the mains supply 208 if the voltage has increased.
- the control circuit 250 obtains a third sample after the delay interval has elapsed since the second sample was taken.
- the process of sampling the third and subsequent further samples is similar to that described for obtaining the first and second samples above.
- control circuit 250 being configured to determine a sign of a difference between two of a plurality of samples of the metric and suspend the repeated sampling if the difference has a specific sign.
- the controller is configured to compare consecutive digitized samples and look for an increase in the current through the ammeter 232. It will be appreciated that the current is proportional to the voltage between the supply inputs and ground, due to the resistor 228. An increase in the voltage between two consecutive samples indicates that the mains supply is present, and so further sampling can be performed less frequently. That is, sampling may be suspended for a relatively long time. The suspension of sampling enables the control circuit 250 to avoid or reduce unnecessary sampling of the mains supply and so reduce the power consumption of the power supply unit 200.
- the controller can provide indications of whether the power supply voltage is at a "low level” or a "brown-out level” using information determined from one or more of the plurality of samples of the metric.
- Figure 3a illustrates a plot of voltage 300a at the common cathode connection of the first and second diodes shown in figure 2 .
- This voltage represents the rectified power supply input against time and is the signal that may be received by the ammeter of figure 2 when the sampling and discharge switch is closed.
- the voltage 300a is an example of a metric of the power supply input. Other examples of such a metric include any quantity related to the voltage.
- the voltage 300a relates to first, second and third portions 302, 304, 306 of the rectified power supply cycle.
- the first and second portions 302, 304 relate to complete half periods of the power supply cycle.
- the first half period portion 302 and second half period portion 304 are conventional rectified signals (any offsetting due to the diode is not shown in this example, and may be ignored for high voltage power supplies).
- the first half period portion 302 and second half period portion 304 each comprise a rising voltage portion 302a, 304a. In the rising voltage portion 302a, 304a, the first differential of the voltage is positive and so a change in the voltage between two consecutive samples taken within the same rising voltage portion 302a, 304a shows an increase in the voltage.
- the third portion 306 also comprises a third rising voltage portion 306a.
- the mains supply is disconnected at the time shown with reference 308 in figure 3a .
- a voltage is present across the inputs of the power supply due to the charge stored by the filtering capacitor.
- the voltage across the capacitor will therefore generally remain static (assuming leakage current is small), unless its charge is drained.
- the voltage can also slowly decrease as the capacitor is discharged by SMPS components. However, at no load conditions this discharge is minimal.
- the SMPS is switched off and so this discharge of the filtering capacitor is stopped. The system therefore cannot rely on the SMPS components and parasitic leakages to drain the filtering capacitor.
- a period 306b in which the voltage across the capacitor is generally static is shown (including a discontinuity 310 along the time axis) in figure 3 .
- Figure 3b shows an example of a sampling scheme for a control circuit.
- the sampling scheme is superimposed over a rectified input voltage 300b of a mains supply.
- a first group of samples 312 and second group of samples 320 are labelled in figure 3b .
- a control circuit that is configured to determine a sign of a difference between two of the plurality of samples of the metric can look for increases in the metric. If an increase is found between a sample and a subsequent sample, this unambiguously indicates that a mains supply is present. An example of such an operation is explained below with reference to the first sample group 312.
- the control circuit samples the input in order to obtain a first sample 314. Subsequently to obtaining the first sample, the control circuit samples the input in order to obtain a second sample 316. The control circuit then compares the first and second samples 314, 316 to provide an outcome and sets a delay interval in accordance with the outcome. In this case, the voltage of the second sample 316 is lower than the voltage of the first sample 314; this could be due to either the mains voltage having been removed or (as is the case here) because the samples were obtained during a falling period of the AC cycle. The control circuit therefore cannot unambiguously determine from the first and second samples 314, 316 whether or not a mains supply voltage is present. The control circuit may therefore set the delay interval to be relatively short, which may involve continuing to sample at the previous sampling rate.
- a third sample 318 is obtained after the delay interval has elapsed.
- the delay interval between the first sample 314 and the second sample 316 is the same as the delay between the second sample 316 and a third sample 318.
- the third sample is at a lower voltage than the second sample 316.
- the control circuit still cannot unambiguously determine whether the decrease in sample values is due to the mains voltage having been removed or because the samples were obtained during a falling period of the AC cycle. Further samples are therefore required.
- the control circuit can, when taking further samples, consider the second sample 316 as a first sample, and repeat the above process.
- a subsequent fifth sample 322 has been taken and is shown as the first sample of the second sample group 320.
- Comparison between the fifth sample 322 and a sixth sample 324 shows that a rise in voltage is present. In such a situation the control circuit can therefore suspend the repeated sampling for a duration that is longer than it would otherwise wait before taking the next sample.
- the power supply unit is known to be connected to a mains supply. That is, the delay interval between the sixth and a seventh sample 324, 326 can be set to be longer than the delay between the earlier samples. The reason for this is that it is considered safe, under certain operating regimes, for there to be a high potential across the power supply for a period that might be as great as one or two seconds.
- the filter capacitor at the input of the power supply unit should be discharged.
- a predetermined period of time may be slightly longer than a quarter of the period of the mains AC supply voltage. In this way, it is ensured that the samples considered cannot all be within a single falling voltage portion of the rectified sinusoidal waveform.
- the predetermined period is much longer (32ms, for example). The provision of a longer predetermined period allows the system to accommodate a mains dip condition in which the mains supply is not present for a certain period, such as 1 AC cycle.
- a minimum predetermined period should actually be larger than 20 ms plus a quarter of a AC cycle period.
- a suitable predetermined period may therefore be 32 ms, with a provision of some margin.
- the controller can determine if a power supply has been disconnected relatively quickly (within 1 AC cycle) compared to such a timescale, the capacitor can then be discharged at a relatively rapid rate (90% discharge may take around 0.1 s).
- the controller may therefore reduce the power drawn from the mains supply by suspending sampling for up to a period marginally less than the operating regime will tolerate, before resuming the sampling process.
- the control circuit can, when taking further samples, consider the seventh sample 326 (rather than the sixth sample 324) as a first sample, and repeat the above process.
- the controller may not compare the sixth and seventh samples 324, 326 in the further sampling process because the outcome of the comparison between the fifth and sixth samples 322, 324 showed an increase in voltage, a comparison between the sixth and seventh samples 324, 326 may not yield any useful information.
- the controller may compare the seventh sample 326 with an eighth sample 328 that is taken after a default interval and determine that the voltage has increased between the seventh and eighth sample 326, 328.
- the controller may therefore set the delay interval to be a longer delay interval than the default delay interval.
- control circuit described herein can be advantageous as it does not require the controller to maintain high frequency sampling in order to determine the state of the power supply when it is determined that a mains power supply is present. It will be appreciated that some power is drained from the mains supply each time the mains supply is coupled to ground by closing the drainage switch. The power consumption of the power supply unit is therefore reduced by avoiding sampling that can be considered unnecessary. Such control circuits therefore allow a more power efficient power supply unit to be provided.
- Figure 4a illustrates a schematic of a power supply unit comprising an ADC 460 and an ammeter transistor 432. It will be appreciated that additional filtering components shown in figure 1 may also be provided in this example. The components other than those of the ADC 460 and ammeter transistor 432 relate to those of the power supply unit of figure 2 and will not be discussed in detail further here. Corresponding reference numerals are used to refer to similar components in figures 2 and 4a .
- the ammeter transistor 432 has a conduction channel provided in series between the drainage switch 426 and ground.
- the ammeter transistor 432 is a field effect transistor.
- the conduction channel of the field effect transistor 432 is provided by its source-drain channel.
- the source of the ammeter transistor 432 is coupled to ground.
- the drain of the ammeter transistor 432 is coupled to the gate of the ammeter transistor 432 and also to the drainage switch 426.
- the ADC 460 comprises a brown-out level mirror transistor 464, a brown-out level current source 466, a brown-out level comparator 468, a low level mirror transistor 470, a low level current source 472 and a low level comparator 474.
- the brown-out level mirror transistor 464 and the low level mirror transistor 470 are also provided as FETs, in this example.
- the brown-out level mirror transistor 464 and the low level mirror transistor 470 have respective gate connections coupled to the gate of the ammeter transistor 432.
- the brown-out level mirror transistor 464 and the low level mirror transistor 470 have respective source connections coupled to ground.
- Reference voltages are provided to the inverting inputs of the brown-out level comparator 468 and the low level comparator 474.
- the Vref values for the brown-out level comparator 468 and the low level comparator 474 can be set at arbitrary reference voltages.
- the drain of the brown-out level mirror transistor 464 is coupled to an inverting input of the brown-out level comparator 468.
- the brown-out level current source 466 is also provided to the inverting input of the brown-out level comparator 468.
- the drain of the low level mirror transistor 470 is coupled to an inverting input of the low level comparator 474.
- the low level current source 472 is also provided to the inverting input of the low level comparator 474.
- the current through the ammeter transistor 432 relates to the voltage at either the first or second input 407, 409 (whichever is the highest) divided by a resistance of the resistor 428 (neglecting any voltage drop in this path of the diode, etc).
- the current through the ammeter transistor 432 is copied to transistors 464, 470. If the ammeter current is smaller then the brown-out level current source 466 is larger then the current into transistor 464. This is, of course, not possible because the difference between the two current has nowhere to go. In such a situation no current can flow at the inputs of the brown-out level comparator 468.
- the brown-out level comparator 468 and the low level comparator 474 therefore provide a 2-bit digital output (S1, S0) that corresponds to a current that is related to the potential of the inputs 407, 409 of the power supply unit with respect to ground.
- Figure 4c illustrates a circuit diagram for a current mirror 480 that acts as a current limiting circuit configured to limit the maximum current that can pass through the drainage switch to a limited current level.
- the limited current level may therefore be set to correspond to at least a current that would pass through the sampling and discharge path when sampling a mains supply at a mains low level voltage.
- the circuit of figure 4c therefore limits further increases in the current through the resistor 428. In this way, power dissipation of the circuit can be further limited.
- I lim the circuit of figure 4c behaves as a normal current mirror, where the output current, I out , is equal to the input cucrent, I in .
- I in I lim .
- the current mirror 480 comprises a first mirror stage 482 and a second mirror stage 484.
- the first mirror stage 482 comprises a limiting mirror transistor 486, a limiter transistor 488 and a limited current source 490.
- the limiting mirror transistor 486 and the limiter transistor 488 are FETs in this example.
- the conduction channel of the limiting mirror transistor 486 may be coupled between the drainage switch 426 and (indirectly) ground.
- a gate of the limiting mirror transistor 486 is coupled to the limiter transistor 488.
- the limited current source 490 is provided to a drain of the limiter transistor 488.
- the drain of the limiter transistor 488 is also coupled to the gate of the limiter transistor 488.
- the source of the limiter transistor 488 is (indirectly) coupled to ground.
- an input current I in that can flow through the limiting mirror transistor 486 is limited by the current that flows through the limiter transistor 488, as well as the current supplied to a drain of the limiting mirror transistor 486.
- the second mirror stage 484 allows the limited mirror current to be provided as an output current.
- the second mirror stage 484 comprises an input transistor 492, a first mirror transistor 494 and a second mirror transistor 496.
- the input transistor 492, the first mirror transistor 494 and the second mirror transistor 496 are provided by bipolar junction transistors in this example.
- a collector of the input transistor 492 is coupled to a source of the limiting mirror transistor 486 and an emitter of the input transistor 492 is coupled to ground.
- a current through a conduction channel (collector-emitter channel) of the input transistor 492 is therefore due to input current received at a drain of the input transistor 492, but limited to a maximum value determined by the limited current source 490.
- Respective bases of the first and second mirror transistors 494, 496 are coupled to the base of the input transistor 492. Respective emitters of the first and second mirror transistors 494, 496 are coupled to ground. A collector of the first mirror transistor 494 is coupled to the source of the limiter transistor 488.
- the input current, I in at the drain of the limiting mirror transistor 486 is smaller then the current source, I lim then the input current I in is copied from input transistor 492 to the first mirror transistor 494 so the first mirror transistor 494 draws a current equal to the input current, I in .
- a higher current is simultaneously provided to the first mirror transistor 494 from the limiter transistor 488.
- a voltage between the input transistor 494 and the limiter transistor 488 increases, as does a gate voltage of the limiter transistor 488 and the limiting mirror transistor 486.
- the limiting mirror transistor 486 is therefore completely on.
- the limiting mirror transistor 486 is partly switched off. Eventually the voltage at the gate of the limiting transistor 486 will be regulated to such a level that the input current I in equals the current source I lim .
- a collector of the second mirror transistor provides an output current that is a mirror of the input current as limited by the limited current source 490.
- the output current may be provided to the input of a comparator 468, 474 in the ADC 460 of figure 4a .
- the components of the control circuit may be provided in an integrated circuit (IC).
- the IC may further comprise all of the components shown below the resistor 428 in figure 4a or the corresponding resistor in figure 2 .
- the resistor 428 is coupled to a high voltage (HV) terminal, or pin, of the IC.
- HV high voltage
- Figure 5 illustrates an arrangement for providing high voltage protection to a power supply unit 500 comprising an integrated circuit (IC) 551 that includes the components shown within the dotted line and a control circuit (not shown).
- the IC 551 has a high voltage input terminal 531 as well as VCC and ground terminals.
- Corresponding reference numerals are used for features of figure 5 that are similar to those of figure 2 , which will not be discussed in further detail here.
- the power supply unit 500 further comprises a high voltage (HV) diode 597.
- the anode of the HV diode 597 is coupled to the high voltage input terminal 531 and the cathode of the HV diode 597 is coupled to an output of an optional power factor correction (PFC) circuit 599, which is an example of a SMPS.
- PFC power factor correction
- the cathode of the HV diode 597 is also coupled to a plate of an elcap output smoothing SMPS capacitor 514.
- An optional capacitor 598 is also provided in this example between the cathode of the HV diode 597 and ground.
- the optional capacitor 598 provides a route for high frequency, high voltage signals to be directed to ground.
- the provision of the optional capacitor 598 close to the IC 551 means that it is allowed to use long inductive wires, which would otherwise result in higher clamping voltages.
- Figure 6 illustrates a flow chart for a process 600 that can be performed by a control circuit, such as the control circuit illustrated in figures 2 or 4a .
- the process 600 relates to the functionality of:
- the process 600 has a number of steps.
- the process uses a number of internal variables, including:
- the process also provides output indicators that can be used by other components such as the SMPS and discharge switch shown in figure 2 .
- the indicators include: “Brownout”, which can be provided to the SMPS converter when a brown-out power supply condition is detected; and a control signal that causes the drainage switch to be closed when the "Xcapdischarge" is "on”.
- step 602 the process starts at step 602 and values of variables are initialized such that:
- a sample of the mains supply voltage is taken at a sampling step 604. Taking a sample is achieved by closing the drainage switch for a 20 microsecond period and taking a reading using an analogue to digital converter (ADC), such as that shown in figure 4a , during the sampling period. It will be appreciated that a different sampling period could be used in other examples.
- the ADC maps the mains supply voltage sample to a digital value as discussed with regard to figure 4b and provides digitized sample bits (S1, SO). S0 relates to the output of the brown-out level comparator and S1 relates to the output of the low level comparator in the example shown in figure 4a .
- the counters "Mainsdipcntr" and “Brownoutcounter” are each incremented by one count at the sampling step 604.
- the process initiates an optional sub-sequence 606 that relates to the process of providing output indications, if required, in accordance with the comparison of the absolute level of the input voltage with the "Mainslowlevel” and the "Brownoutlevel".
- the sub-sequence 606 is not related to the process of suspending sampling in response to detecting the rising side of a rectified mains supply sine wave.
- the sub-sequence 606 contains a number of steps 608 to 620.
- the value 32 is one of a number of suitable variables. This value (32) corresponds to a number of successive samples that exceeds a predetermined period of time.
- the predetermined period is sufficiently long to ensure that a peak (brownout level is defined by the peak of the mains) portion of the power supply cycle is detected if a mains supply is present.
- the predetermined period is 32 ms in this example.
- the main loop 603 must therefore have been cycled through at least 32 times before this step can evaluate to "true”.
- a lower limit for this value can be determined by dividing the duration of half of the AC cycle (10 ms for a 50 Hz cycle) by the delay interval between taking each sample (1 ms in this example, as will be discussed later with regard to step 630) plus at least one delay interval.
- Half of a cycle may be needed as the peak occurs once per half cycle.
- a positive dV/dt is a quarter of a cycle, but the brownout level is measured at the peak.
- the example value of 32 is sufficient to sample around two periods of a 60 Hz AC cycle.
- Varying the values of the "Brownoutlevel” and the “Mainslowlevel” during the sub-sequence 606 allows for hysteresis in the determination of whether or not these values have been exceeded.
- step 620 or after step 618 if the equality at step 618 is "false", the sub-sequence 606 returns to the main loop 603 at step 622.
- step 622 the equality "is the current sample value greater than the register value" is evaluated. That is, is (S1, S0) > (R1, R0). It should be noted that this is a comparison between a current value of an input voltage sample (or other metric) and a previous value of the input voltage sample, rather than a comparison between the current value and an absolute, or fixed preset value. In the first iteration of the loop, the register values (R1, R0) were set to 0 at step 602.
- the process tests, at step 624, whether "Mainsdipcntr” is greater than or equal to a threshold, which in this example 32.
- the value for the threshold can be the same value to that chosen for step 618 above, for the same reasons. If the equality at step 624 evaluates to "true” then the input voltage has not risen within a period of time greater than a quarter of a clock cycle, and so it is determined that no mains supply is present at the inputs of the power supply. "Xcapdischarge” is set to "on” at step 626 in order to close the drainage switch and so discharge the potential stored across the filter capacitor of the power supply unit.
- the discharge time that it takes for the voltage stored across the input of the power supply to be reduced to a level that is considered safe depends on the capacitance of the filter capacitor and the resistance of the resistor in the discharge path, as will be appreciated by those skilled in the art.
- the maximum discharge time may be chosen to be around a few tenths of a second by choosing suitable values for the filter capacitor and discharge path resistor.
- Step 628 is encountered when more samples are required in order to determine whether or not the voltage has not increased for over a quarter of a rectified AC cycle (or the number of samples selected for the value in step 624).
- a sampling delay interval of 1 millisecond is waited at step 630. This sampling delay interval can be considered as a default, or "short" delay.
- the process proceeds then to step 604 where a subsequent sample is taken after the delay interval of step 630 has elapsed, thus concluding a traversal of the main loop 603.
- the input voltage has increased since the last sample was taken.
- a delay interval of 32 or 64 milliseconds is provided at step 634 instead of the 1 milliseconds delay interval used at step 630.
- the delay at step 634 may be considered as a "long" delay, which is longer than the "short” delay applied at step 630. It will be appreciated that a different period for the suspension may be chosen, but the period of the suspension at step 634 is typically greater than the delay interval of step 630.
- step 634 the process proceeds to step 604 where a subsequent sample is taken, as described above.
- Figure 7 illustrates the input voltage and input current of a power supply unit as sampled by a conventional control circuit.
- Figure 8 illustrates the input voltage and input current of a power supply unit as sampled by a control circuit that is configured to suspend sampling such as the circuit of figure 4a .
- the data are obtained where the input voltage of the power supply unit is the modulus of a full sine wave signal.
- the input voltage is a rectified sine wave signal.
- the root mean squared input voltage is 230 Vac.
- the current is limited to a current which corresponds with a voltage that is 10% higher than the mainslow level.
- An example implementation of a current clamp is described above in relation to figure 4c .
- the current clamp can be implemented to reduce power dissipation of the power supply unit. Without such a current clamp, the system still functions but may have reduced power efficiency.
- Figures 7a and 7b illustrate the sample output of a conventional control circuit that takes a sample at 1 millisecond intervals. In this example, only "short" delay intervals are used.
- the shifted voltage of figure 7b does not drop to zero because of the effect of voltage rectification. This results in more dissipation in the X cap sensing circuit as shown in figure 7b and 8b .
- the power dissipated by the control circuit when operating on the voltage waveform shown in figure 7a is 4.6 mW.
- the power dissipated by the control circuit when operating on the voltage waveform shown in figure 7b is 6.3 mW.
- Figures 8a and 8b illustrate the sample output of a control circuit that can take a sample after a "short” delay period or a “long” delay period depending upon a metric of the supply voltage.
- a “short” delay of 1 millisecond is used unless a positive increase in the supply voltage is detected, in which case sampling is suspended for 32 ms, thereby applying the long delay.
- no voltage samples are taken and so no "x" data points are seen.
- the sampling and discharge path has no current passing through the suspension period and so the "+" data points are at 0 A during the suspension period.
- the power dissipated by a control circuit operating in this mode is 0.59 mW for the input waveform shown in figure 8a and 0.99 mW for the input waveform shown in figure 8b.
- Figure 8a shows a zeroth 802, a first 804, a second 806 and a third 808 sample.
- the zeroth sample 802 is below the brownout level in this example and so the corresponding output of the two bit ADC of figure 4a is 00.
- the first sample 804 is also below the brownout level in this example and so the corresponding output of the two bit ADC is 00.
- a comparison (such as that described with reference to figure 6 ) between the ADC output for the zeroth sample 802 and the ADC output for the first sample 804 therefore shows no change, even though it can be seen from figure 8a that the first sample value is substantially higher than the zeroth sample value.
- a system that compares the values provided by such an ADC may therefore not detect an increase in voltage between the first and second samples.
- the second sample 806 is above the brownout level and below the low level voltage level, so the corresponding output of the two bit ADC of figure 4a is 01.
- a comparison between the ADC output for the first sample 804 and the ADC output for the second sample 806 therefore shows an increase in the sampled voltage and so sampling can be suspended by a control circuit in order to reduce power consumption of a power supply unit.
- a third sample 808 is taken after an extended delay has elapsed.
- performing a simplified comparison of a course digitized sample can result in a simplified and cheaper implementation. It will be appreciated that the power loss from the requirement to occasionally providing an extra sample may be negligible in many circumstances.
- Figure 8b shows a zeroth 812, a first 814, a second 816 and a third 818 sample.
- the zeroth sample 812 above the brownout level and below the low level voltage so the corresponding output of the two bit ADC of figure 4a is 01.
- the first sample 814 is also above the brownout level and below the low level voltage so the corresponding output of the two bit ADC is 01.
- a comparison between the ADC output for the zeroth sample 812 and the ADC output for the first sample 814 therefore shows no change.
- the second sample 816 is above the low level voltage so the corresponding output of the two bit ADC of figure 4a is 11.
- a comparison between the ADC output for the first sample 804 and the ADC output for the second sample 806 therefore shows an increase in the sampled voltage and so sampling can be suspended by a control circuit in order to reduce power consumption of a power supply unit.
- a third sample 818 is taken after an extended delay has elapsed.
- the control circuit is able to reduce its power consumption.
- the power consumption is reduced from 4.6 mW to 0.59 mW, which represents a significant improvement.
- the reduction in power consumption is not substantially detrimental to the ability of the control circuit to discharge any charge stored across the inputs of the power supply unit when the power supply has been removed, as the control circuit response time can be maintained within a safe level.
- the response time to a power removal event has been increased by up to 31 ms.
- the time required to discharge the capacitor is of the order of a few 100 ms. In some operating regimes, a 1 or 2 second period at which the input at the power supply is at a high level may be acceptable.
- the embodiments disclosed herein relate to a circuit or method that can detect if an increase in the power supply voltage has occurred.
- the detected increase in power supply voltage is indicative of the presence of an AC mains supply.
- the circuit or method need not, therefore monitor the supply for a duration substantially longer than a typical duration between samples. Power consumption can be improved by reducing the sampling rate whilst maintaining the ability of the device to determine when the power supply is removed within statutory guidelines.
- any components that are described herein as being coupled or connected could be directly or indirectly coupled or connected. That is, one or more components could be located between two components that are said to be coupled or connected whilst still enabling the required functionality to be achieved.
Landscapes
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Description
- The disclosure relates to control circuits. Specifically, although not exclusively, the disclosure relates to control circuits for switched mode power supplies.
- In order to suppress electromagnetic interference, in most cases an input filter is required on the mains input of apparatus like switched mode power supplies (SMPS). In addition to an inductance, EMI filters typically include one or more capacitors connected between the mains input terminals. These capacitors are known as X capacitors. EMI filters typically also include one or more capacitances connected between one of the mains terminals and a protective earth. This type of capacitor is known as a Y capacitor. Typically, the protective earth takes the form of a secondary ground, to which the Y capacitors are connected, whereas the bridge rectifier is grounded to a separate primary ground. The primary and secondary grounds have mains separation, but may typically be connected by one or more additional Y capacitors.
- It is desirable, and in some regulatory regimes it is mandatory, that the voltage between the mains terminals of an apparatus is reduced to a safe value within a certain time period after the apparatus is disconnected from the mains. Otherwise, there remains a risk of electrical shock to the user, by inadvertently contacting the terminals of the plug.
- United States Patent application publication number
US 2012/0105016 A1 discloses a power supply including a discharging device, the discharging device generates a reference voltage according to a peak voltage of a generated sampling signal, generates an AC power source cutoff detection signal according to a comparison signal generated by comparing the sampling signal and a reference voltage, and discharges the capacitor. A similar discharge method and arrangement are disclosed in "A New Control Method using JFET for an Off-line Flyback Converter with Low Stand-by Power Consumption" by SangCheol Moon, SungWon Yun and Gun-Woo Moon, 8th International Conference on Power Electronics and ECCE, 2011, P 480-486. - According to a first aspect of the invention there is provided a control circuit for a power supply unit that has an input for receiving a mains supply, the control circuit being as defined in
claim 1. - The control circuit reduces the power consumption of the power supply unit by setting an appropriate delay interval that is to be applied before sampling again. In this way, the number of samples taken over a fixed period of time can be reduced, which reduces the total power consumed by taking samples of the input for that fixed period of time. This is because unnecessary sampling of the mains power supply can be avoided or reduced.
- The sampled values may be digitized sample values. The control circuit may be configured to digitize the sample values to provide digitized sample values. The comparison may be a comparison of digitized sample values.
- The control circuit is configured to:
- set the delay interval as a first delay interval if the outcome of the comparison is indicative of the second sample value being smaller than or equal to the first sample value;
- set the delay interval as a second delay interval if the outcome of the comparison is indicative of the second sample value being larger than the first sample value.
- The second delay interval is longer than the first delay interval.
- The second delay interval may have a duration of more than 10, 32, 64 milliseconds or 0.5 seconds, or may be greater than or equal to a duration of a quarter or a half of an AC waveform of the mains supply. The second delay interval may also depend on another setting or mode of operation of the power supply unit.
- The power supply unit further comprises a drainage switch configured to selectively connect the input to ground in accordance with a control signal; and wherein the control circuit is further configured to, if the outcome of the comparison is indicative of the second sample value being smaller than or equal to the first sample value, then:
- determine how many consecutive sample values are smaller than or equal to an immediately preceding sample value; and
- increment a count of how many consecutive sample values are smaller than or equal to an immediately preceding sample value; and
- if the count is greater than a threshold, then set the control signal for closing the drainage switch;
- if the count is not greater than a threshold, then set the control signal for opening the drainage switch.
- The duration of the determined number of consecutive samples may be greater than a quarter, a half, one, one and a quarter or one and a half AC waveforms of the mains supply. Typically, the duration may be equal to or slightly larger then one AC waveform.
- The first and second inputs are configured to receive the mains power supply. The power supply unit has a capacitor coupled between the first input and the second input. The power supply unit has a drainage switch configured to selectively discharge the capacitor and allow sampling of the first or second inputs in response to receiving a control signal. The control circuit is configured to provide the control signal to the drainage switch in order to sample the first or second inputs, which may be in accordance with the outcome of the comparison of the first and second sample values.
- The drainage switch may be configured to couple the first or second inputs to ground in response to receiving the control signal.
- The control circuit may be configured to provide the control signal to the drainage switch in response to values of a number of the plurality of samples being less than a threshold level. As a further alternative, the control circuit may be configured to provide the control signal to the drainage switch in response to a number of the plurality of samples having equal or successively decreasing values.
- The control circuit may be configured to obtain the plurality of sample values over a period of time that spans more than a quarter, a half, one, one and a quarter or one and a half of an AC waveform of the mains supply.
- The first and second samples may be consecutive samples. The second sample may be a subsequent sample to the first sample.
- Each sample value may be a sample of a metric of the mains supply. The metric may be, or may be related to, a voltage between the first input and/or second input and ground.
- The comparison is configured to determine if the metric has increased between the first sample and the subsequent second sample. The control circuit is configured to set the delay interval as a long delay, which is longer than a delay interval that is used if the metric has not increased. The control circuit is configured to wait a default delay between the first sample and the second sample. The default delay may be a predetermined delay. The control circuit is configured to set the delay interval to be equal to the default delay unless the outcome of the comparison indicates that the delay interval should be set to a longer delay. The longer delay is longer than the default delay.
- The extended delay may have a duration of more than 10, 32, 64 milliseconds or 0.5 seconds or may be equal to a duration of a quarter or a half of an AC waveform of the mains supply. If mains power is present, a rising voltage will be detected by taking a plurality of samples. An extended delay may then be imposed in response to the presence of the mains power. Another plurality of samples may then be taken after the extended delay period has elapsed. The default delay may have a duration of 1 or 2 milliseconds. The extended delay may have a fixed relationship to the default delay, which can simplify circuit design in some examples.
- According to a further aspect of the invention there is provided a power supply unit comprising the control according to claim 8. The power supply unit can be a consumer power supply unit for plugging into a wall socket, for example a battery charger.
- According to a further aspect of the invention there is provided an electronic device comprising the control circuit or the power supply unit.
- A further aspect of the invention is a method according to
claim 10. - The method may further comprise grounding the input of the power supply unit in response to a plurality of sample values being less than a threshold level. The method may further comprise grounding the input of the power supply unit in response to a number of the plurality of sample values having equal or successively decreasing values.
- The method may further comprise:
- considering the second sample value as a first sample value in an immediately subsequent iteration of the method if the delay interval is set as a first delay interval; or
- considering the third sample value as a first sample value in an immediately subsequent iteration of the method if the delay interval is set as a first delay interval.
- It will be appreciated that the control circuit functionality may be provided at least in part by a computer program.
- There may be provided a computer program, which when run on a computer, causes the computer to configure any apparatus, including a circuit, controller, converter, or device disclosed herein or perform any method disclosed herein. The computer program may be a software implementation, and the computer may be considered as any appropriate hardware, including a digital signal processor, a microcontroller, and an implementation in read only memory (ROM), erasable programmable read only memory (EPROM) or electronically erasable programmable read only memory (EEPROM), as non-limiting examples. The software may be an assembly program.
- The computer program may be provided on a computer readable medium, which may be a physical computer readable medium such as a disc or a memory device, or may be embodied as a transient signal. Such a transient signal may be a network download, including an internet download.
- The invention will now be further described by way of example only with reference to the accompanying drawings in which:
-
figure 1 illustrates a power supply unit with a resistor provided across its input terminal; -
figure 2 illustrates a schematic of a control circuit where discharge of a filter capacitor can be actively controlled using an analog to digital converter (ADC) and a digital controller; -
figure 3a illustrates a power supply input voltage against time; -
figure 3b illustrates a sampling scheme for a power supply input voltage; -
figure 4a illustrates a schematic of a control circuit featuring an example of the ADC offigure 2 ; -
figure 4b illustrates the mapping of output values of the ADC to input conditions; -
figure 4c illustrates a circuit diagram of a current mirror with current limiting capability; -
figure 5 illustrates an arrangement for providing high voltage protection to a control circuit; -
figure 6 illustrates a flow chart that can be used in a digital controller; -
figure 7a illustrates 1 millisecond interval samples of a modulus of a sine wave input and corresponding currents; -
figure 7b illustrates 1 millisecond interval samples of an outset rectified sine wave input and corresponding currents; -
figure 8a illustrates 1 millisecond interval samples of a modulus of a sine wave input and corresponding currents sampled by a circuit that can suspend sampling; and -
figure 8b illustrates 1 millisecond interval samples of an outset rectified sine wave input and corresponding currents sampled by a circuit that can suspend sampling. -
Figure 1 illustrates a conventionalpower supply unit 100 for connecting to a mains supply 108. Thepower supply unit 100 has afilter 101, abridge rectifier 104 and a switched mode power supply (SMPS)converter 106. - The
power supply unit 100 has afirst input 107 and asecond input 109 for receiving the mains supply 108. Thefilter 101 is configured to be coupled between the inputs of thebridge rectifier 104 and the first andsecond inputs filter 101 can compensate for switching noise generated by theSMPS converter 106, so that such noise is not fed back to the mains supply 108. - The
bridge rectifier 104 provides a rectified mains signal to theSMPS converter 106. Afurther capacitor 114 is also provided in parallel with the output connections of thebridge rectifier 104 to smooth the rectified voltage waveform. - The
filter 101 comprises a mainsside filtering capacitor 110, a converterside filtering capacitor 112 and a pair ofinductor windings - Each of the
inductor windings respective windings second inputs respective windings bridge rectifier 104. - The mains
side filtering capacitor 110 has a first plate coupled to the first input of the power supply and the mains side terminal of a first winding 102a. The mainsside filtering capacitor 110 has a second plate coupled to the second input of the power supply and the mains side terminal of a second winding 102b. The converterside filtering capacitor 112 has a first plate coupled to the first winding 102a. The converterside filtering capacitor 112 has a second plate coupled to the second winding 102b. - When the mains supply 108 is provided to the
power supply unit 100, converter noise is cancelled out or reduced by the mainsside filtering capacitor 110 and the converterside filtering capacitor 112, which act as high pass channels for the converter noise. Indeed, noise from the converter is shorted by thefiltering capacitors second windings filtering capacitor 112. - However, when the mains supply 108 is removed a potential is maintained across the
filtering capacitors 110, 112 (except if the mains is disconnected at the moment when the AC supply is at 0 Vac). In this example, aresistor 115 is provided in parallel with the mainsside filtering capacitor side filtering capacitor resistor 115. In this way, the potential stored in thecapacitor - However, the
resistor 115 also acts as a load while thepower supply unit 100 is connected to the mains supply 108 in normal use. In this situation, the load provided by theresistor 115 is undesirable as it increases the power consumption of the power supply unit without providing any benefit to the operation of the power supply, especially when no-load input power consumption is required to be very low. -
Figure 2 illustrates a schematic drawing of anotherpower supply unit 200. The resistor of the power supply unit offigure 1 has been removed so that the power consumption of thepower supply unit 200 is reduced during normal operation. - The
power supply unit 200 has afirst input 207 and asecond input 209 for receiving themains supply 208. A filtering capacitor 210 is coupled between thefirst input 207 and thesecond input 209, although it will be appreciated that other filtering components described above in relation tofigure 1 , such as thecapacitor 114, inductor 102 andcapacitor 112, may also be provided in other circuits described herein. Abridge rectifier 204 is coupled to theinputs power supply unit 200 and provides output connections for a switched mode power supply converter (not shown). - The
power supply unit 200 of this example also comprises a sampling anddischarge path 220, acircuit supply 236 and acontrol circuit 250. The sampling anddischarge path 220 provides a configurable path between theinputs power supply unit 200 and ground through adrainage switch 226. Thecontrol circuit 250 is configured to control thedrainage switch 226. Thecircuit supply 236 provides a supply voltage for thecontrol circuit 250. - The sampling and
discharge path 220 is provided between the respective first andsecond inputs discharge path 220 can be used to sample the voltage at theinputs power supply unit 200 in order to obtain sample values. Sample values can be taken both in no-load and load conditions. In addition, the sampling anddischarge path 220 can also be used to at least partially discharge the filtering capacitor 210 under no load conditions. - The sampling and
discharge path 220 comprises afirst diode 222, asecond diode 224, adrainage switch 226 and anammeter 232, which may also be referred to as a current meter or ampere meter. The anode of thefirst diode 222 is coupled to thefirst input 207. The anode of thesecond diode 224 is coupled to thesecond input 209. The cathode of thefirst diode 222 is coupled to the cathode of thesecond diode 224. In this way, a rectified version of themains input voltage 208 is provided at the common cathode connection of the first andsecond diodes - The common cathode connection of the first and
second diodes drainage switch 226. A second terminal (which may be referred to as a ground connection) of thedrainage switch 226 is coupled to ground via theammeter 232. Thedrainage switch 226 is operated (thereby connecting or disconnecting the first and second terminals) in response to receiving a control signal from thecontrol circuit 250. As will be discussed below, closing the switch under no supply conditions can discharge the capacitor 210. Temporarily closing the switch under mains power supply conditions enables sampling of the input voltage to thepower supply unit 200, in order to determine whether or not the mains supply is connected. - When the
drainage switch 226 is closed, the sampling anddrainage path 220 is complete and a current is drawn from themains inputs ammeter 232, which measures the current drawn. The drawn current is proportional to the potential difference between the first andsecond inputs - The
control circuit 250 comprises an analog to digital converter (ADC) 252 and acontroller 254. Thecontrol circuit 250 is configured to repeatedly sample a metric, such as the input voltage, or any parameter representative of the input voltage, of thepower supply inputs power supply inputs ammeter 232, which relates to the mains input voltage due toresistor 228. Thecontroller 254 of thecontrol circuit 250 is configured to provide a control signal to operate thedrainage switch 226. The control signal is set in accordance with sampled value of the metric. Where thedrainage switch 226 is provided by a transistor, the control signal is provided to the gate or base of the transistor. - The
ammeter 232 may also be considered to be part of thecontrol circuit 250, although theammeter 232 is illustrated separately from thecontrol circuit 250 in this example. - In
figure 2 , a number of non-essential components are shown in the sampling anddischarge path 220. Examples of such components include aJFET 230 andthird diode 234. It will be appreciated that theammeter 232 may also be considered as optional as any method of sampling a metric that relates to theinput - A
resistor 228 is provided in series between the common cathode connection of the first andsecond diodes drainage switch 226. Theresistor 228 is used to convert the input voltage into a current that is convenient for measuring. Theresistor 228 also limits the current that can be drawn by the sampling anddischarge path 220 so as to protect components such as integrated circuits (ICs) and transistors that are connected to the sampling anddischarge path 220. The brownout voltage level and low level mains voltage can be set/adjusted. - The conduction path (between the drain and the source) of the
JFET 230 is provided in series between theresistor 228 and the power connection of thedrainage switch 226. The gate of theJFET 230 is coupled to ground. The JFET is used to separate the high voltage components (above the JFET 230) from the low voltage components (below the JFET 230) and may be provided as part of an integrated circuit along with other components shown infigure 2 . The voltage at the drain of the JFET can be more than 500V, the voltage at the source of the JFET is a lower voltage (eg 25V). So all circuitry below the JFET can have a lower voltage rating. - The
third diode 234 is provided in series between theJFET 230 and the power connection of thedrainage switch 226. The anode of thethird diode 234 is coupled to the conduction path of theJFET 230. - The
circuit supply 236 is provided between ground and the anode of thethird diode 234. The circuit supply 236 (also referred to as an HVCharge & SUP1 circuit) receives power from theinputs power supply unit 200 in order to provide power for thecontrol circuit 250. This is referenced by theVCC node 237 in thecircuit supply 236, which is the supply voltage for thecontrol circuit 250. - Generally, the
circuit supply 236 is only used at start-up of the power supply unit. To continuously supply an IC that provides the functions of thecontrol circuit 250 directly via the mains is very inefficient. However, at start-up the mains voltage is the only available mains voltage. Once the system has started up, the IC can be supplied via the SMPS supply itself. A switch could be provided between thecircuit supply 236 andVCC node 237. - In general, any of the components that are illustrated in
figure 2 as being part of the sampling anddischarge path 220 orcircuit supply 236 could also be considered to be part of thecontrol circuit 250. - The
control circuit 250 provides the control signal to close thedrainage switch 226 in response to a value of one or more of the plurality of samples of the metric. That is, theADC 252 andcontroller 254 can together determine if the potential between the first andsecond inputs ADC 252 andcontroller 254 can measure a current between the first orsecond inputs controller 254 can provide the control signal to close the sampling anddrainage switch 226 and so safely discharge the potential stored on the filter capacitor 210 and any other charge storing filtering components that may be provided. The discharge of a filter capacitor 210 can therefore be actively controlled using theADC 252 and thedigital controller 254. - The
control circuit 250 is configured to sample the first orsecond input 207, 209 (depending upon which of the first andsecond diodes controller 254 sending a control signal to close thedrainage switch 226 for a predetermined period of time that may be a short period such as 20 µs. When the switch is closed, current flows through the sampling anddischarge path 220 through theresistor 228 and is detected by theammeter 232. TheADC 252 digitizes the signal from theammeter 232 to provide a digitized sample representative of the voltage between theinputs drainage switch 226 is closed. The quantization threshold level for theADC 252 can relate to the brown-out level and mains low level of the power supply. In this, way asimple ADC 252 can be provided in order to reduce circuit complexity and cost. In addition, theADC 252 output may be provided to other components as an indicator of whether the supply is in excess of the brown out level or mains low level. - The
control circuit 250 repeats the sampling step to obtain a subsequent second sample. The second sample can take place at a delay interval after the first sample. The delay interval may be a default, or predetermined, delay interval. - The
control circuit 250 compares the first sample with the second sample to provide an outcome of the comparison. The outcome may be indicative of whether or not the voltage at the first orsecond input power supply unit 200 has increased between the first sample and the subsequent second sample. - The
control circuit 250 then sets the delay interval depending on the outcome of the comparison of the first and second samples. Thecontrol circuit 250 can be configured to apply a longer delay interval if the voltage has increased between the first sample and the subsequent second sample than if the voltage has not increased between the samples for reasons set out below. This is on the assumption that thepower supply unit 200 is still connected to the mains supply 208 if the voltage has increased. - The
control circuit 250 obtains a third sample after the delay interval has elapsed since the second sample was taken. The process of sampling the third and subsequent further samples is similar to that described for obtaining the first and second samples above. - A contribution of such examples lies in the
control circuit 250 being configured to determine a sign of a difference between two of a plurality of samples of the metric and suspend the repeated sampling if the difference has a specific sign. In this example, the controller is configured to compare consecutive digitized samples and look for an increase in the current through theammeter 232. It will be appreciated that the current is proportional to the voltage between the supply inputs and ground, due to theresistor 228. An increase in the voltage between two consecutive samples indicates that the mains supply is present, and so further sampling can be performed less frequently. That is, sampling may be suspended for a relatively long time. The suspension of sampling enables thecontrol circuit 250 to avoid or reduce unnecessary sampling of the mains supply and so reduce the power consumption of thepower supply unit 200. The suspension of sampling without compromising the safety of the power supply is described below with reference tofigure 3 . As will also be discussed in further detail with regard tofigures 3 to 5 , the controller can provide indications of whether the power supply voltage is at a "low level" or a "brown-out level" using information determined from one or more of the plurality of samples of the metric. -
Figure 3a illustrates a plot ofvoltage 300a at the common cathode connection of the first and second diodes shown infigure 2 . This voltage represents the rectified power supply input against time and is the signal that may be received by the ammeter offigure 2 when the sampling and discharge switch is closed. Thevoltage 300a is an example of a metric of the power supply input. Other examples of such a metric include any quantity related to the voltage. Thevoltage 300a relates to first, second andthird portions second portions - It can be seen in
figure 3a that mains power is supplied to the input of the power supply unit during the first and secondhalf period portions voltage portion 306a of thethird portion 306. The firsthalf period portion 302 and secondhalf period portion 304 are conventional rectified signals (any offsetting due to the diode is not shown in this example, and may be ignored for high voltage power supplies). The firsthalf period portion 302 and secondhalf period portion 304 each comprise a risingvoltage portion voltage portion voltage portion - The
third portion 306 also comprises a third risingvoltage portion 306a. However, during thethird portion 306, the mains supply is disconnected at the time shown withreference 308 infigure 3a . After the mains supply is disconnected, a voltage is present across the inputs of the power supply due to the charge stored by the filtering capacitor. The voltage across the capacitor will therefore generally remain static (assuming leakage current is small), unless its charge is drained. The voltage can also slowly decrease as the capacitor is discharged by SMPS components. However, at no load conditions this discharge is minimal. At a minimum input voltage the SMPS is switched off and so this discharge of the filtering capacitor is stopped. The system therefore cannot rely on the SMPS components and parasitic leakages to drain the filtering capacitor. Aperiod 306b in which the voltage across the capacitor is generally static is shown (including adiscontinuity 310 along the time axis) infigure 3 . -
Figure 3b shows an example of a sampling scheme for a control circuit. The sampling scheme is superimposed over a rectifiedinput voltage 300b of a mains supply. A first group ofsamples 312 and second group ofsamples 320 are labelled infigure 3b . - A control circuit that is configured to determine a sign of a difference between two of the plurality of samples of the metric can look for increases in the metric. If an increase is found between a sample and a subsequent sample, this unambiguously indicates that a mains supply is present. An example of such an operation is explained below with reference to the
first sample group 312. - The control circuit samples the input in order to obtain a
first sample 314. Subsequently to obtaining the first sample, the control circuit samples the input in order to obtain asecond sample 316. The control circuit then compares the first andsecond samples second sample 316 is lower than the voltage of thefirst sample 314; this could be due to either the mains voltage having been removed or (as is the case here) because the samples were obtained during a falling period of the AC cycle. The control circuit therefore cannot unambiguously determine from the first andsecond samples - A
third sample 318 is obtained after the delay interval has elapsed. In this example, the delay interval between thefirst sample 314 and thesecond sample 316 is the same as the delay between thesecond sample 316 and athird sample 318. The third sample is at a lower voltage than thesecond sample 316. However, as less than a quarter of an AC cycle of the mains supply has been sampled, the control circuit still cannot unambiguously determine whether the decrease in sample values is due to the mains voltage having been removed or because the samples were obtained during a falling period of the AC cycle. Further samples are therefore required. The control circuit can, when taking further samples, consider thesecond sample 316 as a first sample, and repeat the above process. - In
figure 3b , a subsequentfifth sample 322 has been taken and is shown as the first sample of thesecond sample group 320. Comparison between thefifth sample 322 and asixth sample 324 shows that a rise in voltage is present. In such a situation the control circuit can therefore suspend the repeated sampling for a duration that is longer than it would otherwise wait before taking the next sample. This is on the basis that the power supply unit is known to be connected to a mains supply. That is, the delay interval between the sixth and aseventh sample - Alternatively, if the sampled values continue to decrease or stay the same for a minimum, or threshold, number of sampling periods that relate to a period of time, then it may be determined that no mains power is present and the filter capacitor at the input of the power supply unit should be discharged. Such a predetermined period of time may be slightly longer than a quarter of the period of the mains AC supply voltage. In this way, it is ensured that the samples considered cannot all be within a single falling voltage portion of the rectified sinusoidal waveform. Typically, the predetermined period is much longer (32ms, for example). The provision of a longer predetermined period allows the system to accommodate a mains dip condition in which the mains supply is not present for a certain period, such as 1 AC cycle. Some regulatory regimes require that the system should not react to a dip in the mains supply of around 20 ms. So a minimum predetermined period should actually be larger than 20 ms plus a quarter of a AC cycle period. A suitable predetermined period may therefore be 32 ms, with a provision of some margin.
- The controller can determine if a power supply has been disconnected relatively quickly (within 1 AC cycle) compared to such a timescale, the capacitor can then be discharged at a relatively rapid rate (90% discharge may take around 0.1 s). The controller may therefore reduce the power drawn from the mains supply by suspending sampling for up to a period marginally less than the operating regime will tolerate, before resuming the sampling process.
- The control circuit can, when taking further samples, consider the seventh sample 326 (rather than the sixth sample 324) as a first sample, and repeat the above process. The controller may not compare the sixth and
seventh samples sixth samples seventh samples seventh sample 326 with aneighth sample 328 that is taken after a default interval and determine that the voltage has increased between the seventh andeighth sample - The control circuit described herein can be advantageous as it does not require the controller to maintain high frequency sampling in order to determine the state of the power supply when it is determined that a mains power supply is present. It will be appreciated that some power is drained from the mains supply each time the mains supply is coupled to ground by closing the drainage switch. The power consumption of the power supply unit is therefore reduced by avoiding sampling that can be considered unnecessary. Such control circuits therefore allow a more power efficient power supply unit to be provided.
-
Figure 4a illustrates a schematic of a power supply unit comprising anADC 460 and anammeter transistor 432. It will be appreciated that additional filtering components shown infigure 1 may also be provided in this example. The components other than those of theADC 460 andammeter transistor 432 relate to those of the power supply unit offigure 2 and will not be discussed in detail further here. Corresponding reference numerals are used to refer to similar components infigures 2 and4a . - The
ammeter transistor 432 has a conduction channel provided in series between thedrainage switch 426 and ground. In this example, theammeter transistor 432 is a field effect transistor. The conduction channel of thefield effect transistor 432 is provided by its source-drain channel. The source of theammeter transistor 432 is coupled to ground. The drain of theammeter transistor 432 is coupled to the gate of theammeter transistor 432 and also to thedrainage switch 426. - The
ADC 460 comprises a brown-outlevel mirror transistor 464, a brown-out levelcurrent source 466, a brown-out level comparator 468, a lowlevel mirror transistor 470, a low levelcurrent source 472 and alow level comparator 474. - The brown-out
level mirror transistor 464 and the lowlevel mirror transistor 470 are also provided as FETs, in this example. The brown-outlevel mirror transistor 464 and the lowlevel mirror transistor 470 have respective gate connections coupled to the gate of theammeter transistor 432. The brown-outlevel mirror transistor 464 and the lowlevel mirror transistor 470 have respective source connections coupled to ground. - Reference voltages are provided to the inverting inputs of the brown-
out level comparator 468 and thelow level comparator 474. The Vref values for the brown-out level comparator 468 and thelow level comparator 474 can be set at arbitrary reference voltages. - If the mains voltage is high, this gives a higher current. As a result the input voltage of the comparator is low and the output voltage of the comparator should be high.
- The drain of the brown-out
level mirror transistor 464 is coupled to an inverting input of the brown-out level comparator 468. The brown-out levelcurrent source 466 is also provided to the inverting input of the brown-out level comparator 468. The brown-out level comparator 468 produces a high output (sample bit S0=1, as discussed below) when the sampled supply voltage is greater than 85 Vac. - The drain of the low
level mirror transistor 470 is coupled to an inverting input of thelow level comparator 474. The low levelcurrent source 472 is also provided to the inverting input of thelow level comparator 474. Thelow level comparator 474 produces a high output (sample bit S1=1, as discussed below) when the sampled supply voltage is greater than 160 Vac. - The current through the
ammeter transistor 432 relates to the voltage at either the first orsecond input 407, 409 (whichever is the highest) divided by a resistance of the resistor 428 (neglecting any voltage drop in this path of the diode, etc). The current through theammeter transistor 432 is copied totransistors current source 466 is larger then the current intotransistor 464. This is, of course, not possible because the difference between the two current has nowhere to go. In such a situation no current can flow at the inputs of the brown-out level comparator 468. - The voltage at the inverting input of the brown-out level comparator 468 (between brown-out
level mirror transistor 464 and brown-out level current source 466) goes to a high voltage. If thecurrent source 466 is supplied from a 5V supply, the intermediate voltage at the inverting input of the brown-out level comparator 468 will go to a voltage close to 5V, causing the brown-out levelcurrent source 466 to deliver a smaller current then its default value. If the current from the brown-out levelcurrent source 466 is larger than the current from the brown-outlevel mirror transistor 464 then the voltage at the inverting input of the comparator is high and the output of thecomparator 468 is active low (S0 = 0). When the current from the brown-out levelcurrent source 466 is smaller, then the voltage goes to a level close to zero and the output of thecomparator 468 is active high (S0 = 1). - Similar considerations apply to the configuration of the low level comparator as described above for the brown-out level comparator. The reference voltages applied to the
comparators - In this way, the brown-
out level comparator 468 and thelow level comparator 474 therefore provide a 2-bit digital output (S1, S0) that corresponds to a current that is related to the potential of theinputs -
Figure 4b illustrates the mapping of output values of theADC 460 to input voltage conditions. If the input voltage from the mains supply is less than a "brownoutlevel" 480 of 85 Vac then the 2-bit ADC output is 00 (S1=0, S0=0). If the input voltage from the mains supply is greater than the "brownoutlevel" 480 but less than a "mainslowlevel" 482 of 160 Vac then the 2-bit ADC output is 01 (S1=0, S0=1). If the voltage is greater than the "mainslowlevel" 482, the 2-bit ADC output is 11 (S1=1, S0=1). The output 10 (S1=1, S0=0) is not used in this example. -
Figure 4c illustrates a circuit diagram for acurrent mirror 480 that acts as a current limiting circuit configured to limit the maximum current that can pass through the drainage switch to a limited current level. - Use of such a current mirror with the
ammeter transistor 432 andADC 460 arrangement discussed above with reference tofigure 4a can further reduce the power consumption of the control circuit. When a supply voltage above the mains low level voltage of 160 Vac is detected it is unnecessary for current above that level to flow through theresistor 428 offigure 4a . The limited current level may therefore be set to correspond to at least a current that would pass through the sampling and discharge path when sampling a mains supply at a mains low level voltage. - The circuit of
figure 4c therefore limits further increases in the current through theresistor 428. In this way, power dissipation of the circuit can be further limited. Below the current limit, Ilim, the circuit offigure 4c behaves as a normal current mirror, where the output current, Iout, is equal to the input cucrent, Iin. At or above the limit current, the circuit applies the constraint that Iout=Iin=Ilim. - The
current mirror 480 comprises afirst mirror stage 482 and asecond mirror stage 484. Thefirst mirror stage 482 comprises a limitingmirror transistor 486, alimiter transistor 488 and a limitedcurrent source 490. The limitingmirror transistor 486 and thelimiter transistor 488 are FETs in this example. - The conduction channel of the limiting
mirror transistor 486 may be coupled between thedrainage switch 426 and (indirectly) ground. A gate of the limitingmirror transistor 486 is coupled to thelimiter transistor 488. - The limited
current source 490 is provided to a drain of thelimiter transistor 488. The drain of thelimiter transistor 488 is also coupled to the gate of thelimiter transistor 488. The source of thelimiter transistor 488 is (indirectly) coupled to ground. - It will be appreciated that an input current Iin that can flow through the limiting
mirror transistor 486 is limited by the current that flows through thelimiter transistor 488, as well as the current supplied to a drain of the limitingmirror transistor 486. - The
second mirror stage 484 allows the limited mirror current to be provided as an output current. Thesecond mirror stage 484 comprises aninput transistor 492, afirst mirror transistor 494 and asecond mirror transistor 496. Theinput transistor 492, thefirst mirror transistor 494 and thesecond mirror transistor 496 are provided by bipolar junction transistors in this example. A collector of theinput transistor 492 is coupled to a source of the limitingmirror transistor 486 and an emitter of theinput transistor 492 is coupled to ground. A current through a conduction channel (collector-emitter channel) of theinput transistor 492 is therefore due to input current received at a drain of theinput transistor 492, but limited to a maximum value determined by the limitedcurrent source 490. - Respective bases of the first and
second mirror transistors input transistor 492. Respective emitters of the first andsecond mirror transistors first mirror transistor 494 is coupled to the source of thelimiter transistor 488. - If the input current, Iin, at the drain of the limiting
mirror transistor 486 is smaller then the current source, Ilim then the input current Iin is copied frominput transistor 492 to thefirst mirror transistor 494 so thefirst mirror transistor 494 draws a current equal to the input current, Iin. However, a higher current is simultaneously provided to thefirst mirror transistor 494 from thelimiter transistor 488. As a result, a voltage between theinput transistor 494 and thelimiter transistor 488 increases, as does a gate voltage of thelimiter transistor 488 and the limitingmirror transistor 486. The limitingmirror transistor 486 is therefore completely on. - If the input current, Iin, is larger then the current source, Ilim, then the voltage between the
input transistor 494 and thelimiter transistor 488 decreases. As a result, the limitingmirror transistor 486 is partly switched off. Eventually the voltage at the gate of the limitingtransistor 486 will be regulated to such a level that the input current Iin equals the current source Ilim. - A collector of the second mirror transistor provides an output current that is a mirror of the input current as limited by the limited
current source 490. The output current may be provided to the input of acomparator ADC 460 offigure 4a . - The components of the control circuit may be provided in an integrated circuit (IC). The IC may further comprise all of the components shown below the
resistor 428 infigure 4a or the corresponding resistor infigure 2 . Theresistor 428 is coupled to a high voltage (HV) terminal, or pin, of the IC. - During voltage surges, for example if a lightning strike occurs, the voltage at the HV terminal can become very high. An internal clamp can be provided in the IC to limit the voltage at the HV terminal. However, due to the voltages that are applied to the HV terminal during events such as lightning strikes, internal clamping alone may be insufficient.
-
Figure 5 illustrates an arrangement for providing high voltage protection to apower supply unit 500 comprising an integrated circuit (IC) 551 that includes the components shown within the dotted line and a control circuit (not shown). TheIC 551 has a highvoltage input terminal 531 as well as VCC and ground terminals. Corresponding reference numerals are used for features offigure 5 that are similar to those offigure 2 , which will not be discussed in further detail here. - The
power supply unit 500 further comprises a high voltage (HV)diode 597. The anode of theHV diode 597 is coupled to the highvoltage input terminal 531 and the cathode of theHV diode 597 is coupled to an output of an optional power factor correction (PFC)circuit 599, which is an example of a SMPS. The cathode of theHV diode 597 is also coupled to a plate of an elcap output smoothingSMPS capacitor 514. - An
optional capacitor 598 is also provided in this example between the cathode of theHV diode 597 and ground. Theoptional capacitor 598 provides a route for high frequency, high voltage signals to be directed to ground. The provision of theoptional capacitor 598 close to theIC 551 means that it is allowed to use long inductive wires, which would otherwise result in higher clamping voltages. -
Figure 6 illustrates a flow chart for aprocess 600 that can be performed by a control circuit, such as the control circuit illustrated infigures 2 or4a . Theprocess 600 relates to the functionality of: - sampling the supply voltage to provide indictors if the supply voltage drops below a mains low level or a brownout level; and
- The
process 600 has a number of steps. The process uses a number of internal variables, including: - "Mainslowlevel", a voltage level that is considered to be a low level mains voltage;
- "Brownoutlevel", a voltage level that is considered to be a brown-out mains voltage;
- "Mainsdipcntr", a counter that can be used to store the number of successive samples that show a non increasing mains input voltage;
- "Brownoutcounter", a counter that can be used to store the number of successive samples that show a voltage below Brownoutlevel;
- "R0" and "R1", register values that are used to store sample bits corresponding to S0 and S1 of the ADC, as discussed above with reference to
figures 4a and 4b ; and "Xcapdischarge", a boolean variable that is set to "on" when the drainage switch is closed for the purpose of draining the filter capacitor. - The process also provides output indicators that can be used by other components such as the SMPS and discharge switch shown in
figure 2 . The indicators include: "Brownout", which can be provided to the SMPS converter when a brown-out power supply condition is detected; and
a control signal that causes the drainage switch to be closed when the "Xcapdischarge" is "on". - Initially, the process starts at
step 602 and values of variables are initialized such that: - Mainslowlevel = 160 Vac;
- Brownoutlevel = 85 Vac;
- Mainsdipcntr = 0
- Brownoutcounter = 0
- R0 = 0; and
- R1 = 0.
- After the process starts, the process proceeds to a
main loop 603. A sample of the mains supply voltage is taken at asampling step 604. Taking a sample is achieved by closing the drainage switch for a 20 microsecond period and taking a reading using an analogue to digital converter (ADC), such as that shown infigure 4a , during the sampling period. It will be appreciated that a different sampling period could be used in other examples. The ADC maps the mains supply voltage sample to a digital value as discussed with regard tofigure 4b and provides digitized sample bits (S1, SO). S0 relates to the output of the brown-out level comparator and S1 relates to the output of the low level comparator in the example shown infigure 4a . The counters "Mainsdipcntr" and "Brownoutcounter" are each incremented by one count at thesampling step 604. - After the
sampling step 604 is complete, the process initiates anoptional sub-sequence 606 that relates to the process of providing output indications, if required, in accordance with the comparison of the absolute level of the input voltage with the "Mainslowlevel" and the "Brownoutlevel". Thesub-sequence 606 is not related to the process of suspending sampling in response to detecting the rising side of a rectified mains supply sine wave. - The
sub-sequence 606 contains a number ofsteps 608 to 620. Atstep 608, the equality "S1==1" is tested. This equality will evaluate to true if the input power supply voltage is greater than the "Mainslowlevel". If the equality is true then the "Mainslowlevel" is set to 150 Vac atstep 610. If the equality is false, the "Mainslowlevel" is set to 160 Vac atstep 612. Afterstep 610 or step 612, the process proceeds to step 614. - At
step 614 the equality "S0 == 1" is tested. This equality will evaluate to "true" if the input voltage is greater than the "Brownoutlevel". If the equality is "true" then the "Brownoutlevel" is set to 75 Vac atstep 616. Also, the "Brownoutcntr" counter is set to 0 and the "Brownout" output indicator is set to 0 atstep 616. Afterstep 616, or if the equality is "false", the process proceeds to step 618. - At
step 618, the equality "Brownoutcntr is greater than or equal to 32" is tested. Thevalue 32 is one of a number of suitable variables. This value (32) corresponds to a number of successive samples that exceeds a predetermined period of time. The predetermined period is sufficiently long to ensure that a peak (brownout level is defined by the peak of the mains) portion of the power supply cycle is detected if a mains supply is present. The predetermined period is 32 ms in this example. Themain loop 603 must therefore have been cycled through at least 32 times before this step can evaluate to "true". A lower limit for this value can be determined by dividing the duration of half of the AC cycle (10 ms for a 50 Hz cycle) by the delay interval between taking each sample (1 ms in this example, as will be discussed later with regard to step 630) plus at least one delay interval. Half of a cycle may be needed as the peak occurs once per half cycle. A positive dV/dt is a quarter of a cycle, but the brownout level is measured at the peak. The example value of 32 is sufficient to sample around two periods of a 60 Hz AC cycle. - If the equality at
step 618 is "true", the "Brownout" output indicator is set to 1 and the "Brownoutlevel" is set to 85 Vac atstep 620. - Varying the values of the "Brownoutlevel" and the "Mainslowlevel" during the
sub-sequence 606 allows for hysteresis in the determination of whether or not these values have been exceeded. - After
step 620, or afterstep 618 if the equality atstep 618 is "false", thesub-sequence 606 returns to themain loop 603 atstep 622. - At
step 622, the equality "is the current sample value greater than the register value" is evaluated. That is, is (S1, S0) > (R1, R0). It should be noted that this is a comparison between a current value of an input voltage sample (or other metric) and a previous value of the input voltage sample, rather than a comparison between the current value and an absolute, or fixed preset value. In the first iteration of the loop, the register values (R1, R0) were set to 0 atstep 602. - If the current sample value (S1, SO) is not greater than the register value (R1, R0) at
step 622 then the process tests, atstep 624, whether "Mainsdipcntr" is greater than or equal to a threshold, which in this example 32. The value for the threshold can be the same value to that chosen forstep 618 above, for the same reasons. If the equality atstep 624 evaluates to "true" then the input voltage has not risen within a period of time greater than a quarter of a clock cycle, and so it is determined that no mains supply is present at the inputs of the power supply. "Xcapdischarge" is set to "on" atstep 626 in order to close the drainage switch and so discharge the potential stored across the filter capacitor of the power supply unit. - The discharge time that it takes for the voltage stored across the input of the power supply to be reduced to a level that is considered safe depends on the capacitance of the filter capacitor and the resistance of the resistor in the discharge path, as will be appreciated by those skilled in the art. The maximum discharge time may be chosen to be around a few tenths of a second by choosing suitable values for the filter capacitor and discharge path resistor.
- If the equality at
step 624 evaluates to "false" then the drainage switch is set, or maintained, in the open position at step 628 (Xcapdischarge is set to "off"). Step 628 is encountered when more samples are required in order to determine whether or not the voltage has not increased for over a quarter of a rectified AC cycle (or the number of samples selected for the value in step 624). - After
step 626 or step 628, the process proceeds to step 630. Atstep 630, the register value (R0, R1) is set to take the values of the current sample bits (R1 = S1, R0 = SO). A sampling delay interval of 1 millisecond is waited atstep 630. This sampling delay interval can be considered as a default, or "short" delay. The process proceeds then to step 604 where a subsequent sample is taken after the delay interval ofstep 630 has elapsed, thus concluding a traversal of themain loop 603. - Alternatively, if the current sample value is found to be greater than the register value at
step 622 then the input voltage has increased since the last sample was taken. An increase in the input voltage is indicative that an AC mains voltage is present at the input of the power supply unit (and that the waveform has been sampled while the voltage is increasing). If this is the case, "Mainsdipcntr" is set to 0 and the drainage switch is opened, or left open, depending on its previous state atstep 632 Xcapdischarge is set to "off"). The process then goes into suspension for 32 or 64 milliseconds and the register value is set to 11 (R0 =1, R1=1) atstep 634. That is, a delay interval of 32 or 64 milliseconds is provided atstep 634 instead of the 1 milliseconds delay interval used atstep 630. The delay atstep 634 may be considered as a "long" delay, which is longer than the "short" delay applied atstep 630. It will be appreciated that a different period for the suspension may be chosen, but the period of the suspension atstep 634 is typically greater than the delay interval ofstep 630. - After
step 634, the process proceeds to step 604 where a subsequent sample is taken, as described above. -
Figure 7 illustrates the input voltage and input current of a power supply unit as sampled by a conventional control circuit.Figure 8 illustrates the input voltage and input current of a power supply unit as sampled by a control circuit that is configured to suspend sampling such as the circuit offigure 4a . The data are obtained where the input voltage of the power supply unit is the modulus of a full sine wave signal. The input voltage is a rectified sine wave signal. The root mean squared input voltage is 230 Vac. - In the examples of
figures 7 and8 , data are shown at 1 millisecond intervals along the horizontal time axis. The magnitude of the current is shown on the vertical axis on the right hand side offigures 7 and8 . The duration of each sample is 20 microseconds. Data points marked by a "+" represent the current through the sampling and discharge path during each sample period. The magnitude of the voltage is shown on the vertical axis on the left hand side offigures 7 and8 . Data points marked by an "x" represent the voltage between thediodes resistor 228 ofFigure 2 . In this example the clamp level current is 10 % above the high detection level. Normally the current follows the voltage shape, but when the mainslow level is detected it does not make sense to increase the current. So in this example the current is limited to a current which corresponds with a voltage that is 10% higher than the mainslow level. An example implementation of a current clamp is described above in relation tofigure 4c . The current clamp can be implemented to reduce power dissipation of the power supply unit. Without such a current clamp, the system still functions but may have reduced power efficiency. -
Figures 7a and 7b illustrate the sample output of a conventional control circuit that takes a sample at 1 millisecond intervals. In this example, only "short" delay intervals are used. The shifted voltage offigure 7b does not drop to zero because of the effect of voltage rectification. This results in more dissipation in the X cap sensing circuit as shown infigure 7b and8b . The power dissipated by the control circuit when operating on the voltage waveform shown infigure 7a is 4.6 mW. The power dissipated by the control circuit when operating on the voltage waveform shown infigure 7b is 6.3 mW. -
Figures 8a and 8b illustrate the sample output of a control circuit that can take a sample after a "short" delay period or a "long" delay period depending upon a metric of the supply voltage. A "short" delay of 1 millisecond is used unless a positive increase in the supply voltage is detected, in which case sampling is suspended for 32 ms, thereby applying the long delay. During the suspension, no voltage samples are taken and so no "x" data points are seen. The sampling and discharge path has no current passing through the suspension period and so the "+" data points are at 0 A during the suspension period. The power dissipated by a control circuit operating in this mode is 0.59 mW for the input waveform shown infigure 8a and 0.99 mW for the input waveform shown infigure 8b. Figure 8a shows a zeroth 802, a first 804, a second 806 and a third 808 sample. - The
zeroth sample 802 is below the brownout level in this example and so the corresponding output of the two bit ADC offigure 4a is 00. Thefirst sample 804 is also below the brownout level in this example and so the corresponding output of the two bit ADC is 00. A comparison (such as that described with reference tofigure 6 ) between the ADC output for thezeroth sample 802 and the ADC output for thefirst sample 804 therefore shows no change, even though it can be seen fromfigure 8a that the first sample value is substantially higher than the zeroth sample value. A system that compares the values provided by such an ADC may therefore not detect an increase in voltage between the first and second samples. - The
second sample 806 is above the brownout level and below the low level voltage level, so the corresponding output of the two bit ADC offigure 4a is 01. A comparison between the ADC output for thefirst sample 804 and the ADC output for thesecond sample 806 therefore shows an increase in the sampled voltage and so sampling can be suspended by a control circuit in order to reduce power consumption of a power supply unit. Athird sample 808 is taken after an extended delay has elapsed. However, performing a simplified comparison of a course digitized sample can result in a simplified and cheaper implementation. It will be appreciated that the power loss from the requirement to occasionally providing an extra sample may be negligible in many circumstances. -
Figure 8b shows a zeroth 812, a first 814, a second 816 and a third 818 sample. - The
zeroth sample 812 above the brownout level and below the low level voltage so the corresponding output of the two bit ADC offigure 4a is 01. Thefirst sample 814 is also above the brownout level and below the low level voltage so the corresponding output of the two bit ADC is 01. A comparison between the ADC output for thezeroth sample 812 and the ADC output for thefirst sample 814 therefore shows no change. - The
second sample 816 is above the low level voltage so the corresponding output of the two bit ADC offigure 4a is 11. A comparison between the ADC output for thefirst sample 804 and the ADC output for thesecond sample 806 therefore shows an increase in the sampled voltage and so sampling can be suspended by a control circuit in order to reduce power consumption of a power supply unit. Athird sample 818 is taken after an extended delay has elapsed. - It is therefore apparent that by determining a sign of a difference between two of the plurality of samples of the metric and suspending the repeated sampling if the difference has a specific sign (which in this case is indicative of a voltage increase), the control circuit is able to reduce its power consumption. When the results of
figures 7a and8a are considered, the power consumption is reduced from 4.6 mW to 0.59 mW, which represents a significant improvement. Furthermore, the reduction in power consumption is not substantially detrimental to the ability of the control circuit to discharge any charge stored across the inputs of the power supply unit when the power supply has been removed, as the control circuit response time can be maintained within a safe level. In this example, the response time to a power removal event has been increased by up to 31 ms. In comparison, the time required to discharge the capacitor is of the order of a few 100 ms. In some operating regimes, a 1 or 2 second period at which the input at the power supply is at a high level may be acceptable. - The embodiments disclosed herein relate to a circuit or method that can detect if an increase in the power supply voltage has occurred. The detected increase in power supply voltage is indicative of the presence of an AC mains supply. The circuit or method need not, therefore monitor the supply for a duration substantially longer than a typical duration between samples. Power consumption can be improved by reducing the sampling rate whilst maintaining the ability of the device to determine when the power supply is removed within statutory guidelines.
- It will be appreciated that any components that are described herein as being coupled or connected could be directly or indirectly coupled or connected. That is, one or more components could be located between two components that are said to be coupled or connected whilst still enabling the required functionality to be achieved.
Claims (11)
- A control circuit (250) for a power supply unit (200) that has:a first input (207) and a second input (209), both configured to receive an AC mains supply (208);a capacitor (210) coupled between the first input (207) and the second input (209); and a drainage switch (226) configured to selectively discharge the capacitor (210) or allow sampling a metric, such as the input voltage or any parameter representative of the input voltage of the first or second inputs (207, 209) in response to receiving a control signal; the control circuit (250) configured to:sample the first input (207) in order to obtain a first sample value; sample the first input (207) in order to obtain a second sample value subsequent to obtaining the first sample value;compare the first and second sample values to provide an outcome; set a delay interval as a first delay interval if the outcome of the comparison is indicative of the second sample value being smaller than or equal to the first sample value;set the delay interval as a second delay interval if the outcome of the comparison is indicative of the second sample value being larger than the first sample value, wherein the second delay interval is longer than the first delay interval; sample the first input (207) in order to obtain a third sample value after the delay interval has elapsed;wherein the control circuit (250) is further configured to provide the control signal to the drainage switch (226) in order to sample the first or second inputs (207, 209) in accordance with the outcome of the comparison of the first and second sample values.
- The control circuit (250) of claim 1, wherein the second delay interval has a duration of more than 10, 32, 64 milliseconds or 0.5 or 1 second, or is greater than or equal to a duration of a quarter or a half of an AC waveform of the mains supply (208).
- The control circuit (250) of claim 1 or claim 2, wherein the power supply unit (200) further comprises a drainage switch (226) configured to selectively connect the first input (207) via a resistor (228) to ground in accordance with a control signal; and
wherein the control circuit (250) is further configured to, if the outcome of the comparison is indicative of the second sample value being smaller than or equal to the first sample value, then:increment a count of how many consecutive sample values are smaller than or equal to an immediately preceding sample value; andif the count is greater than a threshold, then set the control signal for closing the drainage switch (226);if the count is not greater than a threshold, then set the control signal for opening the drainage switch (226). - The control circuit (250) of claim 3, wherein the duration of the threshold is such that the consecutive samples are obtained over at least one and a half AC waveforms of the mains supply (208).
- The control circuit (250) of any preceding claim, wherein the drainage switch (226) is configured to couple the first and second inputs (207, 209) via a resistor (228) to ground in response to receiving the control signal.
- The control circuit (250) of any preceding claim, wherein each sample value comprises a metric of the mains supply that is, or is related to, a voltage between the input (207, 209) and ground.
- The control circuit (250) of any of claims 3 to 6, further comprising a current limiting circuit configured to limit the maximum current that can pass through the drainage switch to a limited current level.
- A power supply unit (200) comprising a control circuit (250) according to any preceding claim, the capacitor (210) and the drainage switch (226).
- A battery charger comprising the control circuit (250) of any one of claims 1 to 7.
- A method for controlling sampling a metric, such as the input voltage or any parameter representative of the input voltage of a first or a second input of a power supply unit receiving an AC mains supply, comprising:sampling the input in order to obtain a first sample value (314, 322) and a second sample value (316, 324);comparing the first and second sample values (314, 322, 316, 324) to provide an outcome;setting a delay interval as a first delay interval if the outcome of the comparison is indicative of the second sample value being smaller than the first sample value; andsetting the delay interval as a second delay interval if the outcome of the comparison is indicative of the second sample value being larger than the first sample value, wherein the second delay interval is longer than the first delay interval; sampling the input in order to obtain a third sample value (318, 326) after the delay interval has elapsed;
wherein the power supply unit has a capacitor (210) coupled between the first input (207) and the second input (209); and a drainage switch (226) configured to selectively discharge the capacitor (210) or allow sampling of the first or second inputs (207,209) in response to receiving a control signal;
the method further comprising providing the control signal to the drainage switch (226) in order to sample the first or second inputs (207,209) in accordance with the outcome of the comparison of the first and second sample values. - The method of claim 10, further comprising:considering the second sample value as a first sample value in an immediately subsequent iteration of the method of claim 10 if the delay interval is set as a first delay interval; orconsidering the third sample value as a first sample value in an immediately subsequent iteration of the method of claim 10 if the delay interval is set as a second delay interval.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP12199842.1A EP2750275B1 (en) | 2012-12-31 | 2012-12-31 | Low loss mains detection with sampling suspension for PFC SMPS |
CN201310705422.4A CN103915989B (en) | 2012-12-31 | 2013-12-19 | The method that the control circuit of power supply unit, battery charger and control are sampled to the input of power supply |
US14/136,270 US10291216B2 (en) | 2012-12-31 | 2013-12-20 | Control circuit for a power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP12199842.1A EP2750275B1 (en) | 2012-12-31 | 2012-12-31 | Low loss mains detection with sampling suspension for PFC SMPS |
Publications (2)
Publication Number | Publication Date |
---|---|
EP2750275A1 EP2750275A1 (en) | 2014-07-02 |
EP2750275B1 true EP2750275B1 (en) | 2016-11-16 |
Family
ID=47623881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP12199842.1A Active EP2750275B1 (en) | 2012-12-31 | 2012-12-31 | Low loss mains detection with sampling suspension for PFC SMPS |
Country Status (3)
Country | Link |
---|---|
US (1) | US10291216B2 (en) |
EP (1) | EP2750275B1 (en) |
CN (1) | CN103915989B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102015102116B4 (en) | 2014-02-14 | 2022-02-10 | Infineon Technologies Austria Ag | AC CURRENT DETECTION |
US10012680B2 (en) * | 2014-02-14 | 2018-07-03 | Infineon Technologies Austria Ag | AC input signal detection |
US9491819B2 (en) * | 2014-07-15 | 2016-11-08 | Dialog Semiconductor Inc. | Hysteretic power factor control method for single stage power converters |
US10345348B2 (en) | 2014-11-04 | 2019-07-09 | Stmicroelectronics S.R.L. | Detection circuit for an active discharge circuit of an X-capacitor, related active discharge circuit, integrated circuit and method |
US10157702B2 (en) | 2014-12-07 | 2018-12-18 | Alpha And Omega Semiconductor (Cayman) Ltd. | Pulse transformer |
CN106612074B (en) * | 2015-10-26 | 2019-11-12 | 万国半导体(开曼)股份有限公司 | Power supply device |
JP6534218B2 (en) * | 2016-02-29 | 2019-06-26 | ニチコン株式会社 | Power supply device linked to power system |
TWI628902B (en) * | 2017-05-22 | 2018-07-01 | 偉詮電子股份有限公司 | Control circuit and control method thereof capable of detecting status of receiving power and releasing voltage of capacitor accordingly |
DE102017112848B4 (en) * | 2017-06-12 | 2023-12-28 | Infineon Technologies Austria Ag | Phase-controlled discharging of an internal capacitive element of a power supply circuit |
KR102351139B1 (en) * | 2017-08-14 | 2022-01-14 | 주식회사 경동원 | Two line non-polar communication system |
DE202019100080U1 (en) * | 2019-01-09 | 2020-04-15 | WAGO Verwaltungsgesellschaft mit beschränkter Haftung | Device for limiting a power loss when sampling a digital signal |
CN112019069B (en) * | 2020-09-01 | 2022-05-24 | 矽力杰半导体技术(杭州)有限公司 | Control chip and switching power supply using same |
CN112968618B (en) * | 2021-02-07 | 2024-01-23 | 杰华特微电子股份有限公司 | X-capacitor discharging method, discharging circuit and switching power supply |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4392103B2 (en) * | 2000-03-30 | 2009-12-24 | セイコーインスツル株式会社 | Charge / discharge control circuit and rechargeable power supply |
GB0302876D0 (en) | 2003-02-07 | 2003-03-12 | Novartis Ag | Organic compounds |
JP4498401B2 (en) * | 2007-09-25 | 2010-07-07 | 株式会社沖データ | Communication terminal device |
US7787271B2 (en) | 2008-01-08 | 2010-08-31 | Dell Products, Lp | Power supply start-up and brown-out inrush management circuit |
US8081495B2 (en) | 2008-11-20 | 2011-12-20 | Semiconductor Components Industries, Llc | Over power compensation in switched mode power supplies |
US8461915B2 (en) | 2009-06-03 | 2013-06-11 | System General Corp. | Start-up circuit to discharge EMI filter for power saving of power supplies |
US8115457B2 (en) * | 2009-07-31 | 2012-02-14 | Power Integrations, Inc. | Method and apparatus for implementing a power converter input terminal voltage discharge circuit |
JP5094797B2 (en) * | 2009-08-07 | 2012-12-12 | 日立オートモティブシステムズ株式会社 | DC power supply smoothing capacitor discharge circuit |
US8471626B2 (en) * | 2009-08-12 | 2013-06-25 | System General Corp. | Start-up circuit to discharge EMI filter of power supplies |
US20120075759A1 (en) * | 2009-10-27 | 2012-03-29 | Stephen Spencer Eaves | Safe Exposed Conductor Power Distribution System |
KR101768693B1 (en) * | 2010-11-01 | 2017-08-16 | 페어차일드코리아반도체 주식회사 | Apparatus and method for discharging capacitor of input filter of power supply, and power supply including the apparatus |
EP2638626A1 (en) | 2010-11-11 | 2013-09-18 | Telefonaktiebolaget LM Ericsson (PUBL) | Overload detection in a switched mode power supply |
TW201223145A (en) * | 2010-11-29 | 2012-06-01 | Hon Hai Prec Ind Co Ltd | Time delay circuit and time sequence controller using same |
US8710804B2 (en) * | 2011-07-25 | 2014-04-29 | Semiconductor Components Industries, Llc | Discharge circuit and method |
CN103219878B (en) * | 2012-01-20 | 2016-06-01 | 台达电子企业管理(上海)有限公司 | A kind of capacitor discharging circuit and power inverter |
-
2012
- 2012-12-31 EP EP12199842.1A patent/EP2750275B1/en active Active
-
2013
- 2013-12-19 CN CN201310705422.4A patent/CN103915989B/en active Active
- 2013-12-20 US US14/136,270 patent/US10291216B2/en active Active
Non-Patent Citations (1)
Title |
---|
None * |
Also Published As
Publication number | Publication date |
---|---|
CN103915989B (en) | 2017-05-31 |
EP2750275A1 (en) | 2014-07-02 |
CN103915989A (en) | 2014-07-09 |
US10291216B2 (en) | 2019-05-14 |
US20140184145A1 (en) | 2014-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2750275B1 (en) | Low loss mains detection with sampling suspension for PFC SMPS | |
KR101768693B1 (en) | Apparatus and method for discharging capacitor of input filter of power supply, and power supply including the apparatus | |
CN103151910B (en) | Undervoltage protection circuit, under-voltage protection method and switching power supply | |
US9866125B2 (en) | Input voltage sensor responsive to load conditions | |
CN101572487B (en) | Semiconductor device for controlling switching power supply | |
US11139743B2 (en) | Accurate feed-forward sensing in flyback-transformer based secondary controller | |
TWI437239B (en) | Voltage detector and protection apparatus using the voltage detector | |
US9071146B2 (en) | AC voltage sensor with low power consumption | |
US20200412264A1 (en) | Accurate Valley Detection for Secondary Controlled Flyback Converter | |
JP5099183B2 (en) | Start-up circuit | |
JP4845910B2 (en) | Earth leakage breaker | |
CN107317491B (en) | Switching power source chip and switching power circuit including it | |
US10438757B2 (en) | Method for estimating an electrical operating time of a circuit breaker | |
US20160069938A1 (en) | Input voltage detection circuit with a parameter setting function applied in a power converter and parameter setting and circuit protecting method thereof | |
CN109490815B (en) | Three-phase ammeter broken zero line detection circuit and detection method thereof | |
CN210867171U (en) | Leakage protection circuit and lighting circuit using same | |
CN102221640B (en) | The protective device of voltage detector and alternating/direct-current alternative power converter | |
WO2014151538A1 (en) | Rectifier with indicator switch | |
CN109946554A (en) | Single phase ac is grounded real-time detection circuit and its detection method | |
CN111181152B (en) | System and method for dynamically switching loads of a current transformer circuit | |
TW202110071A (en) | Actively switched bus capacitor | |
US7078940B2 (en) | Current comb generator | |
JP5188536B2 (en) | Power supply inspection device, power supply inspection method, power supply device | |
US20240280645A1 (en) | Power converter current sense fault detection | |
CN109742775B (en) | Three-phase load balancing device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
17P | Request for examination filed |
Effective date: 20131031 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
RBV | Designated contracting states (corrected) |
Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: H02M 1/00 20060101ALN20160701BHEP Ipc: H02M 1/12 20060101ALN20160701BHEP Ipc: H02M 1/42 20070101AFI20160701BHEP Ipc: H02M 1/32 20070101ALN20160701BHEP |
|
INTG | Intention to grant announced |
Effective date: 20160729 |
|
GRAS | Grant fee paid |
Free format text: ORIGINAL CODE: EPIDOSNIGR3 |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: FG4D |
|
REG | Reference to a national code |
Ref country code: CH Ref legal event code: EP |
|
REG | Reference to a national code |
Ref country code: IE Ref legal event code: FG4D |
|
REG | Reference to a national code |
Ref country code: AT Ref legal event code: REF Ref document number: 846757 Country of ref document: AT Kind code of ref document: T Effective date: 20161215 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R096 Ref document number: 602012025371 Country of ref document: DE |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: LV Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
REG | Reference to a national code |
Ref country code: NL Ref legal event code: MP Effective date: 20161116 |
|
REG | Reference to a national code |
Ref country code: LT Ref legal event code: MG4D |
|
REG | Reference to a national code |
Ref country code: AT Ref legal event code: MK05 Ref document number: 846757 Country of ref document: AT Kind code of ref document: T Effective date: 20161116 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: GR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20170217 Ref country code: NL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: LT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: SE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: NO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20170216 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: HR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: ES Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: AT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: FI Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: BE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20161231 Ref country code: RS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: PT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20170316 Ref country code: PL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: SK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: EE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: DK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: RO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: CZ Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
REG | Reference to a national code |
Ref country code: CH Ref legal event code: PL |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R097 Ref document number: 602012025371 Country of ref document: DE |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: BE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: BG Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20170216 Ref country code: SM Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: IT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MC Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
REG | Reference to a national code |
Ref country code: FR Ref legal event code: ST Effective date: 20170831 |
|
REG | Reference to a national code |
Ref country code: IE Ref legal event code: MM4A |
|
26N | No opposition filed |
Effective date: 20170817 |
|
GBPC | Gb: european patent ceased through non-payment of renewal fee |
Effective date: 20170216 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: FR Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20170116 Ref country code: LU Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20161231 Ref country code: CH Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20161231 Ref country code: LI Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20161231 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20161231 Ref country code: SI Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: GB Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20170216 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: HU Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO Effective date: 20121231 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: IS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 Ref country code: CY Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MT Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20161231 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: TR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: AL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20161116 |
|
P01 | Opt-out of the competence of the unified patent court (upc) registered |
Effective date: 20230725 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20241121 Year of fee payment: 13 |