POWER SUPPLY DIAGNOSTIC SYSTEM

Abstract: A power supply includes a digital controller (10) which generates pulse-width modulated control signals for controlling the duty cycles of switching transistors (36) for the purpose of regulating the output voltage of the power supply. The controller (10) incorporates a diagnostic system which includes a plurality of comparators (297) arranged to compare each of a number of voltage level signals representing operating conditions at portions of the power supply with a reference voltage, and logic circuits (330-348) responsive to the outputs of the two comparators for generating an output identifying an element of the power supply which has failed. This output is stored and is displayed in a LED display (154) which is actuated by operation of a switch member (360). Integrated circuit chips may be used in the controller so that the diagnostic system is of simple construction and of low cost.

Description: POWER SUPPLY DIAGNOSTIC SYSTEM Technical Field This invention relates to power supplies. Background Art Test systems for monitoring electronic power supplies to identify power supply faults are known. However/ known analog methods and power system archi¬ tecture have not lent themselves to elaborate protection schemes and self-diagnostics. Disclosure of the Invention It is an object of the present invention to provide a power supply incorporating a self-diagnostic system in respect of faults in the power supply. It is a further object of the present invention to provide a self-diagnostic power supply which is of simple construction and low in cost. According to the invention there is provided a power supply, characterized by comparator means arranged to compare each of a number of voltage level signals representing operating conditions at portions of the power supply with a reference voltage, and logic means responsive to the output of said comparator means for generating an output identifying an element of the power supply which has failed. It should be understood that the self-diag¬ nostic system of a power supply in accordance with the invention lends itself to the use of integrated circuit chips, thereby making it possible to achieve a power supply of simple construction and low cost. Brief Description of the Drawings One embodiment of the invention will now be described by way of example with reference to the accom¬ panying drawings, in which: Figs. 1A and IB taken together disclose a partial block diagram and schematic drawing of a regu¬ lated power supply in accordance with the present inven¬ tion; Fig. 2 is a block diagram of a digital con¬ troller of the power supply of Fig. 1; Figs. 3A and 3B taken together disclose logic circuits for generating control and clock signals used by the digital controller in a diagnostic mode of oper- ation; Fig. 4 is a diagram showing the manner in which Figs. 3A and 3B are arranged with respect to each other; Fig. 5 shows various waveshapes associated with the preferred embodiment; Figs. 6A and 6B taken together disclose logic circuits for generating strobe pulses used in the diag¬ nostic mode of the controller; Fig. 7 is a diagram showing the manner in which Figs. 6A and 6B are arranged with respect to each other; Figs. 8A and 8B taken together disclose com¬ parator means for generating control signals represent¬ ing operating conditions at various points of the power supply; Fig. 9 is a diagram showing the manner in which Figs . 8A and 8B are arranged with respect to each other; Figs. 10A-10C inclusive taken together disclose logic circuits utilized in identifying an element in which a fault has occurred; Fig. 11 is a diagram showing the manner in which Figs. 10A-10C are arranged with respect to each other; Figs. 12A and 12B taken together disclose further logic circuits utilized in identifying an element in which a fault has occurred; Fig. 13 is a diagram showing the manner in which Figs. 11A and 11B are arranged with respect to each other; and Fig. 14 is a flowchart of the operation of the controller when in a diagnostic mode. Description of the Preferred Embodiment Referring now to Figs. 1A and IB, the power supply shown therein includes an AC input 22 (Fig. 1A) coupled to a conventional full wave bridge rectifier 24 which provides a D.C. output at the positive and negative terminals 26 and 28. The terminals 26 and 28 are shunted by a filter capacitor 30 in a manner that is well-known in the art. Connected to the terminals 26 and 28 by means of conductors 32 and 34 are conventional power switches 36 comprising switching transistors (not shown) which are operated by 180° out of phase switching control signals #, and 0 2 appearing on the conductors 38 and 40 to alternately drive the upper and lower half windings of the primary winding 42 of the transformer 44. The regulation of the power supply output appearing at the primary winding 42 of the transformer 44 will be controlled by altering the duty cycle of the 0. and 0~ control signals appearing on the conductors 38 and 40. Associated with the transformer 44 are three secondary windings 46-50 inclusive {Fig. IB), each associated with a power output circuit generally indi¬ cated by the numerals 52-56 inclusive. The circuit 52 will have a power output of 5 volts, the circuit 54 will output 12 volts, while the circuit 56 will output 24 volts. Since each of these power output circuits are of the same construction, only one circuit will now be described in detail. In a manner that is well-known in the art, each of the power output circuits includes a full wave rectifier circuit comprising the rectifying diodes 60 and 62 and includes a current sensing trans¬ former 64 coupled to the output of the diodes 60 and 62 - by means of conductors 66 and 68 to generate the magnetic flux in the transformer 64. The conductors 66 and 68 are connected to a terminal 70 at which will appear a voltage level B, . As seen in Fig. IB, connected to the terminal 70 is a power filter * circuit comprising a choke 74 and a capacitor 76. The choke 74 is connected to an output terminal 78 at which appears the voltage level A, of the output circuit. The capacitor 76 is shunted across the terminal 78 and a terminal 80 connected to a ground conductor 82. The conductor 82 is connected to the center tap 84 of the winding 46. The current sensing transformer 64 has associ¬ ated therewith a secondary winding 81 which is connected to ground through the conductor 82. The other end of the winding 81 is connected over conductor 86 to a signal conditioner 88 comprising a plurality of R.C. circuits which reduce the level of the input signals appearing on the conductor 86 to a voltage level which may be used by CMOS integrated circuit elements located in a digital controller 90. Appearing on conductor 86 is a signal C 1 representing the level of the current flowing in the transformer 64 and which is transmitted to the signal conditioner 88. As shown in Fig. IB the voltage level signals B. appearing at the terminal 70 are transmitted to the signal conditioner 88 over con¬ ductor 92, while the voltage level signals A, appearing at the terminal 78 are transmitted over conductor 94 to the conditioner 88. In a similar manner, the current and voltage level signals of the power circuits 54 and 56 are also connected to the conditioner 88. The re¬ sulting voltage signals V^, b, and I, (Fig. 1A) gener¬ ated by the conditioner 88 and representing the input signals A,, B, and C. respectively of the circuit 52 are transmitted over conductors 96 to the digital controller 90, enabling the controller to regulate the output of the power supply in accordance with the signals received from the conditioner 88. As shown in Fig. 1A, the transformer 44 ( has disposed thereon a secondary winding 98 which is connec¬ ted by means of conductors 100 and 102 to a second signal conditioner 104 which is similar in construction and operates in the same manner as that of the signal conditioner 88. The secondary winding 98 will generate a pair of balance signals over the conductors 100 and 102. The balance signals generated over the conductors 100 and 102 will be used in reducing the effect of the magnetizing current flow of the transformer 44 due to the unequal volts-second drive from the operation of the switching transistors 36. Since the arrangement used for reducing the effect of the magnetizing current does not form part of the present invention it will not be described in further detail herein. Also connected to the signal conditioner 104 is a conductor 106 connected to the terminal 26 from which a power loss signal (PLS) is generated representing the condition of the bulk voltage level developed at the output of the rectifier 24. This signal is used in detecting a power failure by the digital controller 90. The signal conditioner 104 will output the balance signals V . and V_ 2 over conductors 110 and 108 and the signal PLS over conductor 112 to the digital controller 90. The controller 90 in response to the signal PLS appearing on the conductor 112, will then enter into a power-up sequence characterized as a "soft start se¬ quence", enabling the operation of the power supply to start. When the signal PLS goes high, indicating that the voltage has reached 78% of its normal value, the controller 90 is reset and the power signal V appearing on conductor 115 is applied to the controller 90 enab¬ ling the controller for operation. After being reset, the controller 90 will initiate a delay of 60 ms. or 3 power line cycles. When the delay is complete, a dynamic regulation of the power supply will com ende. The switching control signals 0- and appearing on the conductors 38 and 40 and which are generated in the digital controller 90 will begin switching at a 5 percent minimum duty cycle period which duty cycle period will be incrementally increased after a predetermined time period has elapsed. This switching action will continue until an overcurrent condition is detected. Upon the detection of an over¬ current condition, the signals . and 0 2 will start switching at a second predetermined or constant minimum duty cycle until the overcurrent condition is removed at which time the signals 0^ and . will resume switching at the duty cycle existing prior to the detection of the overcurrent condition. This soft start operation con¬ tinues until the voltage level A., appearing at the terminal 78 in the power output circuit 52 reaches 90% of its normal value or until 100 ms. from the beginning of the switching operation has elapsed, whichever occurs first. If the predetermined voltage level A., occurring at terminal 78 is reached first, the controller con- tinues its soft start operation for another 20 πs. (or 1 power line cycle) and. then commences a static regulation mode of operation. When the controller is operated in the static regulation mode, the duty cycles of the switching sig- nals 0, and 0- are continuously adjusted based on the voltage levels A, and B, appearing at the terminals 78 and 70 respectively in the power output circuit 52 to maintain a plus or minus 1 percent static regulation and plus or minus 2 percent dynamic regulation of the power output circuit 52 (Fig. IB). During the time the con¬ troller is operating in the static regulation mode, the controller continuously monitors the feedback data generated by the signal conditioner 88 and will stop the generation of the signals 0^ and - upon sensing the occurrence of a system fault. As will be explained more fully hereinafter, the controller at this tine will leave a diagnostic data latch and the circuitry associ¬ ated with the signal PLS operational. The diaσnostic data latches will be accessible by a serviceman at a later time. Included in the construction of the con¬ troller is the capability of the controller to display the fault isolation condition on a plurality of light- emitting diodes for a period of 20 seconds when enabled. The controller 90 will output a low signal PFS (power fail sense) over conductor 114, (Fig. 1), indi¬ cating the occurrence of a power loss and the signal DSPO over conductor 119 which is transmitted to a plurality of LED drivers (Fig. 12B) for fault identi¬ fication after a power system shutdown. The controller will also receive a manually selected signal DCL over conductor 116 selecting either a single ended or double ended recti ication mode of operation of the power system. When selected for a single ended operation, the maximum duty cycle of the switching signals 0, and 0~ shall be reduced to 66 percent of their value in the double ended operation. A signal DFPS appearing on conductor 118 selects either a 20 KHz. or 40 KHz. switch- ing frequency, while a signal DSPR appearing on conduc¬ tor 120 is a reset signal to the serial readout diagnos¬ tic output latches (Figs. 12A and 12B). Referring now to Fig. 2, there is shown a block diagram of the digital controller 90. As previous- ly disclosed, the controller 90 will regulate the power supply output by altering the duty cycle of the 0. and j? 2 switching signals for the power transistor switches 36 (Fig. 1A) in accordance with the power requirements of the system. This information is contained in the power level signals A. and B, appearing at the terminals 70 and 78 of each of the power level circuits 52-56 inclusive (Fig. IB). By monitoring the power supply output voltage present at these terminals, the controller can adjust the #, and 0- duty cycles up or down to counteract the change in the output voltage of the power output circuits 52-56 inclusive. The controller 90 will control the duty cycle of the switching transistors 36 by adjusting the pulsewidth of the switching control signals 0, and 0 2 in accordance with the signals gener¬ ated by the signal conditioner 88 (Fig. 1A) . As shown in Fig. 2, the digital power control¬ ler 90 includes a weighting circuit 130 enabling the value of the power output level signals V^, appearing on line 96 (Fig. 1A) to be offset and scaled to make use of all the codes available at the output of a CMOS analog/ digital converter 132 for the output voltage range of the power output circuit 52, namely, 4.125V to 5.5V. The output of the circuit 130 is transmitted to the converter 132 which converts the analog voltage signals into proportional digital signals. The signals are then transmitted to a pulse-width calculator circuit 134 for calculating the pulsewidth of the switching signals 0^- and 2 which are then outputted over conductors 38 and 40 from a programmable interval timer 136 to the switch¬ ing transistors 36 (Fig. 1A) . Associated with these circuits is a control logic and sequencing circuit 138 for logically operating the circuits 134 and 136. Also included in the controller 90 is a clock circuit 140 for generating the various clock signals used in the oper¬ ation of the controller, together with a strobe gener¬ ator circuit 142 for use in sensing the occurrence of a fault condition within the controller. Further included in the controller 90 is a reference voltage source 144 whose level may be adjusted by the signals Hϋ and MD and which is used in the weighting circuit 130 together with level detectors 146 for sensing the various power levels occurring at various elements of the controller. A fault diagnostic and strobe latch 148, together with a fault encoder 150, fault diagnostic output latches 152, and an LED display 154 constitute the diagnostic cir¬ cuits associated with the controller. Referring now to Figs. 3A and 3B inclusive, there is shown the timing circuit for generating the various control signals used in the operation of the power supply. As shown in Fig. 3A, a 5 MHz. clock signal generated from a 5 MHz. oscillator (not shown) is transported over conductor 160 into the clock input of a SCL4029 4-bit counter 162 which divides the input clock signal by 16 to output over conductor 164 the 320 KHz. 5 clock signal (Fig. 5A) . The conductor 164 is coupled to the clock input of a MC14163 4-bit counter 166 which will output over its output conductors 168 the 20 KHz. clock signal (Fig. 5E) to a gate circuit which includes NOR gates 170-174 inclusive, the NAND gates 176 and 180, 10 the AND gate 178, together with the NOR gates 182-186 inclusive (Fig. 3B) and the NAND gates 188 and 190 which circuit outputs over conductors 191 the 4-bit clock signals into a CD40257 selector 192 (Fig. 3B). The selector 192 is operated by a signal FREQ SEL which 15 appears on conductor 194 and which is manually generated by the operator to select either a 20 KHz. or 40 KHz. switching frequency. The signal FREQ SEL will be high if a 40 KHz. frequency is selected or low if a 20 KHz. frequency is selected. The signal FREQ SEL will operate 20 the selector 192 to output over conductors 196 the selected binary bits to a plurality of level shift gates 198 which shift the level of the output signal to a voltage level enabling the TTL circuits to operate. Appearing on the output line 200 is the control signal • 25 ST (Fig. 51) which is used in the generation of the switching control signal 0^ . Appearing on the output line 202 is the clocking signal TS (Fig. 5G) which is used in the generation of the second switching control signal 0 2 . Appearing on the output line 204 is a clock 30 signal, while appearing on the output conductor 206 is the load signal LD (Fig. 5H) which signals are used in the generation of the pulse width of the switching control signals 0. and 0 2 . The 20 KHz. signal (Fig. 5E) appearing on one 5 of the output conductors 168 of the counter 166 (Fig. 3A) will clock a CD4020 timer 212 which will output clocking signals over its output conductors 214 to a ...-rl pair of AND gates 216 and 218 whose output signals are transmitted over conductors 220 and 222 to a pair of CD4013 D-type flip-flops 224 and 226. Appearing on the Q output conductor 228 of the flip-flop 224 will be the inhibit signal INH which / as shown in Fig. 5K, will go high at the time the controller is reset by the reset signal RST (Fig. 5J) and will go low 60 ms. after the signal RST goes low. This 60 ms. delay allows the controller 90 to condition the switching of the trans- istors 36 to occur after the controller has been reset. Appearing on the Q and Q " outputs of the flip-flop 226 will be the power up signals PWRUP appearing on line 232 and the inverted power up signal PWRUP (Fig. 5L) appear¬ ing on line 230. After 100 ms. has elapsed, the output count of the timer 212 which appears on the input of the AND gate 218 enables the gate to output a clocking pulse to the flip-flop 226 resulting in the signal PWRUP going high. If the power supply does not attain 90% of its rated value within 100 s. of the time it started its switching operation, the controller will shut down the power up operation. Also included in the timing circuit of Figs. 3A and 3B is a reset circuit which includes a NAND gate 234 powered by a 12 volt power supply 236 tied to ground through a 4.7K resistor 238 and a 4.7uF capacitor 240. Further included in the reset circuit is a NAND gate 241 which receives the output signal from gate 234 and the output signal from a further NAND gate 242. The NAND gate 242 receives the power loss signal PLS appearing on conductor 112 (Fig. 1A) and the Q output of the flip- flop 224 over conductor 243. The signal PLS will go high when the bulk voltage appearing at the filter capacitor 30 (Fig. lA) reaches 78% of a reference voltage thereby enabling the NAND gates 241 and 242 to output over conductor 244 the reset signal RST (Fig. 5J) to reset various circuits in the controller 90. Upon the signal PLS going high, power is supplied to the controller 90 which charges the capacitor 240 resulting in the generation of the signal RST. Also included in the timing circuit is a CD4029 timer 245 clocked by a clock signal appearing on the output line 214 from the timer 212 and which is transmitted through the NAND gates 246 and 248. The timer 245 will output the control signal REG (Fig. 5N) which occurs 20 ms. after the control signal PM (Fig. 5M) appearing on the input line 250 to the NAND gate 246 goes high at the time the power supply has attained 90% of its normal value within 100 ms. of its switching operation. The signal REG appearing on the output line 252 (Figs. 3A and 3B) of the timer 245 is transmitted to one input of a NAND gate 254 (Fig. 3B) which outputs the signal REG over line 256 for use in enabling the controller to initiate a power-up se¬ quence. Referring now to Figs. 6A and 6B, there are disclosed the logic circuits for generating a plurality of strobe signals used by the controller when in a diagnostic mode. Included in the strobe generating circuit are a pair of 74193 counters 258 and 260 (Fig. 6A) . The counters 258 and 260 are preset by a plurality of binary bits inclusive appearing on conductors 262 representing the pulse width of the clocking signals 0-, and J2 . The binary bits are shifted one position to the right when loaded into the counters 258 and 260 to divide the pulse width value by two. The counters 258 and 260 are operated by the load signal LD (Fig. 5H) appearing on conductor 261 to output a high signal over conductor 278 after downcounting the input binary bits to zero. The signal is inputted into an AND gate 274 (Fig. 6B) which is enabled to output over conductor 276 a strobe pulse STB which occurs in the middle of the 0. and 2 clocking pulses. A pair of 74LS74 flip-flops 264 and 266 (Fig. 6B) are enabled to output over their output lines 38 and 40 respectively the switching control signals 0^ and 0 2 . The duration of the switch- - ~ ing clock pulses is controlled upon the resetting of the flip-flops 264 and 266 by a clear signal appearing on the input lines 268. The switching control signals 0. and 0 are also transmitted to one input of a pair of AND gates 270 and 272, whose other inputs receive the high strobe signal generated by an AND gate 274 over line 276. The operation of the AND gate 274 is con¬ trolled by a high signal received from a NAND gate 294. A pair of 74LS74 flip-flops 282 and 284 (Fig. 6A) are clocked by a 5 MHz. clock signal appearing on line 286 and outputted by an AND gate 288 which signal enables the flip-flops 282 and 284 to output low and high clock signals over the output lines 290 and 292, respectively, to the NAND gate 294 (Fig. 6B) whose output high signal enables the AND gate 274 to output the high strobe signal STB appearing on line 276. This signal appearing on line 276 is transmitted to the other input of the AND gates 270 and 272 which outputs the strobe signals STB1 and STB2 over the output lines 296 and 298 respectively, which signals are used in the diagnostic circuitry of the controller. Referring now to Figs. 8A and 8B, there are shown the circuits for generating control signals rep¬ resenting the operating condition of the power supply with respect to the voltage and current levels within the power supply. Included in the circuit are a plural¬ ity of MC3302 operational amplifiers 297A-297J inclusive (Fig. 8A) which will compare the voltage level signals A n , B n , C n of each of the circuits 52-56 inclusive (Fig. IB) and the bulk voltage signal BULK appearing on the output of the bridge rectifier 24 (Fig. 1A) with refer¬ ence voltages. As shown in Fig. 8A, the voltage level A, appearing on conductor 94 (Fig. IB) is inputted through a plurality of voltage drop resistors 293 to the input of a plurality of the voltage comparators 297A- 297D inclusive which compare various levels of the inputted voltage signals appearing on conductor 94 with a 2.5V reference voltage signal appearing on conductor 295 resulting in the comparators 297A-297D outputting the signals VR1VL over conductor 299 (Fig. 8B) if the voltage level is very low compared with the reference voltage, the signal VR1L over conductor 300 if the voltage level is low, the signal VR1H over conductor 301 if the voltage level is high and the signal VR1VH over conductor 302 if the voltage level is very high. -In a similar manner, the voltage signal B.. appearing on conductor 92 will be compared by the comparator 297E to generate the signal blL over conductor 303 if the voltage level is low. The bulk voltage level appearing on conductor 106 is compared with the 2.5V reference signal appearing on conductor 295 by the comparator 297F which will raise the signal PLS if the bulk voltage level is 78% of the reference voltage. The signal C, appearing on conductor 86 is compared by the comparator 297G with a .5V reference voltage appearing on conductor 304 and outputted by the amplifier 315 (Fig. 8B) to raise the signal IIVL over conductor 305 (Fig. 8B) if the voltage level is very low. The signal C-, is also compared by the comparator 297H with the 2.5V reference signal to raise the signal I1VH over conductor 306 if the voltage level of C. is very high. The signal C. is further transmitted to the comparator 2971 whose output signal is transmitted to the D input of the flip-flop 307 which when clocked by the strobe signal STB2 appearing on conductor 298 will output the overcurrent signal 5VOIP over conductor 308. The balance signals V_, and V_ 2 appearing on conductors 110 and 108 (Figs. 1A and 8A) are inputted into the non- inverting input of voltage comparator 297J (Fig. 8A) which receives the 2.5 reference voltage over conductor 295 to output the control signal POI over conductor 313 indicating an overcurrent condition in the primary winding of the transformer 44 (Fig. 1A) . A more de¬ tailed description of the signals generated by the comparators 297A-297I is disclosed in the following Table I which defines the signals with respect to their nominal value. TABLE 1 Input, Sense Point or Term Terra or Logic Term Definition VRn VRnVL = Voltage level on VRn n = 1, 2, 3 input less than 50% of its normal value. VRnL * Voltage level on VR1 input less than 90% and on VR2 & VR3 in¬ puts less than 85% of their normal value. VRnH - Voltage .level on VR1 input greater than 112% and on VR2 and VR3 inputs greater than 115% of their normal value. " VRnVH = Voltage level on VR1 input greater than 125% and on VR2 and VR3 inputs greater than 130% of their normal value. bn bnL = Voltage level on bn n * 1, 2 , input less than 50% of its normal value. I Inn InVH = Voltage level on In n = 1 , 2 , input greater than 140% of its normal peak value. InVL = Voltage level on In input less than 10% of its normal peak value. Input, Sense Point or Term Term or Logic Term Definition Output STB = This strobe occurs Fault Monitor during ' the middle of STB, STB1, STB2 the On time of 0. (Strobe) and 0 2 . STB1 STB1 = Strobe during the middle of the On time of 0.. STB2 STB2 ■ Strobe during the middle of the On time of 0 . Referring now to Figs. 10A-10C inclusive, there are shown the logic circuits for generating si-gnals representing the occurrence of a fault in the power supply system. As shown in Fig. 10A, the strob ' e pulse STB appearing on the input line 276 (Fig. 6B) is trans¬ mitted to one input of a NAND gate 309A enabling the NAND gate to clock a pair of CD4027 flip-flops 310 and 311 associated with a shorted output capacitor of the power supply. As shown in the following Table II a failure of the component listed associated with the circuit 52 (Fig. IB) will produce the corresponding voltage signals shown in Figs. 10B and IOC. The same signals will be produced for similar components in the circuits 54 and 56 (Fig. IB). POWER CIRCUIT 52 * TABLE II FAULT SENSE CONDITION FOR COMPONENT OR POINTS FAULT SUB SSEMBLY FAULT REQUIRED RECOGNITION Switches bl, b2, b3 T=(blL b2L b3L STB) FC2 - ^D22> .: i FAULT SENSE CONDITION FOR COMPONENT OR POINTS FAULT SUBASSEMBLY FAULT REQUIRED RECOGNITION Overvoltage OVF1 VR1 VR1VH (2 us) Fault Primary IPR1VH Overload OIP Diodes Open bl, b2, b3 fθ=(blL b2L Dl, D2 b3L STB) FC2 Short 11, bl fs=(HVH blL STB) FC1 LI Open 11, bl, 12 fo=(IlVL FIT 12) COl Open 11, bl, VR1 fo=(HVL blL VR1H STB) FC1 Short 11, bl, VR1 fs=(IlVL blL VR1VL STB) FC: The disabling of the power supply by a shorted output capacitor results in the raising of a control signal IIVL appearing on conductor 305 and the raising of the signal VR1VL appearing on conductor 299 and the raising of the signal blL appearing on conductor 303. Signal IIVL appearing on the input line 305 is inverted by an inverter 314 (Fig. 10C) while the signal blL appear¬ ing on conductor 303 is inverted by inverter 312. The condition for the fault recognition and the exploration of the terms are given in Tables I and II. The terms without the bar indicate an active high while those with the bar are active low. Each- of these high signals are transmitted to an AND gate 316 (Fig. 10A) whose high output signal indicating a fault condition is coupled to a NOR gate 318 which receives the clock signal from the NAND gate 309A. At this time the inhibit signal INH appearing on conductor 228 is low because of the control¬ ler being in a regulation mode enabling the low output signal of the NOR gate 318. This low signal is trans¬ mitted through an OR gate 322 to the reset input of a counting circuit comprising the flip-flops 310 and 311 resetting the flip-flops. The counting circuit will start counting with the output signal appearing on conductor 313 being clocked through the NAND gate 309A by the strobe signal STB appearing on conductor 276. Upon the output count reaching two, a low signal will appear on conductor 313 which is inputted into the NAND gate 309A disabling the signal STB which stops the counter. At this time,the Q output signal FCS1 of the flip-flop 311 appearing on conductor 324 (Fig. 10B) will be high indicating a shorted output capacitor as the fault in the circuit. In a similar manner, the signal FDOl appearing on the output conductor 326 represents the fault as an open diode, while the high signal FLOl appearing on the output conductor 328 (Fig. 10B) which is the output of the AND gate 329 will indicate the occurrence of an open choke. With respect to the open diode circuit, the counting circuits are clocked sep¬ arately by the strobe signals STB1 appearing on con¬ ductor 296 and the strobe signal STB2 appearing on conductor 298. The Q output signals of the flip-flops 304 (Fig. 10A) appearing on conductors 326 and 315 are inputted into the OR gate 325 (Fig. 10B) which outputs the signal FDOl on conductor 326. With respect to the open choke circuit, the fault condition has to be valid for three successive counts. Once the counting circuit comprising the flip-flops 302 and 304 (Fig. 10C) reaches the count of three, the Q signal of the flip-flop 302 and the Q signal of flip-flop 304 go high. These signals are transmitted over conductors 319 and 317 respectively to the AND gate 329 (Fig. 10B) which outputs the high signal FLOl on conductor 328 indicating an open choke. The signals appearing on conductors 317 and 319 are also inputted into a NAND gate 321 (Fig. 10C) which outputs a high signal to the NAND gate 309D. The gate 309D will output a low signal thereby disabling the counting circuit. As shown in Fig. IOC, a CD4013 flip-flop 330A will be clocked by a clock signal appearing on the output of a NAND gate 332A which receives the input signals IIVL and ' blL previously described with respect to the AND gate 316 (Fig. 10A) in addition to the strobe signal STB received over conductor 276 and the signal VRIH received over conductor 301. The output of the NAND gate 332A will go from high to low when a fault condition occurs. Upon the clocking of the flip-flop 330A, a high signal will appear on the Q output line 334 indicating the disabling of the component associated with this circuit. The signal FC01 associated with the output line 334 of the flip-flop 330A represents an open output capacitor, while the element associated with the signal FDS1 on the output line 336 of the flip-flop 332B is a shorted diode. Referring again to Fig. 10B, there is shown a presettable counter 338 which is enabled by the output signal of the AND gate 339 which in turn is enabled by the signal VRIVH appearing on conductor 302 (Fig. 10A) and inverted by the inverter 341. The signal VRIVH must remain valid for at least 2 us. to avoid nuisance tripping. The counter 338 is clocked by the 2.5 MHz. clock signals appearing on conductor 295 (Fig. 10A) and gated by the AND gate 340 (Fig. 10B) . If the signal VRIVH goes low before 2 us. has elapsed, the counter 338 is reset to zero. After the counter 338 has outputted a predetermined count, a low signal FOV1 appears on the QT output conductor 342 of the counter 338, which signal is inverted by the inverter 343 and outputted over conductor 344 indicating an overvoltage condition in the power supply. The output signal appear¬ ing on conductor 342 is also inputted in the AND gates 339 and 340 which stops the counter 333. Upon the raising of a signal indicating the disabling of its associated component, the signals appearing on any of the output lines 324-328 inclusive, 334 and 336 (Fig. 10B) will be transmitted to a plurality of priority encoders (Fig. 12A) to determine the priority between the simultaneous occurrance of two or more faults. Referring now to Figs. 12A and 12B, there is shown the fault display circuitry including priority encoders 345-348 inclusive which determine priority of the faults generated by the signals appearing on the output conductors 313, 324-328 inclusive, 334 and 336 (Figs. 8B and 10B). As shown in Fig. 12A, the circuit includes a plurality of CD4532 priority encoders 345-348 inclusive which receive on their input lines the signals cited above, identifying the component in the power supply which has become disabled and inputted into the encoders 345-348 according to the level of importance. Thus the signal POl (Fig. 8B) appearing on conductor 313 and representing an overcurrent condition in the primary windings of the transformer 44 (Fig. 1A) is given the highest priority when two faults occur simultaneously while the signal FLOl has the lowest priority. In ad¬ dition to determining priority, the priority encoders 345-348 will output over their output conductors 350 a five bit binary number identifying the faulty component to the inputs of OR gates 352 whose output conductors 354 are coupled to a pair of MC141758 latches 356 and 358 (Fig. 12A) for storing the binary bits appearing on its input conductors representing the component which has failed. Upon the storing of the binary number in the latches 356, 358, a high signal FAULT will appear on the Q output conductor 376 of latch 356. The signal is inputted into a NAND gate 374 which also receives the low signal appearing at the Q- 2 output of a counter 364 and which is inverted by the inverter 372. The low output signal of NAND gate 374 is inverted by the inver- ter 375 whose high output signal on conductor 378 is transmitted to the LED drivers 380 enabling the LED display 382 to display the binary number stored in the latches 356 and 358. The high signal on conductor 378 also enables a CD 093 Schmitt trigger low frequency oscillator 379 whose output signals will clock the CD4020 binary counter 364. After 20 seconds has elapsed, the counter 364 will output a high signal on its Q 12 output conductor 370 which signal is inverted by the inverter 372 to disable the NAND gate 374, the oscil¬ lator 379 and the LED display 382. As shown in Fig. 12A, a switch 360, when momentarily actuated by a serviceman after the power supply has been shut down, will supply power from a battery 362 (Fig. 12B) to the CD4020 counter 364 (Fig. 12B) over conductor 366 through an OR gate 368 resetting the counter to output a low signal for a period of 20 seconds over its output conductor 370 through an inverter 372 to one input of a NAND gate 374. The NAND gate 374 enabled by the high signal appearing on the output of the inverter 372 will output a low signal which is inverted by the inverter 375 to repeat the energizing of the display for a period of 20 seconds in the manner described previously. ' The signal Fault appearing on conductor 376 (Fig. 12A) notifies the controller 90 (Fig. 1A) to shut down the power supply. The binary number that is displayed and the circuit element in the power circuits 52-56 inclusive (Fig. IB) that it repre¬ sents are disclosed in the following Table III. TABLE III DIAGNOSTIC FAULTS & FAULT CODES FAULT PRIORITY # FAULT CODE STARTING WITH LD4 LD3 LD2 LD1 LD0 HIGHEST Primary Overload 30 1 1 1 1 0 Dl, D2 Short 28 1 1 1 0 0 D3, D4 Short 27 1 1 0 1 1 D5, D6 Short 26 1 1 0 1 0 FAULT PRIORITY # FAULT CODE STARTING WITH LD4 LD3 LD2 LD1 LD HIGHEST C01 Open 22 1 0 1 1 0 CO2 Open 21 1 0 1 0 1 CO3 Open 20 1 0 1 0 0 C01 Short 19 1 0 0 1 1 CO2 Short 18 1 0 Q 1 0 C03 Short 17 1 0 0 0 1 OVF1 16 1 0 0 0 0 OVF2 15 0 1 1 1 1 OVF3 14 0 1 1 1 0 Dl, D2 Open 13 0 1 1 0 1 D3 1 D-4 Open 12 0 1 1 0 0 D5, D6 Open 11 0 1 0 1 1 Controller Fault 10 0 1 0 1 0 PFS Fault 9 0 1 0 0 1 LI Open 4 0 0 1 0 0 L2 Open 3 0 0 0 1 1 L3 Open 2 0 0 0 1 0 No Fault or Normal Power Down 0 0 0 0 0 0 The serviceman using this information will then be able to determine which element is to be replaced. Referring to Fig. 14, there is shown a flow¬ chart of the operation of the controller when in a diagnostic mode. During the regulation of the power supply (block 400), the controller checks the output signals from the signal conditioner 88 (Fig. 1A) to see if an overvoltage condition exists (block 402). If such a condition exists, the controller will stop switching the ^ and 0 2 signals and latch the fault code (Table III) in the latches 356 and 358 (Fig. 12A) . If the controller does not find an overvoltage condition, the controller will check for a catastrophic failure of a component (block 404). If it finds that this condition -^3?>Ξ exists, the controller will stop switching the signals 0. and 0 2 and latch the fault code (block 406), display the location of the fault in the LED display 382 (block 408) for a period of 20 seconds (block 410). After this time, the display will be turned off and the operation ended (block 412). If the controller fails to sense any of the above conditions, the controller will check the PLS signal received over line 112 (Fig. 1A) to determine if the power output level is less than 78% of the rated output (block 414). If such a condition exists, the controller will lower the signal PFS (block 420) over line 114 (Fig. 1A) resulting in the shutdown of the system (block 412). If the signal PLS is not low, the controller will check for an overcurrent condition (block 416). If it does not find such a condition exists, the controller will continue in its regulation mode. If the controller finds an overcurrent condition, it will switch the signals 0T. and 0 2 at a minimum duty cycle (block 418) until the overcurrent condition is removed at which time the controller will continue in a regulation mode. The IC circuits disclosed in this application are commercially available from the following manufac- turers. Those circuits having the prefix MC are avail¬ able from the Motorola Corporation of Phoenix, Arizona; the prefix CD from RCA Corporation of New York, N.Y.; the prefix MP from Analog Devices of Santa Clara, Cali¬ fornia and the prefix LM from National Semiconductor Corporation of Santa Clara, California.

