Oscillating and dividing circuit having level shifter for electronic timepiece
FIELD OF THE INVENTION 
     This invention concerns an oscillating and dividing circuit having a level shifter for an electronic timepiece and especially relates to an oscillating and dividing circuit for generating a signal having a substantial amplitude for properly operating a high voltage circuit in spite of a change in the oscillating condition of the oscillating circuit. 
     BACKGROUND OF THE INVENTION 
     Generally, in an electronic timepiece, the oscillating signal generated by an oscillating circuit is divided by the dividing circuit to obtain the standard time signal which is counted by the counter, whereby the time is displayed by a digital display or by hands employing a stepping motor. Further, the dividing output and a delayed output obtained from delay circuits employed for delaying the dividing output of the dividing circuit are applied to a gate-circuit. A signal of which the period is equal to the period of the dividing output and the pulse width of which is equal to the delay time of said delay circuit is obtained by said gate-circuit, whereby a level-shifter for obtaining the high voltage for operating the high voltage circuit is controlled by the output signal of the gate-circuit. 
     In an electronic timepiece of the conventional type, the oscillating signal of the oscillating circuit is employed as the control signal of the delay circuit. Accordingly, if the oscillating condition of the oscillating circuit is changed, malfunctioning of the dividing circuit is caused by the change of wave-shape of the oscillating signal from the normal wave to an irregular wave, whereby the pulse width of the output voltage of the level-shifter becomes narrower, so that the output voltage integrated by the suspended capacity does not attain the desired voltage amplitude. In this condition, the switching operation of an inverter disposed in the input side of high voltage circuit is not operated, whereby the high voltage circuit is not operated in spite of the oscillating operation of the oscillating circuit. Thus, a malfunctioning is caused by the change of output of the oscillating circuit. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to overcome the disadvantages of the conventional circuitry as described above. In accordance with the invention, one input terminal of the first stage of the multistage dividing circuit is connected to the output of the oscillating circuit through an inverter while the other input terminal is connected to the output of the oscillating circuit through the first mentioned inverter and a second inverter connected in series therewith. Moreover, the output of the first stage of the dividing circuit or of a subsequent stage is connected as a control circuit to the delay circuit, thereby supplying to the delay circuit a square wave control signal even if the oscillating circuit produces a distorted signal. The pulse width of the pulse applied to the level shifter is thereby maintained constant in spite of poor functioning of the oscillating circuit and a high output voltage is thereby attained. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The nature and advantages of the circuitry in accordance with the present invention in comparison with conventional circuitry will be more fully understood from the following description in conjunction with the accompanying drawings, in which: 
     FIG. 1 is a circuit diagram of a conventional oscillating and dividing circuit having a level shifter for an electronic timepiece; 
     FIG. 2 shows the wave shape of the output signal of the oscillating circuit when in good oscillating condition; 
     FIG. 3 shows the wave shape of the output signal of the oscillating circuit when in bad operating condition; 
     FIG. 4 shows the output wave shape of the level-shifter when the circuitry is in good oscillating condition; 
     FIG. 5 shows the output wave shape of the level-shifter when the circuitry is in poor oscillating condition; 
     FIG. 6 is a circuit diagram of the oscillating and dividing circuit having a level-shifter for an electronic timepiece in accordance with the present invention; 
     FIG. 7 shows the wave shape of the output signal of the oscillating circuit in bad operating condition; 
     FIG. 8 shows the output wave shape of the inverter of FIG. 6 for shaping the wave in bad operating condition of the oscillating circuit; and 
     FIG. 9 shows the output wave shape of the level-shifter of FIG. 6 in bad operating condition of the oscillating circuit. 
    
    
     DESCRIPTION OF THE CONVENTIONAL CIRCUITRY 
     An oscillating and dividing circuit having a level-shifter of the conventional type is shown in FIG. 1. The oscillating circuit 1 comprises an inverter 2, quartz crystal element 3, resistor 4, condenser 5, on which one electrode is connected to ground and the other electrode is connected to the input terminal of the inverter 2, and condenser 6, of which one electrode is connected to ground and the other is connected to the output terminal of the inverter 2. The oscillating signal generated at the output terminal of the inverter 2 of the oscillating circuit 1 is applied to the input of the dividing circuit 8 by an inverter 7. The dividing circuit 8 is composed of a plurality of flip-flop circuits FF 1 , FF 2 , FF 3  . . . FFn for dividing the oscillating signal to the standard time signal. The oscillating signal of oscillating circuit 1 is applied to the input terminal C of the first stage FF 1  of the dividing circuit through the inverter 7, while the oscillating signal is directly applied to the input terminal C. A 1/2 divided signal is generated from the output terminals Q, Q of the first flip-flop circuit FF 1 , and is applied to the input terminals C, C of the second flip-flop circuit FF 2  etc., whereby a 1/2n divided signal is generated from the final flip-flop circuit FFn. 
     The D-type flip-flop circuit 9 is employed as the delay circuit. The oscillating output of the oscillating circuit 1 is applied to the input terminal C of the circuit 9 through the inverter 7 while the oscillating output of the oscillating circuit 1 is directly applied to the input terminal C. The output of the dividing circuit 8 is applied to the data-input terminal D. The D-type flip-flop delay circuit 9 is composed of a transmission gate 10 and a transmission gate 11 each of which is composed of a P-channel FET and an N-channel FET connected in parallel, an inverter 12 and an inverter 13. The output terminals of the transmission-gates 10 and 11 are commonly connected. The input terminal C of the D-type flip-flop delay circuit 9 is connected to N-FET of transmission-gate 10 and P-FET of transmission-gate 11. The input terminal C of delay circuit 9 is connected to P-FET of transmission-gate 10 and N-FET of transmission gate 11. The output terminal Q of the D-type flip-flop delay circuit 9 is connected to the output side of the inverter 12, whereby the inverted and delayed output signal of said delay circuit 9 is generated. 
     The outputs of the dividing circuit 8 and the D-type flip-flop circuit 9 are applied to two inputs of a type NAND-gate 14, whereby an output pulse of negative logic of a pulse width equal to the delay time of said flip-flop circuit 9, namely equal to the half-period of the oscillating signal, is obtained. 
     The output of NAND-gate 14 is applied to the gate of P-FET 15 of the level-shifter; the source of FET 15 is connected to the power supplying terminal VDD, and the drain is connected to the power supplying terminal VSS through the resistor 16. A floating capacitance 17 is connected between the drain of FET 15 and ground. The output of NAND-gate 14 is changed by the FET 15, and is applied to the input of the inverter 19 of the high voltage circuit 18. 
     In the conventional construction described above, if the wave shape of the oscillating signal is distorted, the duty-ratio is substantially changed. This phenomenon is caused by the loop-gain of the oscillating circuit becoming [1]. Therefore, the distorted signal is applied to the input terminal C of the flip-flop circuit FF 1 , whereby the switching operation of the switching element is not completely operated, the double dividing signal is generated, and further the transmission-gates 10 and 11 of the D-type flip-flop delay circuit 9 are not completely operated. 
     In case of a normal oscillating signal as indicated in FIG. 2, the voltage wave shape generated at the drain of FET 15 of the level-shifter has the maximum amplitude approximately equal to the voltage of the power supplying terminals VDD and VSS as indicated in FIG. 4. 
     In case of an abnormal oscillating signal as indicated in FIG. 3, namely a signal with a low duty ratio, the output voltage as integrated by the floating capacitance 17 has a wave shape of which the maximum voltage has a lower level as indicated in FIG. 5. Therefore, the input inverter 19 of the high voltage circuit 18 is not switched, whereby no signal is applied to the high voltage circuit 18. 
     DESCRIPTION OF THE PREFERRED EMBODIMENT OF THE INVENTION 
     The present invention aims to eliminate the above noted difficulty and insufficiency. Referring now to the preferred embodiment of the present invention as illustrated in FIG. 6, the oscillating circuit 20 is the same construction as illustrated in FIG. 1 and is composed of the inverter 21, quartz crystal vibrator 22, resistor 23 and condensers 24 and 25, whereby there is generated a signal of a frequency corresponding to the resonance frequency of said quartz crystal vibrator 22. The oscillating signal of the oscillating circuit 20 is inverted by a wave shaping inverter 26, and is applied to the input terminal C of the first flip-flop circuit FF 1  of the dividing circuit 28 comprising flip-flop circuits FF 1  . . . FFn. Moreover, the inverted signal is further inverted by the second inverter 27 whereby the said oscillating signal is applied to the input terminal C of said flip-flop FF 1 . If the oscillating frequency of said oscillating circuit 20 is 32,768Hz, the dividing circuit 28 is composed of fifteen stages of flip-flop circuits of a 1/2 dividing function each, whereby a 1Hz-signal for the standard time signal is generated by dividing circuit 28. A D-type flip-flop delay circuit 29 employed as the delay-circuit is composed of two transmission gates 30 and 31 and two inverters 32 and 33. The divided output from the dividing circuit 28 is applied to the data-input terminal D connected to the input terminal of the transmission gate 30. The output of the first flip-flop circuit FF 1  of the dividing circuit 28 is applied to the input terminals C and C of the flip-flop delay circuit 29 as the control signal. The divided output of the dividing circuit 28 which is delayed only one half-period from the signal generated at the output terminals Q and Q of the flip-flop circuit FF 1 , namely the control signal applied to the input terminals C and C, by the delay circuit 29, and the output of the flip-flop delay circuit 29 are applied to the two inputs of a type NAND-gate 34. A pulse of pulse width corresponding to the delay time of the flip-flop delay circuit 29 is generated from NAND-gate 34 in synchronism with the beginning point of the dividing output of the dividing circuit 28. The output pulse of NAND-gate 34 is applied to the base of P-FET 35 comprising the level-shifter. The drain of the FET 35 is connected to the power supplying terminal VSS, the source is connected to the power supplying terminal VDD. A floating capacitance 37 is connected between the drain and ground. The output of level-shifter obtained from the connecting point between the drain of FET 35 and resistor 36 is applied to the input inverter 39 of the high voltage circuit 38. 
     Referring now to the operation of the present invention: 
     If a distorted oscillating signal as indicated in FIG. 7 is generated by the oscillating circuit 20 by reason of bad oscillating conditions, the wave shape of the output voltage of the wave shaping inverter 26 becomes a complete rectangular wave as shown in FIG. 8. Therefore the flip-flop circuit FF 1 , in which the oscillating signal shaped by the inverter 26 and the oscillating signal inverted by the inverter 27 are applied to the input terminals C and C, respectively, is operated in the normal condition despite the distorted wave shape of the oscillating signal. Further the divided signal of desired frequency is generated by said dividing circuit 28 despite the distorted wave shape of the oscillating output of the oscillating circuit 28. As the complete rectangular wave from flip-flop circuit FF 1  of the dividing circuit 28 is applied to the input terminals C and C of the D-type flip-flop delay circuit 29 for controlling the delay circuit, the transmission gates 30 and 31 are completety operated. The oscillating signal after 1/2 dividing by the flip-flop circuit FF 1  is very stable in spite of the large change of duty ratio of the oscillating signal of the oscillating circuit 20, and hence a signal having 1/2 duty ratio is applied to the D-type flip-flop circuit 29. Therefore, the delay time of the D-type flip-flop circuit 29 becomes stabilized. Hence, the output voltage wave shape generated at the connecting point between the drain of FET 35 of the level-shifter and resistor 36 has the maximum amplitude relative to the supplied voltage (VDD and VSS) as indicated in FIG. 9. The input inverter 39 of the high voltage circuit 38 is switched normally without relation of the oscillating condition of said oscillating circuit 20. 
     The present invention is not limited to the above noted embodiment, as other modifications and improvements are available. For example, instead of the divided signal of one dividing stage being employed as the control signal of the delay circuit as in the above noted embodiment, the output of several dividing steps can be employed as the control signal. 
     According to the present invention, the dividing output of dividing circuit is delayed by the divided signal in at least one dividing stage as the control signal of the delay circuit, the delayed signal and the dividing output of the dividing circuit are conducted by the gas-circuit, and are applied to the level-shifter, whereby the pulse width of pulse applied to the level-shifter is constant in spite of the distorted wave shape due to bad oscillating conditions of said oscillating circuit, and the wave shape of the output voltage has a substantial large amplitude without relation to the suspended capacitance of output side. It is thus possible to eliminate the trouble in the high voltage circuit caused by poor oscillating conditions of the oscillating circuit.