Regulating digital power supply
STATEMENT OF GOVERNMENT INTEREST 
     The invention described herein may be manufactured and used by or for the Government for governmental purposes without the payment of any royalty thereon. 
    
    
     BACKGROUND OF THE INVENTION 
     This invention relates to regulated power supplies, and more particularly to a digital power supply regulator using pulse counts and a feedback servo loop. 
     Analog MOS circuitry is extremely sensitive to radiation and there are undesirable results when not placed in a suitable radiation-free environment. The present invention is a regulated power supply but instead of using conventional analog techniques that have high sensitivities to radiation, a digital system is disclosed which is relatively insensitive to radiation. 
     SUMMARY OF THE INVENTION 
     A pair of transistors regenerates with one or the other conducting with the opposite being in the off state. Their states depend on the relative magnitude of an unknown loop voltage and a reference voltage, the regenerating output occurring each time a strobe pulse is applied. At each comparison or strobe pulse, an up/down counter is incremented (unknown less than reference) or decremented (reference less than unknown) and the contents of this register is transferred to a down counter and a flip-flop is set. A clock pulse with a repetition rate N times the strobe pulse rate is used to decrement the down counter until the zero count is past and an overflow occurs which resets the flip-flop. The width of the flip-flop output pulse is therefore controlled by the number contained in the up-down counter which is in turn controlled by the relative magnitude of the unknown and reference voltage. If the flip-flop pulsewidth is used to control or modulate a power inverter whose output is the unknown input to the comparator, a feedback loop is established. This loop causes the up/down counter number to converge on a value where the unknown and reference are equal within quantization errors. A servo loop for a digital power supply (or other application) can then be realized. 
     It is therefore an object of this invention to provide a novel and improved regulator digital power supply with greater efficiency than those used in the past. 
     It is another object to provide a regulated power supply having a pulsewidth modulated output signal. 
     It is still another object to provide a regulator power supply that has minimum sensitivity to radiation, unlike analog MOS circuitry that is extremely sensitive to radiation. 
    
    
     These and other objects, features and advantages of the invention will become more apparent from the following description taken in conjunction with the illustrative embodiment in the accompanying drawings, wherein: 
     DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing an embodiment of the regulated digital power supply which is the subject of the present invention; and 
     FIG. 2 is a circuit diagram of the comparator used as an error detector in the embodiment of FIG. 1. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring to FIG. 1, it can be seen that a reference voltage from reference source 11 is compared with another voltage which is the unknown voltage. The reference voltage can be any convenient DC voltage and the unknown voltage is obtained from the circuit loop. The reference voltage from source 11 and the unknown loop voltage are fed to comparator 13. This circuit is an error detector which produces a particular output voltage depending upon which of the two voltages, the reference voltage or the loop voltage, has the greater magnitude. The output voltage showing the direction of error is only produced if comparator 13 is strobed by a pulse originating from a clock source. 
     In FIG. 2, there is shown details of comparator 13. A pair of transistors 15 and 17 are interconnected with the gate of transistor 15 being connected to the drain of transistor 17 and the base of transistor 17 being connected to the collector of transistor 15. The sources of both transistors 15 and 17 are connected to ground. The reference voltage from source 11 is connected through resistor 19 to the collectors of transistors 15 and 17 and the unknown loop voltage is also connected to the drains of transistors 15 and 17 but through resistor 21. The strobe pulse is applied to the collectors through parallel resistors 23 and 25. When the circuit is strobed and depending on the relative magnitude of the loop voltage and the reference voltage, transistor 15 will be cut off and transistor 17 will conduct, or, transistor 17 will be cut off and transistor 15 will conduct. These conditions will result in a power output voltage taken at the collector of transistor 17. 
     Pulses are produced from clock 27 which has the frequency f o  and are fed to frequency divider 29 which can be a counter. This circuit divides by N and output pulses are generated having a frequency of f o/N  which both pulses up/down counter 31 and strobes comparator 31. At each comparison of the reference voltage and the loop voltage which occurs at each strobe pulse from divider 29, an output signal is fed to counter control 33 which causes counter 31 to count selectively either up or down. If the loop voltage is less than the reference voltage, then the counter 31 will be incremented; if the reference voltage is less than the loop voltage, counter 31 will be decremented. Each output stage of the up/down counter 31 is connected to corresponding stages of down counter 35. The contents of up/down counter 31 is transferred to down counter 35 upon a transfer pulse from clock 27 through timing gates 37. These timing gates are controlled through clock 27 and can be a delay. At the same time that the contents of up/down counter 31 are transferred to down counter 35, flip-flop 39 is set. A pulse from clock 27, having a frequency f o  or N times the frequency of the strobe pulse, decrements down counter 35 until an overflow occurs, indicating that down counter 35 has passed the zero count. A signal from down counter 35, as a result of the overflow, resets flip-flop 39. The width of the output of flip-flop 39 is therefore controlled by the number contained in up/down counter 31 which in turn is controlled by the relative magnitude of the reference voltage and the loop voltage. Flip-flop 39 modulates the signal from power source 41 by activating power switch 43 which controls the signal to rectifier 45 followed by filter 47. The output of filter 47 is then fed back to comparator 13 completing the loop. Thus a feedback loop is established which causes up/down counter 31 to converge on a value where the loop voltage and the reference voltage are equal within the quantization errors. The digital output is taken from flip-flop 39 which is a signal modulated by pulsewidth.