Oscillation frequency control circuit

Abstract: An oscillation frequency control circuit which, while activating normal operation mode, initially computes a frequency control data corresponding to horizontal synchronizing signal by applying an interpolation on the basis of the frequency control data read from a memory and the frequency of horizontal synchronizing signal supplied to a display unit, and then, based on the computed result, automatically and internally controls the oscillation frequency of a horizontal oscillation circuit in accordance with the frequency of input horizontal synchronizing signal. On the other hand, when activating corrective operation mode, the control circuit initially detects the frequency of flyback pulse of a horizontal deflection circuit at the moment of supplying the frequency control data corresponding to the frequency of certain horizontal synchronizing signal to the horizontal oscillation circuit, and then automatically corrects the frequency control data in order that the difference between the detected result and the frequency of certain horizontal synchronizing signal can constantly be suppressed below a predetermined value.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an oscillation frequency control circuit which constantly and precisely controls the oscillation frequency of a horizontal oscillation circuit of a display unit in accordance with the frequency of input horizontal synchronizing signal. Description of Related Art Fig. 1 schematically designates a block diagram of a conventional oscillation frequency control circuit in conjunction with a peripheral circuit available for a display unit. The reference numeral 21 shown in Fig. 1 designates a one-chip microcomputer incorporating a counter, a timer, a ROM, and a RAM. The microcomputer 21 further incorporates a pair of input terminals H and V and three output terminals DA1 through DA3. These input terminals H and V respectively receive horizontal synchronizing signal HS and vertical synchronizing signal VS. The horizontal synchronization signal HS is also routed to a horizontal synchronizing circuit 31 via a switch 30. Those output terminals DA1 through DA3 of the microcomputer 21 are respectively connected to input terminals CLK, DATA and LOAD of a digital-to-analog (D/A) converter IC 22. An inverted input terminal of a first operation amplifier 23 is connected to an output terminal OUT of the D/A converter IC 22 via a resistor 24. A resistor 25 is connected between the inverted input terminal and an output terminal of the first operation amplifier 23. The inverted input terminal of the first operation amplifier 23 is connected to a power-supply source Vcc via a variable resistor 26, whereas a non-inverted input terminal of the first operation amplifier 23 is connected to a reference power-supply source Vref. The output terminal of the first operation amplifier 23 is connected to an inverted input terminal of a second operation amplifier 27 via a resistor 28. A variable resistor 29 is connected between the inverted input terminal and an output terminal of the second operation amplifier 27, whereas a non-inverted input terminal of the second operation amplifier 27 is connected to the reference power-supply source Vref. The output terminal of the second operation amplifier 27 is connected to a horizontal oscillation circuit 32. Next, referring to the flowchart shown in Fig. 2, operation programmed by the microcomputer 21 is described below. When the power is ON, program of the microcomputer 21 is activated and the initial step S21 is entered, in which horizontal synchronizing signal HS received via the input terminal H is counted for a predetermined period of time from the rear edge of vertical synchronizing signal VS received by the other input terminal V. Fig. 3 presents a table designating the corresponding relationship between the counted number Fh and a frequency control data DA. The data shown in this table is previously stored in the ROM of the microcomputer 21. Next, step S22 is entered, in which the counted number is converted into a control data as per the table shown in Fig. 3, and then, step S23 is entered, in which the digital controlled data is supplied from those output terminals DA1 through DA3 to the D/A converter IC 22, and then, the analog-converted signal is supplied to the horizontal oscillation circuit 32 via the first and second operation amplifiers 23 and 27, and then the oscillation frequency of the horizontal oscillation circuit 32 is properly controlled in accordance with the frequency of the horizontal synchronizing signal HS. It is ideal to arrange that frequency Fi of the input horizontal synchronizing signal HS and the output oscillation frequency Fo can enter into a relationship shown in Fig. 4 with solid line. Those terms "Fimax" and "Fimin" respectively designate the maximum and minimum values of frequency range of the horizontal synchronizing signal HS. The oscillation frequency is properly controlled in order that the relationship Fomax = Fimax and Fomin = Fimax can be held constant. Nevertheless, when individually operating respective products, due to unevenness of the constant in the oscillation circuits, deviation is unavoidably generated as shown in Fig. 4 with broken line. To compensate for this, independent of the normal operation described above, an extra corrective operation for correcting the deviation must be executed. Those processes needed for correcting this deviation are described below. Normally, the operation for correcting the above deviation is executed by applying a pair of variable resistors 26 and 29. Fig. 5 designates the input and output characteristics of the first and second operation amplifiers 23 and 27, where Vi designates input voltage and Vo output voltage. To correct the above deviation, initially, the switch 30 is released to prevent the horizontal synchronizing signal HS from being supplied to the horizontal synchronization circuit 31. Next, the horizontal synchronizing signal HS of the minimum frequency Fimin is supplied to the microcomputer 21, and then operates the variable resistor 26 so that the oscillation frequency can be equal to the Fomin, thus correcting the characteristic shown in Fig. 5. And, the horizontal synchronizing signal HS of the maximum frequency Fimax is supplied to the microcomputer 21, and then operates the variable resistor 2a so that the oscillation frequency can be equal to Fomax, thus correcting the characteristic shown in Fig. 5. After repeatedly executing these processes for several rounds, desired characteristic of the oscillation frequency can be achieved. Nevertheless, since any of those conventional circuits for controlling the oscillation frequency is structured as described above, in order to fully eliminate unevenness of the circuit constant, any conventional device needs to install a circuit incorporating a plurality of operation amplifiers, and yet, the corrective operation must be executed via an external source. In consequence, circuit structure involves complexity, and yet, execution of the corrective process is annoyingly intricate and troublesome for the concerned. SUMMARY OF THE INVENTION The primary object of the invention is to provide a novel oscillation frequency control circuit capable of executing a corrective operation with using a simplified structure. Another object of the invention is to provide a novel oscillation frequency control circuit capable of internally and automatically executing a corrective operation. The oscillation frequency control circuit embodied by the invention, in the course of normal operation, initially computes a frequency control data corresponding to horizontal synchronizing signal on the basis of the frequency of the input horizontal synchronizing signal and another frequency control data read out of memory by applying an interpolation, and then supplies the computed data to a horizontal oscillation circuit so that the oscillation frequency of the horizontal oscillation circuit can properly be controlled. When activating a corrective operation, initially, the oscillation frequency control circuit embodied by the invention detects the frequency of flyback pulse outputted from a horizontal deflection circuit simultaneous with the delivery of the frequency control data corresponding to the maximum and minimum frequencies to the horizontal oscillation circuit, and finally corrects the frequency control data at its maximum and minimum levels so that the difference between the input and output frequencies at both levels can securely be diminished below a predetermined value. The above and further objects and features of the invention will more fully be apparent from the following detailed description with accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 schematically designates the block diagram of a conventional oscillation frequency control circuit and peripheral circuit; Fig. 2 designates an operating flowchart explanatory of the operation of the conventional circuit shown in Fig. 1; Fig. 3 designates a table showing the corresponding relationship between the counted number Fh of the horizontal synchronizing signal HS and the frequency control data DA; Fig. 4 graphically designates the relationship between the frequency Fi of the input horizontal synchronizing signal HS and the output oscillation frequency Fo; Fig. 5 graphically designates the relationship between the input and output voltage of those operation amplifiers shown in Fig. 1; Fig. 6 schematically designates the overall block diagram of an oscillation frequency control circuit embodied by the invention and a peripheral circuit; Fig. 7 designates the operating flowchart which is explanatory of the functional operation of the control circuit shown in Fig. 6; and Fig. 8 graphically designates the method of computing the frequency control data DATA on the basis of the frequency Fin of the input horizontal synchronizing signal HS. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring now to the accompanying drawings, detail of the oscillation frequency control circuit according to an embodiment of the invention is described below. Fig. 6 schematically designates the overall block diagram of the oscillation frequency control circuit embodied by the invention and a peripheral circuit. The reference numeral 1 shown in Fig. 6 designates a microcomputer incorporating three input terminals H, V and S and, eight output terminals including DA1, DA2, DA3, M1, M2, M3, T1, and T2. Like the conventional control circuit shown in Fig. 1, those output terminals DA1 through DA3 of the microcomputer 1 are respectively connected to those input terminals CLK, DATA and LOAD of a digital-to-analog (D/A) converter IC 2. An output terminal OUT of the D/A converter IC 2 is directly connected to a horizontal oscillation circuit 9. On the other hand, those output terminals M1 through M3 of the microcomputer 1 are respectively connected to those input terminals CS, CLK and DATA of a non-volatile memory EEPROM 3. The input terminal H of the microcomputer 1 is connected to an output terminal C of an analog switch 7 which switches signal for supply to the input terminal H of the microcomputer 1. In addition to the output terminal C, the analog switch 7 also incorporates those input terminals A, B and D. The horizontal synchronizing signal HS is supplied to the input terminal A of the analog switch 7. The input terminal B is connected to a waveform-shaping circuit 4, which shapes waveform of signal of flyback pulses FBP outputted from a horizontal deflection circuit 11 driven by the horizontal oscillation circuit 9. The waveform-shaped signal of flyback pulses FBP is supplied to the input terminal B of the analog switch 7. On the other hand, the input terminal D of the analog switch 7 is connected to the output terminal T1 of the microcomputer 1. The analog switch 7 is activated as soon as the input terminal D receives signal from the output terminal T1. An input terminal G of another analog switch 8 is connected to the output terminal T2 of the microcomputer 1. On receipt of signal from the output terminal T2 via the input terminal G, the analog switch 8 is activated. The horizontal synchronizing signal HS is supplied to another input terminal E of the analog switch 8. An output terminal F of the analog switch 8 is connected to a horizontal sychronization circuit 10. A one end of an operation switch 5 is connected to the input terminal S of the microcomputer 1, where the operation switch 5 switches operating modes from the normal operation mode to the corrective operation mode and vice versa. The one end of this operation switch 5 is also connected to a pull-up resistor 6, whereas the other end of the operation switch 5 is grounded. Like the conventional control circuit cited above, the vertical synchronizing signal VS is supplied to the input terminal V of the microcomputer 1. Next, referring to the operating flowchart shown in Fig. 7, functional operation of the oscillation frequency control circuit embodied by the invention is described below. First, normal operation mode is described below. While the normal operation mode is underway, the operation switch 5 remains open. When the power is ON and then program of the microcomputer 1 is activated, step S1 is entered, in which the microcomputer 1 reads frequency reference control data Refmax and Refmin stored in the EEP ROM 3. These reference control data Refmax and Refmin are respectively outputted from the EEPROM 3 in correspondence with the maximum value Fimax and the minimum value Fimin in the frequency range of the input horizontal synchronizing signal HS. Next, step S2 is entered, in which the microcomputer 1 identifies whether the operation switch 5 turns ON or not by referring to the potential of the input terminal S. Since the operation switch 5 is OFF, step S3 is entered, in which the microcomputer 1 starts to operate itself, and then, acting on the instruction supplied from those output terminals T1 and T2 of the microcomputer 1, the analog switch 7 selects the input terminal A and the other analog switch 8 is turned ON. Next, step S4 is entered, in which the horizontal synchronizing signal HS is supplied to the input terminal H of the microcomputer 1, and then the horizontal synchronizing signal HS is counted for a predetermined period of time from the rear edge of the vertical synchronizing signal VS before permitting the microcomputer 1 to compute frequency Fin of the input horizontal synchronizing signal HS. Next, step S5 is entered, in which the microcomputer 1 computes a frequency control data DATA on the basis of the frequency Fin and the data stored in the EEPROM 3, in other words, these control data Refmax and Refmin respectively corresponding to the maximum and minimum frequencies Fimax and Fimin. Concretely, the microcomputer 1 computes the frequency control data DATA by applying an interpolation shown in Fig. 8. Next, step S6 is entered, in which the microcomputer 1 supplies the computed frequency control data to the D/A converter IC 2, which then outputs the received frequency control data to the horizontal oscillation circuit 9. Thenceforth, the oscillation frequency control circuit repeats those sequential processes of step S1 through step S6 to constantly control the oscillation frequency of the horizontal oscillation circuit 9 in accordance with the frequency of the horizontal synchronizing signal HS. Next, the corrective operation mode is described below. While the corrective operation mode is underway, the operation switch 5 remains ON, and thus, the operating mode proceeds from step S2 to step S7. While step S7 is underway, the microcomputer 1 is activated. As soon as the potential of the input terminal S of the microcomputer 1 is reduced to zero, the analog switch 7 is activated, and then the input terminal A is switched over to the input terminal B and simultaneously the analog switch 8 is turned OFF. Next, step S8 is entered, in which the reference control data Refmin is supplied to the D/A converter IC 2. Next, step S9 is entered, in which the frequency Ffbp of the flyback pulse FBP output from the horizontal deflection circuit 11 is counted by applying internal reference clock system. Next, step S10 is entered, in which the microcomputer 1 makes a comparison between the value of frequency Ffbp and the sum of Fimin and ΔF (this is a predetermined plus error allowable amount). If the value of frequency Ffbp is in excess of the sum of Fimin and ΔF, then step S11 is entered, in which a certain amount is decreased from the Refmin, and then the operating mode returns to step S8. On the other hand, if the value of frequency Ffbp is not larger than the sum of Fimin and ΔF, then step S12 is entered, in which the microcomputer 1 makes a comparison between the value of Ffbp and the value of Fimin -ΔF. If the value of frequency Ffbp is less than that of Fimin -ΔF, then step S13 is entered, in which a certain amount is added to the Refmin, and then the operating mode is again back to step S8. After repeatedly executing those processes described above for increasing and decreasing the amount of the reference control data Refmin, the frequency Ffbp is soon converged in a range of Fimin ±ΔF. When step S12 is entered, no further process is executed, thus completing the corrective processes by way of dealing with the minimum frequency. Next, the operating mode shifts to the other corrective processes for dealing with the maximum frequency. In place of the reference control data Refmin made available for the above processes, the other reference control data Refmax is supplied to the D/A converter IC 2 on the way of executing step S14. Next, step S15 is entered, in which the frequency Ffbp of flyback pulse FBP outputted from the horizontal deflection circuit 11 is counted. Next, step S16 is entered, in which the microcomputer 1 makes a comparison between the frequency Ffbp and the sum of Fimax and ΔF. If the value of the frequency Ffbp is in excess of the sum of Fimax and ΔF, then step S17 is entered, in which a certain amount is decreased from the reference control data Refmax, and then the operating mode returns to step S14. If the value of the frequency Ffbp is not larger than the sum of Fimax and ΔF, then step S18 is entered, in which the microcomputer 1 makes a comparison between the frequency Ffbp and Fimax -ΔF. If the value of the frequency Ffbp is less than that of Fimax -ΔF, then step S19 is entered to add a certain amount to the reference control data Refmax, and then the operating mode returns to step S14. After repeatedly executing those sequential processes described above for increasing and decreasing the amount of the reference control data Refmax, the frequency Ffbp is soon converged in a range of Fimax ±ΔF. When step S18 is entered, no further process is executed. Next, step S20 is entered, in which those correction-completed reference control data Refmax and Refmin determined in the course of executing above processes are respectively rewritten in the EEPROM 3 by way of replacing the initially-set reference control data. As is clear from the above description, whenever executing a corrective operation to cancel deviation of input-output frequencies caused by fluctuation of the circuit constant, the control circuit embodied by the invention can securely execute all the corrective processes merely by activating operation of the operation switch 5. Thenceforth, those this corrective routine is automatically and sequentially executed in the control circuit itself. This is turn eliminates an externally applied corrective operation thus far conventionally executed. In consequence, the oscillation frequency control circuit embodied by the invention can securely achieve a high-precision corrective operation without involving difficulty and inconvenience at all. As this invention may be embodied in several forms, the present embodiment is therefore illustrative and not restrictive, since the scope of the invention is defined by the appended claims rather than by the description preceding them, and all changes that fall within the metes and bounds of the claims, or equivalence of such metes and bounds thereof are therefore intended to be embraced by the claims.

