Summary of the invention
For overcoming the defect of prior art, the invention discloses a kind of clock phase control circuit.
Clock phase control circuit of the present invention, comprise clock input stage, electric capacity, level sensitive circuit, pull-up circuit, pull-down circuit, clock output stage and logic control circuit, the output of clock input stage and the input of level sensitive circuit are connected to A point, A point is also connected with the output of electric capacity and pull-up circuit and pull-down circuit, another termination of electric capacity fixes DC level, described level sensitive circuit detects A point voltage, and output detection signal is to clock output stage; Described logic control circuit is connected with clock input stage, pull-up circuit and pull-down circuit, and control pull-up circuit and pull-down circuit are opened at the high level time of clock and low level time respectively.
Concrete, described clock input stage and clock output stage are realized by a rest-set flip-flop, and clock signal is from the R end input of rest-set flip-flop, and Q holds output; QN end is connected with A point, and S end is connected with the output of level sensitive circuit.
Concrete, described pull-up circuit is PMOS, pull-down circuit is NMOS tube, and PMOS is connected with the equal andlogic control circuit of the grid of NMOS tube.
Concrete, described level sensitive circuit is inverter or comparator.
Concrete, described logic control circuit is that an inverter or the odd number inverter series that is greater than 1 realize.
Adopting clock phase control circuit of the present invention to adopt starts capacitor charge and discharge when the rising of clock or trailing edge, capacitor charging or energizing signal again when discharging into the detection level of level sensitive circuit, signal is caused to export the time delay on edge, circuit theory is simple, be convenient to realize in the existing technique of integrated circuit integrated, need not peripheral separating electronic components support, reduce circuit cost while realizing clock buffer function.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
Clock phase control circuit of the present invention comprises clock input stage, electric capacity 3, level sensitive circuit 6, pull-up circuit 8, pull-down circuit 9, clock output stage and logic control circuit 1, the output of clock input stage and the input of level sensitive circuit 6 are connected to A point, A point is also connected with the output of electric capacity 3 and pull-up circuit 8 and pull-down circuit 9, another termination of electric capacity fixes DC level, preferably can ground connection; Described level sensitive circuit 6 pairs of A point voltages detect, and output detection signal is to clock output stage; Described logic control circuit 1 is connected with clock input stage, pull-up circuit 8 and pull-down circuit 9, and control pull-up circuit and pull-down circuit are opened at the high level time of clock and low level time respectively.
Clock signal inputs from input end of clock mouth 7, when rising edge clock signal is by after clock input stage, pull-up circuit 8 is started working, now pull-down circuit 9 is closed, pull-up circuit 8 pairs of electric capacity 3 charge, when charging to the detection level higher than level sensitive circuit, level sensitive circuit output signal uprises from low, and the charging interval is the time delay between rising edge clock signal and level sensitive circuit output signal rising edge.In the high level stage of clock signal, capacitance voltage is pulled up circuit and is pulled up to supply voltage.When clock signal trailing edge passes through clock input stage, pull-down circuit works, pull-up circuit is closed simultaneously, electric capacity is discharged, when being discharged to the detection level lower than level sensitive circuit, level sensitive circuit output signal, from high step-down, is the time delay between clock signal trailing edge and level sensitive circuit output signal trailing edge discharge time.Here suppose that the time delay of level sensitive circuit is negligible, in fact, the time delay of usual level sensitive circuit is quite little compared with capacitor charge and discharge time delay, and the time delay due to level sensitive circuit is difficult to accurate control, the design focal point of therefore time delay length is the accuracy of detection of capacitor charge and discharge time and level sensitive circuit.
Foregoing circuit structure adopts and starts capacitor charge and discharge when the rising of clock or trailing edge, and capacitor charging or energizing signal again when discharging into the detection level of level sensitive circuit, cause signal to export the time delay on edge.
Provide some can combination preferred embodiment, such as pull-up and pull-down circuit can adopt current source to realize, and current source easily realizes matching each other in design, makes pull-up current and pull-down current all equal under various conditions.And with prior art, constant temperature current source easily realizes, charging and discharging electric current is made not vary with temperature and change.Relative RC time delay, current source discharge and recharge time delay avoids the time delay drift that electrical resistance process deviation brings.
Level sensitive circuit is a comparator circuit preferably, and comparator anode connects a detection reference voltage 2, the DC level of such as about 1.2V.Detection reference voltage is selected usually near the half of supply voltage, and make on the one hand comparator at this reference voltage as better performances when comparing input voltage, voltage drop during electric capacity 3 discharge and recharge simultaneously on electric capacity is roughly the same, is convenient to charging and discharging currents and arranges.
Consider from design is succinct, level sensitive circuit also can adopt simple gate, such as an inverter, and using the reversion level of inverter as detection voltage, but the reversion level of inverter is larger with multiple factor bias such as technological temperatures.
Clock input stage and clock output stage can be realized by a rest-set flip-flop, and clock signal is from the R end input of rest-set flip-flop, and Q end goes clock signal output terminal 10 connection to export; QN end is connected with A point, and S end is connected with the output of level sensitive circuit.This implementation is simple and reliable, and only two can realize with door.
Adopting clock phase control circuit of the present invention to adopt starts capacitor charge and discharge when the rising of clock or trailing edge, capacitor charging or energizing signal again when discharging into the detection level of level sensitive circuit, signal is caused to export the time delay on edge, circuit theory is simple, be convenient to realize in the existing technique of integrated circuit integrated, need not peripheral separating electronic components support, reduce circuit cost while realizing clock buffer function.
Previously described is each preferred embodiment of the present invention, preferred implementation in each preferred embodiment is if not obviously contradictory or premised on a certain preferred implementation, each preferred implementation can stack combinations use arbitrarily, design parameter in described embodiment and embodiment is only the invention proof procedure in order to clear statement inventor, and be not used to limit scope of patent protection of the present invention, scope of patent protection of the present invention is still as the criterion with its claims, the equivalent structure change that every utilization specification of the present invention and accompanying drawing content are done, in like manner all should be included in protection scope of the present invention.