Claims: CLAIMS : 1. A power supply, characterized by com¬ parator means (297A-297J) arranged to compare each of a number of voltage level signals representing oper¬ ating conditions at portions of the power supply with a reference voltage, and logic means (Figs. 10A-10C, 12A, 12B) responsive to the output of said comparator means for generating an output identifying an element of the power supply which has failed. 2. A power supply according to claim 1, characterized in that said comparator means (297A-297J) are arranged to produce output signals representing the extent by which at least one of said voltage level signals differs from the reference voltage with which it is compared. 3. A power supply according to either claim 1 or claim 2, characterized in that said logic means (Figs. 10A-10C, 12A, 12B) are responsive to predetermined combinations of first control signals generated by said comparator means (297A-297J) to produce second control signals each representative of an element of the power supply which has failed. 4. A power supply according to claim 3, characterized by storage means (356, 358) for storing signals representative of an element of the power supply which has failed. 5. A power supply according to claim 4, characterized by encoder means (345-348) to the input of which said second control signals are arranged to be applied and the output of which is connected to said storage means (356, 358), said encoder means serving to determine the priority between two or more simultaneously - ■ fϋRaE 5 . ( concluded ) occurring second control signals and determine what signals are stored in said storage means. 6. A power supply according to claim 3, characterized in that said logic means (Figs. 10A-10C, 12A, 12B) includes counter means (338) arranged to enable said logic means to distinguish between at least one of said first control signals which exists for less than a predetermined time period and such signal which exists for at least said predetermined time period. 7. A power supply according to claim 1, characterized by storage means (356, 358) for storing information identifying an element of the power supply which has failed, and by display means (382) connected to said storage means for displaying said information. 8. A power supply according to claim 7, characterized by timing means (364, 379) connected to said display means (382) and arranged to cause said display means to display said information for a pre- determined time period. 9. A power supply according to claim 8, characterized by switching means (360) operable to con¬ nect a power source (362) to said timing means (364, 379) so as to cause said display means (382) to display said information for said predetermined time period. 10. A power supply according to either claim 8 or claim 9, characterized in that said timing means includes counter means (364) and clock generating means (379) connected to said counter means for causing said counter means to output an enabling signal to said display means (382) for said predetermined time period.

Inventors: HAMILTON RODNEY VICTOR, KHAMARE ISHWAR SINGH
Applicants: NCR CO, NCR CORP
Application year: 1982
Main classification: G08B21
IPC codes: G01R31, H02J1, H02M3