Claims: Oscillation frequency control circuit for a display unit to control an oscillation frequency of a horizontal oscillation circuit (9) driving a horizontal deflection circuit (11) generating flyback pulses in accordance with the frequency of a horizontal synchronizing signal supplied to said display unit and on the basis of a frequency control value corresponding to the frequency of the horizontal synchronizing signal comprising: a detecting means for detecting the frequency of an input signal; a switching means for outputting to said detecting means said horizontal synchronizing signal during normal operation and outputting to said detecting means said flyback pulse of said horizontal deflection circuit (11) during corrective operation; a memory means (3) for storing the frequency control value corresponding to the frequency of a predetermined horizontal synchronizing signal; a computing means (1) for computing a frequency control value corresponding to the frequency of the horizontal synchronizing signal on the basis of the detected result of said detecting means and the frequency control data stored in said memory means (3) during said normal operation; and a corrective means for making a comparison between the detected result of said detectinq means in the course of supplying said frequency control data stored in said memory means (3) to said horizontal oscillation circuit (9) and the frequency of said predetermined horizontal synchronizing signal and correcting said frequency control data in order to reduce the difference between the compared values to a level below a predetermined threshold during said corrective operation. Oscillation frequency control circuit according to claim 1, wherein the frequency control values which said memory means (3) stores are frequency control values corresponding to maximum and minimum frequencies of horizontal synchronizing signal. Oscillation frequency control circuit according to claim 2, wherein the frequency control data which said corrective means corrects are frequency control values corresponding to maximum and minimum frequencies of horizontal synchronizing signal. Oscillation frequency control circuit according to claim 2, wherein said computing means (1) includes a means for executing computation by applying an interpolation on the basis of the frequency control data corresponding to maximum and minimum frequencies of horizontal synchronizing signal. Oscillation frequency control circuit according to claim 1, further comprising a means for rewriting the frequency control data stored in said memory means (3) into the frequency control data corrected by said corrective means. Oscillation frequency control circuit according to claim 1, further comprising a means (4) for shaping the waveform of said flyback pulse to be supplied to said detecting means.

Inventors: TANIZOE HIDEKI C O NAGASAKI SE, TANIZOE, HIDEKI, C/O NAGASAKI SEISAKUSHO
Applicants: MITSUBISHI ELECTRIC CORP, MITSUBISHI DENKI KABUSHIKI KAISHA
Application year: 1991
Main classification: H04N5
IPC codes: H04N3, G09G5, G09G1, H04N5