US20010028259A1 - Duty cycle discriminating circuit having variable threshold point - Google Patents
Duty cycle discriminating circuit having variable threshold point Download PDFInfo
- Publication number
- US20010028259A1 US20010028259A1 US09/822,419 US82241901A US2001028259A1 US 20010028259 A1 US20010028259 A1 US 20010028259A1 US 82241901 A US82241901 A US 82241901A US 2001028259 A1 US2001028259 A1 US 2001028259A1
- Authority
- US
- United States
- Prior art keywords
- duty cycle
- signal
- data
- circuit
- counter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003708 edge detection Methods 0.000 claims description 42
- 230000000630 rising effect Effects 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 14
- 230000000295 complement effect Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 9
- 230000001934 delay Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 238000001454 recorded image Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/19—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
- G11B27/28—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
- G11B27/32—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
- G11B27/322—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier used signal is digitally coded
- G11B27/324—Duty cycle modulation of control pulses, e.g. VHS-CTL-coding systems, RAPID-time code, VASS- or VISS-cue signals
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/125—Discriminating pulses
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K9/00—Demodulating pulses which have been modulated with a continuously-variable signal
- H03K9/08—Demodulating pulses which have been modulated with a continuously-variable signal of duration- or width-mudulated pulses or of duty-cycle modulated pulses
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/90—Tape-like record carriers
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/90—Tape-like record carriers
- G11B2220/91—Helical scan format, wherein tracks are slightly tilted with respect to tape direction, e.g. VHS, DAT, DVC, AIT or exabyte
Definitions
- the present invention relates generally to a duty cycle discriminating circuit, and more particularly to a duty cycle discriminating circuit which is used, for example, in a video tape recorder and the like and in which a threshold point of duty cycle discrimination can be varied.
- a duty cycle discriminating circuit or a pulse width discriminating circuit is used, for example, in a video tape recorder (VTR), such as a VHS type VTR, and the like.
- the duty cycle discriminating circuit is used for determining whether a duty cycle of an input pulse signal is larger or smaller than a threshold value.
- the VISS is an abbreviation of VHS Index Search System and is used, for example, for detecting or indexing a start portion of a playback video signal.
- a duty cycle discriminating circuit is used to detect a predetermined binary pattern, that is, a VISS pattern corresponding an index signal.
- the predetermined binary pattern is represented by using binary “1” and “0” corresponding to different duty cycles of a control signal recorded, for example, on a VHS video tape.
- FIG. 10 is a block diagram showing a conventional duty cycle discriminating circuit used in the VISS detecting circuit.
- FIG. 11 is a timing diagram showing an operation of the duty cycle discriminating circuit of FIG. 10.
- the duty cycle discriminating circuit of FIG. 10 comprises an up/down counter with sign bit or a signed up/down counter 51 , a preset value register 52 , an edge detecting circuit 55 , a control register 56 , and a latch circuit 58 .
- the up/down counter 51 receives a count clock signal FCLK having a fixed frequency.
- the up/down counter 51 also receives a playback control signal (PBCTL signal), and performs a count up operation or a count down operation depending on the potential level of the PBCTL signal. For example, when the PBCTL signal is “0”, the up/down counter 51 performs a count down operation, and when the PBCTL signal is “1”, the up/down counter 51 performs a count up operation.
- An enable/clear of the up/down counter 51 is controlled by a signal from the control register 56 .
- the preset value register 52 stores a data value to be written into the up/down counter 51 .
- the data value is outputted from the preset value register 52 in synchronization with a falling edge of a re-load signal supplied from the edge detecting circuit 55 .
- the most significant bit (MSB) of the up/down counter 51 is a sign bit. When the sign bit is “0”, the up/down counter 51 shows a positive number, and when the sign bit is “1”, the up/down counter 51 shows a negative number.
- This most significant bit (MSB) is inputted to the latch circuit 58 .
- the latch circuit 58 may be a D-type flip-flop circuit, and holds the MSB of the up/down counter 51 in response to a rising edge of the re-load signal outputted from the edge detecting circuit 55 .
- the MSB held by the latch circuit 58 becomes an output signal, that is, a discrimination result signal, of the duty cycle discriminating circuit.
- the edge detecting circuit 55 outputs a re-load signal when it detects an edge designated by the content of the control resistor 56 .
- the conventional duty cycle discriminating circuit of FIG. 10 discriminates duty cycles by using the up/down counter 51 with a sign bit or a signed up/down counter 51 .
- the up/down counter 51 counts up the count clock signal FCLK during a period in which the PBCTL signal is in a high potential level, and counts down the count clock signal FCLK during a period in which the PBCTL signal is in a low potential level.
- the PBCTL signal has a duty cycle of 60% and a duty cycle of 30% (correctly, 27.5%), corresponding, for example, to “0” and “1” for representing binary data. Therefore, discrimination between these two kinds of duty cycles is performed by using a duty cycle of approximately 45%, which is a middle value between 60% and 30 %, as a threshold point.
- the up/down counter 51 In order for the up/down counter 51 becomes zero after one period of the PBCTL signal when the PBCTL signal having a duty cycle of 45% is inputted into the up/down counter 51 , it is necessary to store a count value corresponding to 10% of one period of the PBCTL signal into the preset value register 52 . As an example, when one period of the PBCTL signal corresponds to 200 clock cycles, it is necessary to store data “ 20 ” into the preset value register 52 .
- a counter and two registers A and B are used.
- the counter receives and counts up a clock pulse signal having a constant period.
- the registers A and B store count values of the counter during particular times specified by a signal to be measured or discriminated.
- the register A stores a count value corresponding to a time during which the signal to be measured is in a high potential level, and the register B stores a count value corresponding to one period of the signal to be measured.
- the duty cycle of the signal to be measured is obtained by performing an arithmetic operation on the values stored in the registers A and B by an external CPU.
- the duty cycle is obtained by the following arithmetic operation.
- a duty cycle discriminating circuit in which a period of a count clock signal is selected depending on a period of an input signal, that is, a count value of the input signal.
- the initial re-load value of the up/down counter 51 is 00H, that is, zero in hexadecimal notation.
- a middle value between the two kinds of duty cycles is previously stored in the preset value register 52 , and the middle value stored in the preset value register 52 is re-loaded onto the signed up/down counter 51 .
- the data to be stored in the preset register 52 is produced based on the expectation or anticipation of the period of the PBCTL signal to be inputted next time. Therefore, there is a possibility that an error of the data becomes large and it is difficult to determine when the data to be stored in the preset value register 52 is changed.
- a duty cycle discriminating circuit comprising: an up/down counter with sign bit for counting up or counting down a count clock signal depending on a potential level of a signal to be discriminated; an up counter for counting up the count clock signal regardless of the potential level of the signal to be discriminated; an addend data generating circuit for producing an addend data having a value corresponding to a predetermined proportion of a count value of the up counter; and an addition circuit with sign bit for adding a count value of the up/down counter and the addend data produced by the addend data generating circuit, the sign bit of the addition circuit with sign bit is outputted as a discrimination result signal of the duty cycle discriminating circuit; wherein the predetermined proportion of the count value of the up counter is specified to perform duty cycle discrimination of the signal to be discriminated by using a desired threshold point of duty cycle discrimination.
- the duty cycle discriminating circuit further comprises an edge detecting circuit which detects a leading edge of the signal to be discriminated and outputs a pulse like edge detection signal in response to the detection thereof.
- the duty cycle discriminating circuit further comprises a delay circuit which receives the edge detection signal and delays the edge detection signal for a predetermined time to output an initializing signal.
- the up/down counter is initialized by the initialization signal and the most significant bit (MSB) of the up/down counter is outputted as a sign bit.
- the addition circuit comprises an adder for adding the count value of the up/down counter and the addend data produced by the addend data generating circuit, and an addition result register for storing a result of addition of the adder, a sign bit of the addition result register being outputted as a discrimination result signal of the duty cycle discriminating circuit.
- the count value from the up counter is right shifted by a predetermined number of bit or bits and “0” is inserted to each of corresponding number of upper bit or bits to obtain the addend data.
- the count value from the up counter has 16 bits and is right shifted by 3 bits and wherein “0” is inserted to each of the upper 3 bits of the right shifted data to obtain 16 bits data as the addend data.
- the addend data generating circuit comprises a plurality of registers storing count values from the up counter after right shifting the count value by different number of bits respectively, and a first selector for selectively outputting data stored in the registers depending on a shift number designating signal.
- the addend data generating circuit further comprises a complementary circuit which receives the data outputted from the first selector and generates a complementary data of the data outputted from the first selector, and a second selector for selectively outputting the data outputted from the first selector or the complementary data depending on a positive-negative designating signal.
- the addend data generating circuit further comprises a third selector for selectively outputting the data outputted from the second selector or the count value of the up down counter depending on a bypass designating signal.
- the duty cycle discriminating circuit comprises, in place of the addend data generating circuit, a multiplier circuit which receives the count value of the up counter, the edge detection signal and a multiplication constant designating signal, and which multiplies the count value of the up counter and a constant inputted as the multiplication constant designating signal in synchronization with an input of the edge detection signal to generate the addend data.
- the duty cycle discriminating circuit further comprises a delay circuit which receives the edge detection signal and delays the edge detection signal for a predetermined time to output an initializing signal.
- the addition circuit comprises an adder for adding the count value of the up/down counter and the addend data produced by the addend data generating circuit, and an addition result register for storing a result of addition of the adder, a sign bit of the addition result register being outputted as a discrimination result signal of the duty cycle discriminating circuit.
- the addition circuit comprises an augend data register for storing the count value of the up/down counter as an augend data in response to a rising edge of the edge detection signal, an addend data register for storing the addend data in response to the rising edge of the edge detection signal, an adder for adding the data stored in the augend data register and the data stored in the addend data register, and an addition result register for storing a result of addition of the adder in response to a falling edge of the edge detection signal.
- the duty cycle discriminating circuit further comprises a delay circuit which receives the edge detection signal and delays the edge detection signal for a predetermined time to output an initializing signal.
- the count value from the up counter is right shifted by a predetermined number of bit or bits and “0” is inserted to each of corresponding number of upper bit or bits to obtain the addend data.
- the count value from the up counter has 16 bits and is right shifted by 3 bits and wherein “0” is inserted to each of the upper 3 bits of the right shifted data to obtain 16 bits data as the addend data.
- FIG. 1 is a block circuit diagram showing a structure of a duty cycle discriminating circuit according to the first embodiment of the present invention
- FIG. 2 is a block circuit diagram showing a detailed structure of an addition data generating circuit used in the duty cycle discriminating circuit of FIG. 1;
- FIGS. 3A through 3L are timing diagrams used for explaining an operation of the duty cycle discriminating circuit according to the first embodiment of the present invention shown in FIG. 1;
- FIG. 4 is a flowchart showing a process of duty cycle discrimination in the duty cycle discriminating circuit of FIG. 1;
- FIGS. 5 AA and 5 AB, FIGS. 5 BA and 5 BB, FIGS. 5 CA and CB, and FIGS. 5 DA, 5 DB and 5 DC are waveform diagrams illustrating a principle of operation of the duty cycle discriminating circuit according to the present invention
- FIG. 6 is a block circuit diagram showing a structure of a duty cycle discriminating circuit according to the second embodiment of the present invention.
- FIG. 7 is a block circuit diagram showing a detailed structure of an addition data generating circuit used in the duty cycle discriminating circuit of FIG. 6;
- FIG. 8 is a block circuit diagram showing a structure of a duty cycle discriminating circuit according to the third embodiment of the present invention.
- FIG. 9 is a block circuit diagram showing a structure of a duty cycle discriminating circuit according to the fourth embodiment of the present invention.
- FIG. 10 is a block circuit diagram showing a structure of a conventional duty cycle discriminating circuit
- FIGS. 11A through 11C are timing diagrams used for explaining an operation of the conventional duty cycle discriminating circuit shown in FIG. 10;
- FIG. 12 is a table showing a result of duty cycle discrimination in the duty cycle discriminating circuit according to the first embodiment of the present invention.
- FIG. 13 is a table showing a result of selection of the threshold point of duty cycle discrimination in the duty cycle discriminating circuit according to the second embodiment of the present invention.
- FIG. 14 is a table showing a result of duty cycle discrimination in the duty cycle discriminating circuit according to the third embodiment of the present invention.
- FIG. 1 shows a block circuit structure of a duty cycle discriminating circuit according to the first embodiment of the present invention.
- the duty cycle discriminating circuit comprises a signed up/down counter 1 or an up/down counter 1 with sign bit, an up counter 2 , an addend data (or addition data) generating circuit 3 , a rising edge detecting circuit 4 , an addition circuit 5 , and a delay circuit 8 .
- the up/down counter 1 (VUDC 1 ) with sign bit counts up or counts down a count clock 12 supplied thereto, depending on a status of a signal to be discriminated 10 , such as a playback control (PBCTL) signal, whose duty cycle is to be discriminated.
- the up/down counter 1 is initialized or cleared by an initialization signal 17 supplied thereto.
- the up/down counter 1 outputs the most significant bit (MSB) thereof as a sign bit signal 14 .
- the up counter 2 counts up the count clock 12 , and is initialized or cleared by the initialization signal 17 .
- the addend data generating circuit 3 accepts a count value of the up counter 2 , and generates and outputs an addend data 16 . Operation of the addend data generating circuit 3 is controlled by an edge detection signal 13 supplied from the rising edge detecting circuit 4 .
- the rising edge detecting circuit 4 produces the edge detection signal 13 which is a pulse-like signal generated when each of leading edges of the signal to be discriminated 10 is detected.
- the delay circuit 8 receives the edge detection signal 13 and delays the edge detection signal 13 for a predetermined time period, to output the initialization signal 17 .
- the addition circuit 5 includes an adder 6 and an addition result register 7 .
- the adder 6 receives the addend data 16 from the addend data generating circuit 3 , and a data to be added or augend data 15 which is a count value of the up/down counter 1 .
- the addition circuit 5 performs an addition operation of the addend data 16 and the augend data 15 by the adder 6 according to the control based on the edge detection signal 13 , and stores the result of addition in the addition result register 7 .
- the addition circuit 5 outputs the value of the sign bit, that is, the MSB, of the addition result register 7 , as a discrimination result signal 20 .
- FIG. 2 shows a detailed structure of the addend data generating circuit 3 of FIG. 1 according to the first embodiment.
- the addend data generating circuit 3 comprises, for example, a register which accepts and stores an input binary value in synchronization with the edge detection signal 13 and outputs it to the addition circuit 5 .
- the count value having, for example, 16 bits in length from the up counter 2 is shifted right by three (3) bits and inputted into lower 13 bits of the addend data generating circuit 3 in synchronization with the edge detection signal 13 .
- zero (“0”) data is inputted into upper three bits of the addend data generating circuit 3 .
- the addend data generating circuit 3 produces the addend data 16 having 16 bits in length whose upper three bits are all zeros and whose lower 13 bits correspond to the upper 13 bits of the count value of the up counter 2 . Therefore, the value of the addend data 16 corresponds to the value which is one eighth of the count value of the up counter 2 .
- FIG. 5AA and FIG. 5AB, FIG. 5BA and FIG. 5BB, FIG. 5CA and FIG. 5CB, and FIG. 5DA and FIG. 5DB show relationships between duty cycles of the signals to be discriminated 10 and count values of the up/down counter 1 in various duty cycles of the signals to be discriminated 10 .
- FIG. 5DC shows variations of a count value of the up counter 2 in case the duty cycle of the signal to be discriminated 10 is 25%.
- FIG. 5AA shows a condition in which the signal to be discriminated 10 has a duty cycle of 50%.
- VUDC 1 sign bit
- FIG. 5DA shows a condition in which the signal to be discriminated 10 has a duty cycle of 25%.
- the down count period of the up/down counter 1 becomes three times the up count period of the up/down counter 1 . Therefore, assuming that the maximum value of the up/down counter 1 during the up count period is “n”, the count value of the up/down counter 1 after one period becomes “ ⁇ 2n”.
- the value “n” varies depending on the period of the signal to be discriminated. However, the count value of the up/down counter 1 after one period always becomes “ ⁇ 2n” if the duty cycle of the signal to be discriminated is 25%.
- the up counter 2 is used to count the period of the signal to be discriminated 10 .
- the count value of the up counter 2 after one period becomes “4n” as shown in FIG. 5DC. Therefore, the data to be added to the count value of the up/down counter 1 can be obtained by dividing the count value of the up counter 2 by “2”.
- VHS Index Search System is the abbreviation of VHS Index Search System, and is a system for performing detection of a start point of a playback image or indexing a playback image.
- a control signal is also recorded on the videotape, together with an image or video signal of the TV program and the like.
- the control signal indicates playback timing of the image signal.
- the image signal is outputted in synchronization with a playback control (PBCTL) signal.
- PBCTL playback control
- the duty cycle of the control signal is changed to indicate information showing a head portion of the recorded image signal.
- the PBCTL signal when a PBCTL signal has a duty cycle of 60% , the PBCTL signal does not show the head or indexing portion, but shows a non-VISS portion.
- the PBCTL signal shows the head or indexing portion, that is, a VISS portion.
- the PBCTL signal is a playback signal from a videotape and, therefore, the period of the PBCTL signal varies continuously depending on a tape speed.
- the present invention provides a duty cycle discriminating circuit which can perform discrimination of a duty cycle required in the VISS system based on an optimum threshold point and by using a simple structure and process.
- the above-mentioned PBCTL signal is shown as the signal to be discriminated 10 .
- the duty cycle of the signal to be discriminated 10 is discriminated by using a threshold point of approximately 44% (theoretically, 43.75%).
- the signal to be discriminated 10 changes from a low potential level to a high potential level and, in response thereto, the rising edge detecting circuit 4 outputs an edge detection signal 13 which is a pulse like signal.
- the delay circuit 8 delays the edge detection signal 13 and generates an initialization signal 17 .
- the initialization signal 17 is supplied to the up/down counter 1 and the up counter 2 , and initializes or clears these counters 1 and 2 .
- the up/down counter 1 counts up the count clock pulses 12 .
- the up/down counter 1 counts down the count clock pulses 12 .
- the up counter 2 always counts up the count clock pulses 12 until it is cleared.
- an edge detection signal 13 is outputted from the rising edge detecting circuit 4 .
- the addition or addend data generating circuit 3 starts operation.
- the addend data generating circuit 3 right-shifts the count value, having 16 bits in this embodiment, of the up counter 2 by three bits, and outputs an addend data 16 to the addition circuit 5 .
- the addend data 16 is added to a data to be added or augend data 15 which is a count value of the up/down counter 1 .
- the data obtained by this addition is stored in the addition result register 7 in synchronization with a falling edge of the edge detection signal 13 .
- the discrimination result signal 20 which is the sign bit of the addition result register 7 shows a result of duty cycle discrimination.
- the lower three bits of the up counter 2 are neglected in the addend data generating circuit 3 and a rounding error is caused thereby.
- a frequency of the count clock signal 12 is determined such that 100 or more count clock pulses of the count clock signal 12 are inputted during one period of the signal to be discriminated 10 , it is possible to reduce the error of the threshold point of the duty cycle discrimination to 0.4% or smaller, as shown in FIG. 12.
- the shortest period of the signal to be discriminated 10 is approximately 10 KHz. Therefore, in this case, if the period of the count clock signal 12 is selected to be 1 ⁇ s, it is possible to supply 100 or more count clock pulses to the up counter 2 within one period of the signal to be discriminated 10 . In a usual VTR, it is possible to produce the count clock signal 12 having a period of 1 ⁇ s.
- FIG. 3 shows a condition in which the signal to be discriminated 10 having a duty cycle of 27.5%, corresponding to the VISS signal, is inputted to the duty cycle discriminating circuit. Assume that 100 count clock pulses of the count clock signal 12 are inputted during one period of the signal to be discriminated 10 . In this case, the time length during which the signal to be discriminated 10 is in a high potential level is shorter than the time length during which the signal to be discriminated 10 is in a low potential level. Therefore, the count value of the up/down counter 1 after one period of the signal to be discriminated 10 becomes negative.
- the absolute value “m” of the count value becomes 45 counts, that is, 45% of the counts corresponding to one period of the signal to be discriminated 10 .
- the time length during which the signal to be discriminated 10 is in a high potential level is longer than the time length during which the signal to be discriminated 10 is in a low potential level. Therefore, the count value of the up/down counter 1 after one period of the signal to be discriminated 10 becomes positive. Also, the absolute value of the count value becomes 20 counts, that is, 20% of the count corresponding to one period of the signal to be discriminated 10 .
- the addend data 16 from the addend data generating circuit 3 becomes 12 counts, that is, 12.5% of the counts corresponding to one period of the signal to be discriminated 10 , and this is the same as the addend data of the above-mentioned case in which duty cycle of the signal to be discriminated 10 is 27.5%. Therefore, addition result of the addition circuit 5 becomes positive, so that the discrimination result signal 20 becomes “0”, and the absolute value of the addition result becomes 33 counts, that is, 32.5% of the count corresponding to one period of the signal to be discriminated 10 .
- the duty cycle discriminating circuit according to the first embodiment of the present invention when applied to the VISS detection, it is possible to select the threshold point of duty cycle discrimination to be approximately 44% and, thereby, to discriminate the duty cycle of the signal to be discriminated 10 by using the middle threshold point between the duty cycle corresponding to the VISS signal and the duty cycle corresponding to the non-VISS signal.
- the signal to be discriminated 10 is a playback signal (PBCTL signal) from a videotape, and, therefore, there is a possibility that the duty cycles of the PBCTL signal somewhat deviate from those of the specified value, that is, 60% and 27.5%.
- the count value of the up/down counter 1 does not depend on the period, but depends on the ratio between the time during which the signal to be discriminated 10 is in a high potential level and the time during which the signal to be discriminated 10 is in a low potential level. Therefore, even in such case, the duty cycle discriminating circuit according to the present invention can perform the discrimination correctly.
- the duty cycle discriminating circuit can correctly operate even if the period of the signal to be discriminated 10 varies greatly.
- Such operation requires control by an external CPU.
- the preset value is a predicted value and, therefore, there is a possibility that a discrimination error becomes large.
- the preset data is automatically generated based on the elapsed period. Therefore, control by an external CPU and the like is not required, and a discrimination error can be very small which, in the above-mentioned example, can be 0.42% at the maximum.
- FIG. 6 shows a block circuit structure of a duty cycle discriminating circuit according to the second embodiment of the present invention.
- the duty cycle discriminating circuit according to the second embodiment has an addition or addend data generating circuit 100 which is different from the addend data generating circuit 3 of the first embodiment.
- the addend data generating circuit 100 receives a shift number designating signal 30 , a bypass designating signal 31 , a positive or negative (sign) designating signal 32 , and a count value of the up counter 2 , and outputs an addend data 16 .
- FIG. 7 shows a detailed structure of the addend data generating circuit 100 of the duty cycle discriminating circuit according to the second embodiment.
- the addend data generating circuit 100 comprises registers 71 and 72 , selectors 73 , 75 and 76 , and a complementary number generating circuit
- the register 71 receives the count value of the up counter 2 (16 bits length) and right-shifts the count value by three bits to generate a first data signal whose upper three bits are all zeros (0, 0, 0, [15:3]).
- the register 71 receives the count value of the up counter 2 (16 bits length) after right-shifting the count value by three bits, and generates a first data signal whose upper three bits are all zeros (0, 0, 0, [15:3]).
- the symbol [15:3] shows bit 15 through bit 3 .
- the register 73 receives the count value of the up counter 2 (16 bits length) and right-shifts the count value by two bits to generate a second data signal whose upper two bits are all zeros (0, 0, [15:2]).
- the register 72 receives the count value of the up counter 2 (16 bits length) after right-shifting the count value by two bits.
- the selector 73 selects one of the first and second data signals depending on the shift number designating signal 30 .
- the complementary number generating circuit 74 generates a 2's complement data of the output data from the selector 73 .
- the 2's complement data is generated by inverting the output data from the selector 73 and by adding “1” to the inverted data.
- the selector 75 selects one of the output data from the selector 73 and the 2's complement data depending on the positive-negative designating signal 32 .
- the selector 76 selects one of the output data from selector 75 and the count value of the up counter 2 depending on the bypass designating signal 31 .
- the output of the selector 76 becomes the addend data 16 having 16 bits length ([15:0]).
- the most significant bit (MSB) of the addend data 16 functions as a sign bit.
- the duty cycle discriminating circuit according to the second embodiment is characterized in that the threshold point of duty cycle discrimination of the signal to be discriminated 10 can be selected from a plurality of points.
- An operation of the duty cycle discriminating circuit according to the second embodiment is the same as that of the duty cycle discriminating circuit according to the first embodiment, except that an operation of the addend data generating circuit 100 of the second embodiment differs from that of the addend data generating circuit 3 of the first embodiment. Therefore, an explanation will be made only on the addend data generating circuit 100 , and detailed explanation of other portions of the duty cycle discriminating circuit according to the second embodiment is omitted here.
- the absolute value of the addend data 16 can be changed by selecting the shift number of the count value of the up/down counter 2 depending on the shift number designating signal 30 .
- the addend data 16 is made positive, if the selector 73 selects the data signal from the register 71 , that is, the data obtained by shifting the count value of the up counter 2 by three bits, the threshold point of the duty cycle discrimination becomes approximately 44% (43.75%). If the selector 73 selects the data from the register 72 , that is, the data obtained by shifting the count value of the up counter 2 by two bits, the threshold point of the duty cycle discrimination becomes approximately 38% (37.5%).
- the selector 75 it is possible to select one of the output data from the selector 73 and the 2's complement data, depending on the positive-negative designating signal 32 , thereby it is possible to select a positive value or a negative value of the addend data 16 .
- the negative value is added to the count value of the up/down counter 1 in the addition circuit 5 , that is, the output data from the selector 73 is subtracted from the count value of the up/down counter 1 . Therefore, it becomes possible to set the threshold point of the duty cycle discrimination to be larger than 50%.
- the selector 76 it is possible to select the count value of the up counter 2 . In such case, the count value of the up counter 2 itself becomes the addend data 16 , and it is possible to set the threshold point of the duty cycle discrimination to be 50%.
- the shift number of the count value of the up counter 2 can be 3 bits and 2 bits. However, it is possible to use other shift numbers to change the threshold point of duty cycle discrimination. Thereby, it is possible to provide a multipurpose duty cycle discriminating circuit which is also applicable to various circuits and apparatuses other than VTR.
- FIG. 8 shows a block circuit structure of a duty cycle discriminating circuit according to the third embodiment of the present invention.
- the duty cycle discriminating circuit according to the third embodiment has the same structure as that of the duty cycle discriminating circuit according to the first embodiment, except that, in the third embodiment, a multiplier 101 is used in place of the addend data generating circuit 3 of FIG. 1.
- the multiplier 101 receives the count value of the up counter 2 and the edge detection signal 13 from the rising edge detecting circuit 4 .
- the multiplier 101 also receives a multiplication constant designating signal 200 .
- the multiplier 101 outputs an addend data 16 which is supplied to the addition circuit 5 .
- the duty cycle discriminating circuit according to the third embodiment is characterized in that the threshold point of duty cycle discrimination of the signal to be discriminated 10 can be determined arbitrarily.
- the count value of the up counter 2 is shifted to generate the addend data 16 . Therefore, it is only possible to set the addend data to 1/(2 n ) of the count value of the up counter 2 , where n is a positive integer. Thus, in the duty cycle discriminating circuit according to the second embodiment, it is only possible to set the threshold point of the duty cycle discrimination to one of the limited number of values.
- the count value of the up counter 2 and the constant inputted as the multiplication constant designating signal 200 are multiplied in synchronization with input of the edge detection signal 13 .
- the multiplication constant designating signal 200 is constituted of four (4) bits, and it is possible to represent values from ⁇ fraction (1/16) ⁇ (0.0625) to ⁇ fraction (15/16) ⁇ (0.9375) with a step of 1 / 16 . Therefore, by using such multiplication constant designating signal 200 , it is possible to obtain the threshold points of duty cycle discrimination as shown in FIG. 14.
- the multiplication constant designating signal 200 is constituted of four bits. However, by increasing the number of bits of the multiplication constant designating signal 200 , it becomes possible to more finely select the threshold point of duty cycle discrimination. Also, in the present embodiment, the output data from the multiplier 101 , that is, the addend data 16 , is supplied as a positive number to the addition circuit 5 . However, it is possible to obtain 2's complement of the output data and to output as a negative number. In such case, the threshold point of duty cycle discrimination can be a value of the latter half of the pulse signal to be discriminated, that is, 50% or larger.
- FIG. 9 shows a block circuit structure of a duty cycle discriminating circuit according to the fourth embodiment of the present invention.
- the duty cycle discriminating circuit according to the fourth embodiment has the same structure as that of the duty cycle discriminating circuit according to the first embodiment, except that, in the fourth embodiment, a structure of an addition circuit 102 is different from that of the addition circuit 5 in the first embodiment.
- the addition circuit 102 comprises an augend register 210 , an addend register 211 , an adder 6 , and an addition result register 7 .
- the augend register 210 stores therein an augend data 15 in response to a rising edge of the edge detection signal 13 .
- the addend register 211 stores an addend data 16 therein in response to a rising edge of the edge detection signal 13 .
- the adder 6 performs an addition operation of the data stored in the augend register 210 and the data stored in the addend register 211 .
- the addition result register 7 stores a result of addition by the adder 6 in response to a falling edge of the edge detection signal 13 .
- the duty cycle discriminating circuit according to the fourth embodiment is characterized in that the addition circuit 102 comprises the augend register 210 and the addend register 211 .
- the augend register 210 and the addend 211 store therein the augend data 15 and the addend data 16 , respectively, in synchronization with generation of the edge detection signal 13 .
- the present invention it becomes possible to change the threshold point of duty cycle discrimination from 50% by adding, after elapsing one period of the signal to be discriminated 10 , the data produced from the count value corresponding to the period of the signal to be discriminated 10 to the count value of the up/down counter 1 . Also, it is not necessary to use an external CPU and the like for producing the threshold point of duty cycle discrimination, and it is possible to reduce an error of duty cycle discrimination.
- the multiplier is used for producing the addend data 16 , and thereby it becomes possible to freely determine the ratio of the count value of the up counter 2 and the addend data 16 . Therefore, it is possible to select the threshold point of duty cycle discrimination finely and freely.
Landscapes
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- Manipulation Of Pulses (AREA)
- Pulse Circuits (AREA)
Abstract
A duty cycle discriminating circuit used, for example, in a VTR. The duty cycle discriminating circuit comprises: an up/down counter with sign bit for counting up or counting down a count clock signal depending on a potential level of a signal to be discriminated; an up counter for counting up said count clock signal; an addend data generating circuit for producing an addend data having a value corresponding to a predetermined proportion of a count value of said up counter; and an addition circuit with sign bit for adding a count value of said up/down counter and said addend data produced by said addend data generating circuit. The sign bit of the addition circuit is outputted as a discrimination result signal of the duty cycle discriminating circuit. The predetermined proportion of the count value of the up counter is specified to perform duty cycle discrimination of the signal to be discriminated by using a desired threshold point.
Description
- The present invention relates generally to a duty cycle discriminating circuit, and more particularly to a duty cycle discriminating circuit which is used, for example, in a video tape recorder and the like and in which a threshold point of duty cycle discrimination can be varied.
- A duty cycle discriminating circuit or a pulse width discriminating circuit is used, for example, in a video tape recorder (VTR), such as a VHS type VTR, and the like. The duty cycle discriminating circuit is used for determining whether a duty cycle of an input pulse signal is larger or smaller than a threshold value.
- As one of conventional duty cycle discriminating circuits, there is known a discriminating circuit used in a VISS detecting circuit which is integrated in μPD78492x series IC devices manufactured by NEC Corporation.
- The VISS is an abbreviation of VHS Index Search System and is used, for example, for detecting or indexing a start portion of a playback video signal. In the VISS detecting circuit, a duty cycle discriminating circuit is used to detect a predetermined binary pattern, that is, a VISS pattern corresponding an index signal. The predetermined binary pattern is represented by using binary “1” and “0” corresponding to different duty cycles of a control signal recorded, for example, on a VHS video tape.
- FIG. 10 is a block diagram showing a conventional duty cycle discriminating circuit used in the VISS detecting circuit. FIG. 11 is a timing diagram showing an operation of the duty cycle discriminating circuit of FIG. 10. The duty cycle discriminating circuit of FIG. 10 comprises an up/down counter with sign bit or a signed up/down
counter 51, apreset value register 52, anedge detecting circuit 55, acontrol register 56, and alatch circuit 58. - The up/down
counter 51 receives a count clock signal FCLK having a fixed frequency. The up/downcounter 51 also receives a playback control signal (PBCTL signal), and performs a count up operation or a count down operation depending on the potential level of the PBCTL signal. For example, when the PBCTL signal is “0”, the up/downcounter 51 performs a count down operation, and when the PBCTL signal is “1”, the up/downcounter 51 performs a count up operation. An enable/clear of the up/downcounter 51 is controlled by a signal from thecontrol register 56. - The preset value register52 stores a data value to be written into the up/down
counter 51. The data value is outputted from thepreset value register 52 in synchronization with a falling edge of a re-load signal supplied from theedge detecting circuit 55. - The most significant bit (MSB) of the up/down
counter 51 is a sign bit. When the sign bit is “0”, the up/downcounter 51 shows a positive number, and when the sign bit is “1”, the up/downcounter 51 shows a negative number. This most significant bit (MSB) is inputted to thelatch circuit 58. Thelatch circuit 58 may be a D-type flip-flop circuit, and holds the MSB of the up/downcounter 51 in response to a rising edge of the re-load signal outputted from theedge detecting circuit 55. The MSB held by thelatch circuit 58 becomes an output signal, that is, a discrimination result signal, of the duty cycle discriminating circuit. - The
edge detecting circuit 55 outputs a re-load signal when it detects an edge designated by the content of thecontrol resistor 56. - It is possible to write data into the
control register 56 and into thepreset value register 52 from a central processing unit (CPU) and the like which is disposed outside of this pulse width discriminating circuit and which is not shown in the drawing. - With reference to FIG. 11, an operation of the conventional duty cycle discriminating circuit of FIG. 10 will be described briefly. As shown in the timing diagram of FIG. 11, the conventional duty cycle discriminating circuit of FIG. 10 discriminates duty cycles by using the up/down
counter 51 with a sign bit or a signed up/downcounter 51. The up/downcounter 51 counts up the count clock signal FCLK during a period in which the PBCTL signal is in a high potential level, and counts down the count clock signal FCLK during a period in which the PBCTL signal is in a low potential level. - Usually, in order to reduce an error of discrimination, when the duty cycle of the PBCTL signal is to be discriminated, a middle value between the possible duty cycles is previously stored in the
preset value register 52. - That is, in the VISS detection, the PBCTL signal has a duty cycle of 60% and a duty cycle of 30% (correctly, 27.5%), corresponding, for example, to “0” and “1” for representing binary data. Therefore, discrimination between these two kinds of duty cycles is performed by using a duty cycle of approximately 45%, which is a middle value between 60% and30%, as a threshold point.
- In order for the up/down
counter 51 becomes zero after one period of the PBCTL signal when the PBCTL signal having a duty cycle of 45% is inputted into the up/downcounter 51, it is necessary to store a count value corresponding to 10% of one period of the PBCTL signal into thepreset value register 52. As an example, when one period of the PBCTL signal corresponds to 200 clock cycles, it is necessary to store data “20” into thepreset value register 52. - In this structure, when the duty cycle of the PBCTL signal is larger than 45%, for example, 60%, the count value of the up/down
counter 51 with sign bit becomes a positive value, and when the duty cycle of the PBCTL signal is smaller than 45%, for example, 30%, the count value of the up/downcounter 51 with sign bit becomes a negative value. Thereby, it is possible to discriminate the duty cycle of the PBCTL signal. - As a second prior art technology for duty cycle discrimination, the following method is known which is not shown in the drawing.
- That is, in this method, a counter and two registers A and B are used. The counter receives and counts up a clock pulse signal having a constant period. The registers A and B store count values of the counter during particular times specified by a signal to be measured or discriminated. The register A stores a count value corresponding to a time during which the signal to be measured is in a high potential level, and the register B stores a count value corresponding to one period of the signal to be measured.
- The duty cycle of the signal to be measured is obtained by performing an arithmetic operation on the values stored in the registers A and B by an external CPU.
- That is, the duty cycle is obtained by the following arithmetic operation.
- Duty cycle=(count value of register A)/(count value of register B)
- This method is very simple, and provides a precise duty cycle value.
- As a third prior art technology, there is known a duty cycle discriminating circuit in which a period of a count clock signal is selected depending on a period of an input signal, that is, a count value of the input signal. Thereby, even if a period of the input signal varies over a wide range, it is possible to discriminate a duty cycle by using a constant re-load value.
- However, with respect to the first prior art method, when a videotape is wound forward (fast-forward) or rewound in a video tape recorder (VTR), the period of the PBCTL signal varies depending on variations in motor speed. Even in such case, it is necessary to correctly discriminate the duty cycle of the PBCTL signal. In this case, in order to detect whether the PBCTL signal shows the VISS pattern or not, it is only necessary to discriminate the duty cycle between two kinds of duty cycles, that is, between 30% and 60%.
- In the timing diagram of FIG. 11, the initial re-load value of the up/down
counter 51 is 00H, that is, zero in hexadecimal notation. However, usually, when the duty cycle discrimination is to be performed, a middle value between the two kinds of duty cycles is previously stored in thepreset value register 52, and the middle value stored in thepreset value register 52 is re-loaded onto the signed up/downcounter 51. - However, when a period of the PBCTL signal varies, the count value of the up/down
counter 51 with sign bit after elapsing one period of the PBCTL signal also varies largely. Therefore, it is necessary to also change the value stored in thepreset value register 52 according to the variation of the PBCTL signal. - If the value stored in the
preset register 52 is not changed, it is impossible to correctly discriminate the duty cycle of the PBCTL signal. In order to change the value stored in thepreset value register 52, it is necessary to produce the value to be stored in thepreset value resistor 52, by using an external CPU and the like. - Also, the data to be stored in the
preset register 52 is produced based on the expectation or anticipation of the period of the PBCTL signal to be inputted next time. Therefore, there is a possibility that an error of the data becomes large and it is difficult to determine when the data to be stored in thepreset value register 52 is changed. - In the second prior art mentioned above, it is necessary to calculate the duty cycle every period of the signal to be discriminated, that is, the PBCTL signal, by the CPU. Therefore, when the period of the PBCTL signal becomes small, for example, 100 μs, in a condition the video tape is wound forward (fast-forward) or rewound in a VTR, a processing load of the CPU becomes large. In the duty cycle discrimination of the VISS system, it is not necessary to obtain a precise duty cycle value, but it is only necessary to discriminate between the larger duty cycle and the smaller duty cycle. Therefore, it is a waste of CPU processing power to perform arithmetic operation for obtaining a duty cycle value every period of the PBCTL signal.
- With respect to the third prior art method, since it is necessary to change a period of a count clock signal depending on a period of an input signal, that is, a PBCTL signal, a structure of the duty cycle discriminating circuit becomes complicated. Also, it is difficult to appropriately change the period of the count clock signal according to the up/down count period.
- It is an object of the present invention to obviate the disadvantages of the conventional duty cycle discriminating circuits.
- It is another object of the present invention to provide a duty cycle discriminating circuit in which a duty cycle of an input signal can be discriminated with a reduced error of discrimination.
- It is still another object of the present invention to provide a duty cycle discriminating circuit in which a duty cycle of an input signal can be discriminated with a reduced error of discrimination and which has a simple circuit structure.
- It is still another object of the present invention to provide a duty cycle discriminating circuit in which a duty cycle of an input signal can be discriminated with a reduced error of discrimination even when a period of the input signal varies greatly.
- It is still another object of the present invention to provide a duty cycle discriminating circuit in which a duty cycle of an input signal can be discriminated without using an external CPU and the like for providing a discrimination threshold value and the like.
- It is still another object of the present invention to provide a duty cycle discriminating circuit in which a duty cycle of an input signal can be discriminated without using an external CPU and the like for providing a discrimination threshold value and the like and with a reduced error of discrimination even when a period of the input signal varies greatly.
- According to an aspect of the present invention, there is provided a duty cycle discriminating circuit comprising: an up/down counter with sign bit for counting up or counting down a count clock signal depending on a potential level of a signal to be discriminated; an up counter for counting up the count clock signal regardless of the potential level of the signal to be discriminated; an addend data generating circuit for producing an addend data having a value corresponding to a predetermined proportion of a count value of the up counter; and an addition circuit with sign bit for adding a count value of the up/down counter and the addend data produced by the addend data generating circuit, the sign bit of the addition circuit with sign bit is outputted as a discrimination result signal of the duty cycle discriminating circuit; wherein the predetermined proportion of the count value of the up counter is specified to perform duty cycle discrimination of the signal to be discriminated by using a desired threshold point of duty cycle discrimination.
- In this case, it is preferable that the duty cycle discriminating circuit further comprises an edge detecting circuit which detects a leading edge of the signal to be discriminated and outputs a pulse like edge detection signal in response to the detection thereof.
- It is also preferable that the duty cycle discriminating circuit further comprises a delay circuit which receives the edge detection signal and delays the edge detection signal for a predetermined time to output an initializing signal.
- It is further preferable that the up/down counter is initialized by the initialization signal and the most significant bit (MSB) of the up/down counter is outputted as a sign bit.
- It is advantageous that the addition circuit comprises an adder for adding the count value of the up/down counter and the addend data produced by the addend data generating circuit, and an addition result register for storing a result of addition of the adder, a sign bit of the addition result register being outputted as a discrimination result signal of the duty cycle discriminating circuit.
- It is also advantageous that, in the addend data generating circuit, the count value from the up counter is right shifted by a predetermined number of bit or bits and “0” is inserted to each of corresponding number of upper bit or bits to obtain the addend data.
- It is further advantageous that the count value from the up counter has 16 bits and is right shifted by 3 bits and wherein “0” is inserted to each of the upper 3 bits of the right shifted data to obtain 16 bits data as the addend data.
- It is preferable that the addend data generating circuit comprises a plurality of registers storing count values from the up counter after right shifting the count value by different number of bits respectively, and a first selector for selectively outputting data stored in the registers depending on a shift number designating signal.
- It is also preferable that the addend data generating circuit further comprises a complementary circuit which receives the data outputted from the first selector and generates a complementary data of the data outputted from the first selector, and a second selector for selectively outputting the data outputted from the first selector or the complementary data depending on a positive-negative designating signal.
- It is further preferable that the addend data generating circuit further comprises a third selector for selectively outputting the data outputted from the second selector or the count value of the up down counter depending on a bypass designating signal.
- It is advantageous that the duty cycle discriminating circuit comprises, in place of the addend data generating circuit, a multiplier circuit which receives the count value of the up counter, the edge detection signal and a multiplication constant designating signal, and which multiplies the count value of the up counter and a constant inputted as the multiplication constant designating signal in synchronization with an input of the edge detection signal to generate the addend data.
- It is also advantageous that the duty cycle discriminating circuit further comprises a delay circuit which receives the edge detection signal and delays the edge detection signal for a predetermined time to output an initializing signal.
- It is further advantageous that the addition circuit comprises an adder for adding the count value of the up/down counter and the addend data produced by the addend data generating circuit, and an addition result register for storing a result of addition of the adder, a sign bit of the addition result register being outputted as a discrimination result signal of the duty cycle discriminating circuit.
- It is preferable that the addition circuit comprises an augend data register for storing the count value of the up/down counter as an augend data in response to a rising edge of the edge detection signal, an addend data register for storing the addend data in response to the rising edge of the edge detection signal, an adder for adding the data stored in the augend data register and the data stored in the addend data register, and an addition result register for storing a result of addition of the adder in response to a falling edge of the edge detection signal.
- It is also preferable that the duty cycle discriminating circuit further comprises a delay circuit which receives the edge detection signal and delays the edge detection signal for a predetermined time to output an initializing signal.
- It is further preferable that, in the addend data generating circuit, the count value from the up counter is right shifted by a predetermined number of bit or bits and “0” is inserted to each of corresponding number of upper bit or bits to obtain the addend data.
- It is advantageous that the count value from the up counter has 16 bits and is right shifted by 3 bits and wherein “0” is inserted to each of the upper 3 bits of the right shifted data to obtain 16 bits data as the addend data.
- These and other features, and advantages, of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which like reference numerals designate identical or corresponding parts throughout the figures, and in which:
- FIG. 1 is a block circuit diagram showing a structure of a duty cycle discriminating circuit according to the first embodiment of the present invention;
- FIG. 2 is a block circuit diagram showing a detailed structure of an addition data generating circuit used in the duty cycle discriminating circuit of FIG. 1;
- FIGS. 3A through 3L are timing diagrams used for explaining an operation of the duty cycle discriminating circuit according to the first embodiment of the present invention shown in FIG. 1;
- FIG. 4 is a flowchart showing a process of duty cycle discrimination in the duty cycle discriminating circuit of FIG. 1;
- FIGS.5AA and 5AB, FIGS. 5BA and 5BB, FIGS. 5CA and CB, and FIGS. 5DA, 5DB and 5DC are waveform diagrams illustrating a principle of operation of the duty cycle discriminating circuit according to the present invention;
- FIG. 6 is a block circuit diagram showing a structure of a duty cycle discriminating circuit according to the second embodiment of the present invention;
- FIG. 7 is a block circuit diagram showing a detailed structure of an addition data generating circuit used in the duty cycle discriminating circuit of FIG. 6;
- FIG. 8 is a block circuit diagram showing a structure of a duty cycle discriminating circuit according to the third embodiment of the present invention;
- FIG. 9 is a block circuit diagram showing a structure of a duty cycle discriminating circuit according to the fourth embodiment of the present invention;
- FIG. 10 is a block circuit diagram showing a structure of a conventional duty cycle discriminating circuit;
- FIGS. 11A through 11C are timing diagrams used for explaining an operation of the conventional duty cycle discriminating circuit shown in FIG. 10;
- FIG. 12 is a table showing a result of duty cycle discrimination in the duty cycle discriminating circuit according to the first embodiment of the present invention;
- FIG. 13 is a table showing a result of selection of the threshold point of duty cycle discrimination in the duty cycle discriminating circuit according to the second embodiment of the present invention; and
- FIG. 14 is a table showing a result of duty cycle discrimination in the duty cycle discriminating circuit according to the third embodiment of the present invention.
- First, with reference to the drawings, an explanation will be made on the first embodiment of the present invention. FIG. 1 shows a block circuit structure of a duty cycle discriminating circuit according to the first embodiment of the present invention.
- As shown in FIG. 1, the duty cycle discriminating circuit according to the first embodiment of the present invention comprises a signed up/down
counter 1 or an up/downcounter 1 with sign bit, an upcounter 2, an addend data (or addition data) generatingcircuit 3, a risingedge detecting circuit 4, anaddition circuit 5, and adelay circuit 8. - The up/down counter1 (VUDC1) with sign bit counts up or counts down a
count clock 12 supplied thereto, depending on a status of a signal to be discriminated 10, such as a playback control (PBCTL) signal, whose duty cycle is to be discriminated. The up/downcounter 1 is initialized or cleared by aninitialization signal 17 supplied thereto. The up/downcounter 1 outputs the most significant bit (MSB) thereof as asign bit signal 14. - The up counter2 counts up the
count clock 12, and is initialized or cleared by theinitialization signal 17. - The addend
data generating circuit 3 accepts a count value of theup counter 2, and generates and outputs anaddend data 16. Operation of the addenddata generating circuit 3 is controlled by anedge detection signal 13 supplied from the risingedge detecting circuit 4. - The rising
edge detecting circuit 4 produces theedge detection signal 13 which is a pulse-like signal generated when each of leading edges of the signal to be discriminated 10 is detected. - The
delay circuit 8 receives theedge detection signal 13 and delays theedge detection signal 13 for a predetermined time period, to output theinitialization signal 17. - The
addition circuit 5 includes anadder 6 and anaddition result register 7. Theadder 6 receives theaddend data 16 from the addenddata generating circuit 3, and a data to be added oraugend data 15 which is a count value of the up/downcounter 1. Theaddition circuit 5 performs an addition operation of theaddend data 16 and theaugend data 15 by theadder 6 according to the control based on theedge detection signal 13, and stores the result of addition in theaddition result register 7. Theaddition circuit 5 outputs the value of the sign bit, that is, the MSB, of theaddition result register 7, as adiscrimination result signal 20. - FIG. 2 shows a detailed structure of the addend
data generating circuit 3 of FIG. 1 according to the first embodiment. As shown in FIG. 2, the addenddata generating circuit 3 comprises, for example, a register which accepts and stores an input binary value in synchronization with theedge detection signal 13 and outputs it to theaddition circuit 5. In particular, in the addenddata generating circuit 3, the count value having, for example, 16 bits in length from the upcounter 2 is shifted right by three (3) bits and inputted into lower 13 bits of the addenddata generating circuit 3 in synchronization with theedge detection signal 13. In this case, zero (“0”) data is inputted into upper three bits of the addenddata generating circuit 3. Thereby, the addenddata generating circuit 3 produces theaddend data 16 having 16 bits in length whose upper three bits are all zeros and whose lower 13 bits correspond to the upper 13 bits of the count value of theup counter 2. Therefore, the value of theaddend data 16 corresponds to the value which is one eighth of the count value of theup counter 2. - A description will now be made on an operation of the duty cycle discriminating circuit according to the first embodiment of the present invention.
- First, with reference to FIGS.5AA-5DC, a reason will be explained why “discrimination based on a threshold point other than the middle duty cycle” can be realized according to a characteristic feature of the present invention by using the above-mentioned structure.
- FIG. 5AA and FIG. 5AB, FIG. 5BA and FIG. 5BB, FIG. 5CA and FIG. 5CB, and FIG. 5DA and FIG. 5DB show relationships between duty cycles of the signals to be discriminated10 and count values of the up/down
counter 1 in various duty cycles of the signals to be discriminated 10. FIG. 5DC shows variations of a count value of theup counter 2 in case the duty cycle of the signal to be discriminated 10 is 25%. - FIG. 5AA shows a condition in which the signal to be discriminated10 has a duty cycle of 50%. In this case, since an up count period and a down count period of the up/down
counter 1 with sign bit (VUDC1) are equal to each other, the count value of the up/downcounter 1 after inputting signal pulses of one period becomes “0”, as shown in FIG. 5AB. - Therefore, as shown in FIGS.5BA and BB, when the duty cycle of the signal to be discriminated 10 is smaller than 50%, the count value of the up/down
counter 1 after one period becomes negative, and the sign bit signal 14 of the up/downcounter 1 shows “1”. Also, as shown in FIGS. 5CA and CB, when the duty cycle of the signal to be discriminated 10 is larger than 50%, the count value of the up/downcounter 1 after one period becomes positive, and the sign bit signal 14 of the up/downcounter 1 shows “0”. - In this way, when the threshold point of the duty cycle discrimination of the signal to be discriminated10 is set to 50%, it is possible to discriminate the duty cycle from the sign bit signal 14 of the up/down
counter 1. - FIG. 5DA shows a condition in which the signal to be discriminated10 has a duty cycle of 25%. In such case, the down count period of the up/down
counter 1 becomes three times the up count period of the up/downcounter 1. Therefore, assuming that the maximum value of the up/downcounter 1 during the up count period is “n”, the count value of the up/downcounter 1 after one period becomes “−2n”. - The value “n” varies depending on the period of the signal to be discriminated. However, the count value of the up/down
counter 1 after one period always becomes “−2n” if the duty cycle of the signal to be discriminated is 25%. - Therefore, when the threshold point for detection is to be set to 25%, it is possible to add a value corresponding to “2n” to the count value of the up/down
counter 1 after one period. Thereby, it is possible to discriminate the duty cycle from the sign bit of the sum value obtained by adding the value corresponding to “2n” and the count value of the up/downcounter 1, that is, from thediscrimination result signal 20 which corresponds to the sign bit of the data stored in theaddition result register 7. - Here, an explanation will be made on the data to be added to the count value of the up/down
counter 1. As mentioned above, since the value “2n” varies depending on the period of the signal to be discriminated 10, it is necessary to produce the data to be added to the count value of the up/downcounter 1, by using information of the period of the signal to be discriminated 10. - In the present invention, the up
counter 2 is used to count the period of the signal to be discriminated 10. In the example illustrated in FIGS. 5DA and 5DB, the count value of theup counter 2 after one period becomes “4n” as shown in FIG. 5DC. Therefore, the data to be added to the count value of the up/downcounter 1 can be obtained by dividing the count value of theup counter 2 by “2”. - As mentioned above, according to the present invention, after elapsing one signal period of the signal to be discriminated10, a value produced based on a count value corresponding to the signal period is added to the up/down
counter 1. Thereby, it is possible to perform “duty cycle discrimination based on a threshold point other than the middle point”, of the signal to be discriminated 10. - Next, as an example, an explanation will be made on the application of the above-mentioned duty cycle discriminating circuit to a VISS detection circuit of a Video Tape Recorder (VTR).
- As mentioned before, “VISS” is the abbreviation of VHS Index Search System, and is a system for performing detection of a start point of a playback image or indexing a playback image.
- In a VTR, for example, a VHS type VTR, when recording a TV program and the like on a videotape, a control signal is also recorded on the videotape, together with an image or video signal of the TV program and the like. The control signal indicates playback timing of the image signal. When playing back the recorded image signal, the image signal is outputted in synchronization with a playback control (PBCTL) signal. In the VISS application, when recording the control signal, the duty cycle of the control signal is changed to indicate information showing a head portion of the recorded image signal. By using the playback control signal (PBCTL signal) including the information indicating the head portion, a desired image signal portion can be located.
- In particular, when a PBCTL signal has a duty cycle of 60% , the PBCTL signal does not show the head or indexing portion, but shows a non-VISS portion. When a PBCTL signal has a duty cycle of 27.5% for a predetermined number of periods, the PBCTL signal shows the head or indexing portion, that is, a VISS portion. The PBCTL signal is a playback signal from a videotape and, therefore, the period of the PBCTL signal varies continuously depending on a tape speed. The present invention provides a duty cycle discriminating circuit which can perform discrimination of a duty cycle required in the VISS system based on an optimum threshold point and by using a simple structure and process.
- In the duty cycle discriminating circuit according to the first embodiment of the present invention shown in FIG. 1, the above-mentioned PBCTL signal is shown as the signal to be discriminated10. Also, in FIG. 1 and FIG. 2, the duty cycle of the signal to be discriminated 10 is discriminated by using a threshold point of approximately 44% (theoretically, 43.75%).
- With reference to FIGS.3A-3L and FIG. 4, an explanation will be made on an operation of the duty cycle discriminating circuit according to the first embodiment shown in FIGS. 1 and
- As shown in FIG. 3A, the signal to be discriminated10 changes from a low potential level to a high potential level and, in response thereto, the rising
edge detecting circuit 4 outputs anedge detection signal 13 which is a pulse like signal. Thedelay circuit 8 delays theedge detection signal 13 and generates aninitialization signal 17. Theinitialization signal 17 is supplied to the up/downcounter 1 and theup counter 2, and initializes or clears thesecounters counter 1 counts up thecount clock pulses 12. After the potential level of the signal to be discriminated 10 has changed from a high potential level to a low potential level, the up/downcounter 1 counts down thecount clock pulses 12. - On the other hand, the up
counter 2 always counts up thecount clock pulses 12 until it is cleared. When the potential level of the signal to be discriminated 10 again changes from a low potential level to a high potential level after elapsing one period, anedge detection signal 13 is outputted from the risingedge detecting circuit 4. In response to the generation of theedge detection signal 13, the addition or addenddata generating circuit 3 starts operation. - As shown in FIG. 2, the addend
data generating circuit 3 right-shifts the count value, having 16bits in this embodiment, of theup counter 2 by three bits, and outputs anaddend data 16 to theaddition circuit 5. - In the
addition circuit 5, theaddend data 16 is added to a data to be added oraugend data 15 which is a count value of the up/downcounter 1. The data obtained by this addition is stored in the addition result register 7 in synchronization with a falling edge of theedge detection signal 13. Thediscrimination result signal 20 which is the sign bit of the addition result register 7 shows a result of duty cycle discrimination. - In this case, the lower three bits of the
up counter 2 are neglected in the addenddata generating circuit 3 and a rounding error is caused thereby. However, for example, if a frequency of thecount clock signal 12 is determined such that 100 or more count clock pulses of thecount clock signal 12 are inputted during one period of the signal to be discriminated 10, it is possible to reduce the error of the threshold point of the duty cycle discrimination to 0.4% or smaller, as shown in FIG. 12. - In the VISS detection, the shortest period of the signal to be discriminated10 is approximately 10 KHz. Therefore, in this case, if the period of the
count clock signal 12 is selected to be 1 μs, it is possible to supply 100 or more count clock pulses to the upcounter 2 within one period of the signal to be discriminated 10. In a usual VTR, it is possible to produce thecount clock signal 12 having a period of 1 μs. - FIG. 3 shows a condition in which the signal to be discriminated10 having a duty cycle of 27.5%, corresponding to the VISS signal, is inputted to the duty cycle discriminating circuit. Assume that 100 count clock pulses of the
count clock signal 12 are inputted during one period of the signal to be discriminated 10. In this case, the time length during which the signal to be discriminated 10 is in a high potential level is shorter than the time length during which the signal to be discriminated 10 is in a low potential level. Therefore, the count value of the up/downcounter 1 after one period of the signal to be discriminated 10 becomes negative. - The absolute value “m” of the count value becomes 45 counts, that is, 45% of the counts corresponding to one period of the signal to be discriminated10. The
addend data 16 from the addenddata generating circuit 3 is one eighth of the count value (n=100 counts) of theup counter 2, and becomes 12 counts, that is, 12.5% of the counts corresponding to one period of the signal to be discriminated 10. Therefore, addition result of theaddition circuit 5 becomes negative, so that thediscrimination result signal 20 becomes “1”, and the absolute value of the addition result becomes 33 counts, that is, 32.5% of the count corresponding to one period of the signal to be discriminated 10. - On the other hand, although not shown in FIG. 3, assume that the signal to be discriminated10 having a duty cycle of 60%, corresponding to the non-VISS signal, is inputted to the duty cycle discriminating circuit. Here, it is also assumed that the number of count clock pulses of the
count clock signal 12 supplied during one period of the signal to be discriminated 10 is 100 pulses. - In this case, the time length during which the signal to be discriminated10 is in a high potential level is longer than the time length during which the signal to be discriminated 10 is in a low potential level. Therefore, the count value of the up/down
counter 1 after one period of the signal to be discriminated 10 becomes positive. Also, the absolute value of the count value becomes 20 counts, that is, 20% of the count corresponding to one period of the signal to be discriminated 10. - The
addend data 16 from the addenddata generating circuit 3 becomes 12 counts, that is, 12.5% of the counts corresponding to one period of the signal to be discriminated 10, and this is the same as the addend data of the above-mentioned case in which duty cycle of the signal to be discriminated 10 is 27.5%. Therefore, addition result of theaddition circuit 5 becomes positive, so that thediscrimination result signal 20 becomes “0”, and the absolute value of the addition result becomes 33 counts, that is, 32.5% of the count corresponding to one period of the signal to be discriminated 10. - This absolute value is the same as that of the case in which the duty cycle of the signal to be discriminated10 is 27.5%. This fact shows that the threshold point of the duty cycle discrimination becomes the middle point between the duty cycle of 27.5% and the duty cycle of 60%.
- As mentioned above, when the duty cycle discriminating circuit according to the first embodiment of the present invention is applied to the VISS detection, it is possible to select the threshold point of duty cycle discrimination to be approximately 44% and, thereby, to discriminate the duty cycle of the signal to be discriminated10 by using the middle threshold point between the duty cycle corresponding to the VISS signal and the duty cycle corresponding to the non-VISS signal.
- In case of a VTR, the signal to be discriminated10 is a playback signal (PBCTL signal) from a videotape, and, therefore, there is a possibility that the duty cycles of the PBCTL signal somewhat deviate from those of the specified value, that is, 60% and 27.5%.
- In order to avoid erroneous discrimination even in such case, it is very important to perform the duty cycle discrimination not by using the threshold point of 50% but by using the middle threshold point, that is, approximately 44%, between 60% and 27.5%.
- Also, when the videotape is wound forward (fast-forward) or rewound in a VTR and the period of the signal to be discriminated10 continuously vary, the count value of the up/down
counter 1 does not depend on the period, but depends on the ratio between the time during which the signal to be discriminated 10 is in a high potential level and the time during which the signal to be discriminated 10 is in a low potential level. Therefore, even in such case, the duty cycle discriminating circuit according to the present invention can perform the discrimination correctly. Also, since theaddend data 16 is produced in the addenddata generating circuit 3 based on the count value of theup counter 2 which corresponds to the period of the signal to be discriminated 10, the duty cycle discriminating circuit according to the present invention can correctly operate even if the period of the signal to be discriminated 10 varies greatly. - In the conventional duty cycle discriminating circuit shown, for example, in FIG. 10, when the period of the PBCTL signal varies, it was necessary to store a preset value into the preset value register52 every period of the PBCTL signal. Since the up/down counter 51 must be preset to a predetermined value before inputting the PBCTL signal to the up/down
counter 51, it is necessary that the preset value is produced in anticipation of the next period. - Such operation requires control by an external CPU. Also, the preset value is a predicted value and, therefore, there is a possibility that a discrimination error becomes large. On the other hand, in the present invention, after elapsing one period of the signal to be discriminated10, the preset data is automatically generated based on the elapsed period. Therefore, control by an external CPU and the like is not required, and a discrimination error can be very small which, in the above-mentioned example, can be 0.42% at the maximum.
- Next, with reference to the drawings, an explanation will be made on the second embodiment of the present invention. FIG. 6 shows a block circuit structure of a duty cycle discriminating circuit according to the second embodiment of the present invention.
- As shown in FIG. 6, the duty cycle discriminating circuit according to the second embodiment has an addition or addend
data generating circuit 100 which is different from the addenddata generating circuit 3 of the first embodiment. - The addend
data generating circuit 100 receives a shiftnumber designating signal 30, abypass designating signal 31, a positive or negative (sign) designatingsignal 32, and a count value of theup counter 2, and outputs anaddend data 16. - FIG. 7 shows a detailed structure of the addend
data generating circuit 100 of the duty cycle discriminating circuit according to the second embodiment. The addenddata generating circuit 100 comprisesregisters selectors - In the addend
data generating circuit 100, theregister 71 receives the count value of the up counter 2 (16 bits length) and right-shifts the count value by three bits to generate a first data signal whose upper three bits are all zeros (0, 0, 0, [15:3]). Alternatively, theregister 71 receives the count value of the up counter 2 (16 bits length) after right-shifting the count value by three bits, and generates a first data signal whose upper three bits are all zeros (0, 0, 0, [15:3]). Here, the symbol [15:3] showsbit 15 throughbit 3. Theregister 73 receives the count value of the up counter 2 (16 bits length) and right-shifts the count value by two bits to generate a second data signal whose upper two bits are all zeros (0, 0, [15:2]). Alternatively, theregister 72 receives the count value of the up counter 2 (16 bits length) after right-shifting the count value by two bits. Theselector 73 selects one of the first and second data signals depending on the shiftnumber designating signal 30. - The complementary
number generating circuit 74 generates a 2's complement data of the output data from theselector 73. The 2's complement data is generated by inverting the output data from theselector 73 and by adding “1” to the inverted data. Theselector 75 selects one of the output data from theselector 73 and the 2's complement data depending on the positive-negative designatingsignal 32. Also, theselector 76 selects one of the output data fromselector 75 and the count value of theup counter 2 depending on thebypass designating signal 31. The output of theselector 76 becomes theaddend data 16 having 16 bits length ([15:0]). The most significant bit (MSB) of theaddend data 16 functions as a sign bit. - An operation of the duty cycle discriminating circuit according to the second embodiment will now be described. The duty cycle discriminating circuit according to the second embodiment is characterized in that the threshold point of duty cycle discrimination of the signal to be discriminated10 can be selected from a plurality of points.
- An operation of the duty cycle discriminating circuit according to the second embodiment is the same as that of the duty cycle discriminating circuit according to the first embodiment, except that an operation of the addend
data generating circuit 100 of the second embodiment differs from that of the addenddata generating circuit 3 of the first embodiment. Therefore, an explanation will be made only on the addenddata generating circuit 100, and detailed explanation of other portions of the duty cycle discriminating circuit according to the second embodiment is omitted here. - In the addend
data generating circuit 100, the absolute value of theaddend data 16 can be changed by selecting the shift number of the count value of the up/downcounter 2 depending on the shiftnumber designating signal 30. When theaddend data 16 is made positive, if theselector 73 selects the data signal from theregister 71, that is, the data obtained by shifting the count value of theup counter 2 by three bits, the threshold point of the duty cycle discrimination becomes approximately 44% (43.75%). If theselector 73 selects the data from theregister 72, that is, the data obtained by shifting the count value of theup counter 2 by two bits, the threshold point of the duty cycle discrimination becomes approximately 38% (37.5%). - Also, in the
selector 75, it is possible to select one of the output data from theselector 73 and the 2's complement data, depending on the positive-negative designatingsignal 32, thereby it is possible to select a positive value or a negative value of theaddend data 16. When a negative value of theaddend data 16 is selected, the negative value is added to the count value of the up/downcounter 1 in theaddition circuit 5, that is, the output data from theselector 73 is subtracted from the count value of the up/downcounter 1. Therefore, it becomes possible to set the threshold point of the duty cycle discrimination to be larger than 50%. Also, in theselector 76, it is possible to select the count value of theup counter 2. In such case, the count value of theup counter 2 itself becomes theaddend data 16, and it is possible to set the threshold point of the duty cycle discrimination to be 50%. - As shown in FIG. 13, in the duty cycle discriminating circuit according to the second embodiment, it is possible to select the threshold points of duty cycle discrimination depending on the values of the various designating signals, i.e., the shift
number designating signal 30, the positive-negative designatingsignal 32 and thebypass designating signal 31. - In the duty cycle discriminating circuit according to the second embodiment, the shift number of the count value of the
up counter 2 can be 3 bits and 2 bits. However, it is possible to use other shift numbers to change the threshold point of duty cycle discrimination. Thereby, it is possible to provide a multipurpose duty cycle discriminating circuit which is also applicable to various circuits and apparatuses other than VTR. - An explanation will now be made on a duty cycle discriminating circuit according to the third embodiment of the present invention. FIG. 8 shows a block circuit structure of a duty cycle discriminating circuit according to the third embodiment of the present invention.
- As shown in FIG. 8, the duty cycle discriminating circuit according to the third embodiment has the same structure as that of the duty cycle discriminating circuit according to the first embodiment, except that, in the third embodiment, a
multiplier 101 is used in place of the addenddata generating circuit 3 of FIG. 1. - The
multiplier 101 receives the count value of theup counter 2 and theedge detection signal 13 from the risingedge detecting circuit 4. Themultiplier 101 also receives a multiplicationconstant designating signal 200. Themultiplier 101 outputs anaddend data 16 which is supplied to theaddition circuit 5. - An operation of the duty cycle discriminating circuit according to the third embodiment will now be described. The duty cycle discriminating circuit according to the third embodiment is characterized in that the threshold point of duty cycle discrimination of the signal to be discriminated10 can be determined arbitrarily.
- As mentioned above, in the duty cycle discriminating circuit according to the second embodiment, the count value of the
up counter 2 is shifted to generate theaddend data 16. Therefore, it is only possible to set the addend data to 1/(2n) of the count value of theup counter 2, where n is a positive integer. Thus, in the duty cycle discriminating circuit according to the second embodiment, it is only possible to set the threshold point of the duty cycle discrimination to one of the limited number of values. - In the duty cycle discriminating circuit according to the third embodiment, the count value of the
up counter 2 and the constant inputted as the multiplicationconstant designating signal 200 are multiplied in synchronization with input of theedge detection signal 13. - Here, the multiplication
constant designating signal 200 is constituted of four (4) bits, and it is possible to represent values from {fraction (1/16)} (0.0625) to {fraction (15/16)} (0.9375) with a step of 1/16. Therefore, by using such multiplicationconstant designating signal 200, it is possible to obtain the threshold points of duty cycle discrimination as shown in FIG. 14. - Operation of the
multiplier 101 itself is well known and description thereof is omitted here. Also, operation of the duty cycle discriminating circuit according to the third embodiment is the same as that of the duty cycle discriminating circuit according to the first embodiment, except for the above-mentioned operation concerning themultiplier 101, and detailed description thereof is omitted here. - In the third embodiment, the multiplication
constant designating signal 200 is constituted of four bits. However, by increasing the number of bits of the multiplicationconstant designating signal 200, it becomes possible to more finely select the threshold point of duty cycle discrimination. Also, in the present embodiment, the output data from themultiplier 101, that is, theaddend data 16, is supplied as a positive number to theaddition circuit 5. However, it is possible to obtain 2's complement of the output data and to output as a negative number. In such case, the threshold point of duty cycle discrimination can be a value of the latter half of the pulse signal to be discriminated, that is, 50% or larger. - Next, with reference to the drawing, an explanation will be made on the fourth embodiment of the present invention. FIG. 9 shows a block circuit structure of a duty cycle discriminating circuit according to the fourth embodiment of the present invention.
- As shown in FIG. 9, the duty cycle discriminating circuit according to the fourth embodiment has the same structure as that of the duty cycle discriminating circuit according to the first embodiment, except that, in the fourth embodiment, a structure of an
addition circuit 102 is different from that of theaddition circuit 5 in the first embodiment. - The
addition circuit 102 comprises anaugend register 210, anaddend register 211, anadder 6, and anaddition result register 7. Theaugend register 210 stores therein anaugend data 15 in response to a rising edge of theedge detection signal 13. Theaddend register 211 stores anaddend data 16 therein in response to a rising edge of theedge detection signal 13. Theadder 6 performs an addition operation of the data stored in theaugend register 210 and the data stored in theaddend register 211. The addition result register 7 stores a result of addition by theadder 6 in response to a falling edge of theedge detection signal 13. - An operation of the duty cycle discriminating circuit according to the fourth embodiment will now be described. The duty cycle discriminating circuit according to the fourth embodiment is characterized in that the
addition circuit 102 comprises theaugend register 210 and theaddend register 211. Theaugend register 210 and the addend 211store therein theaugend data 15 and theaddend data 16, respectively, in synchronization with generation of theedge detection signal 13. - Therefore, it is possible to initialize the signed up/down
counter 1 and theup counter 2 by theinitialization signal 17, without waiting an execution of operation of theaddition circuit 102. It is only necessary that theinitialization signal 17 is outputted after a delay time during which theaugend register 210 and theaddend register 211 can store data therein. Therefore, it is possible to minimize the time from a rising edge of the signal to be discriminated 10 to the generation of theinitialization signal 17. - In this way, since the
initialization signal 17 can be outputted speedily, it is possible to go to the next duty cycle discrimination soon after detecting a rising edge of the signal to be discriminated 10. Also, even when the period of thecount clock signal 12 becomes short, it is possible to use thecount clock signal 12 efficiently for duty cycle discrimination, without wasting or invalidating the count clocks. - Operation of the duty cycle discriminating circuit according to the fourth embodiment is the same as that of the duty cycle discriminating circuit according to the first embodiment, except for the above-mentioned operation concerning the
addition circuit 102, and detailed description thereof is omitted here. - In summary, according to the present invention, it becomes possible to change the threshold point of duty cycle discrimination from 50% by adding, after elapsing one period of the signal to be discriminated10, the data produced from the count value corresponding to the period of the signal to be discriminated 10 to the count value of the up/down
counter 1. Also, it is not necessary to use an external CPU and the like for producing the threshold point of duty cycle discrimination, and it is possible to reduce an error of duty cycle discrimination. - Also, it is possible to produce the
addend data 16 by using a simple circuit structure including a 3 bits shift circuit. By setting the threshold point of duty cycle discrimination to approximately 44%, it is possible to realize a VISS detection circuit in a VTR having a simple structure and having a reduced error of duty cycle discrimination. - In the above-mentioned second embodiment, it is possible to make a threshold point of duty cycle discrimination selectable from a plurality of threshold points, depending on the values of the various designating signals, i.e., the shift number designating signal, the positive-negative designating signal and the bypass designating signal inputted to the addition data generating circuit. Such feature is realized by using a relatively simple circuit structure.
- In the duty cycle discriminating circuit according to the third embodiment, the multiplier is used for producing the
addend data 16, and thereby it becomes possible to freely determine the ratio of the count value of theup counter 2 and theaddend data 16. Therefore, it is possible to select the threshold point of duty cycle discrimination finely and freely. - In the duty cycle discriminating circuit according to the fourth embodiment, by providing the
augend register 210 and theaddend register 211, it is possible to initialize the signed up/downcounter 1 and theup counter 2 and to go to the next duty cycle discrimination soon after the input of the signal to be discriminated 10. - Therefore, it is possible to shorten the period of the count clock signal and to increase the number of the count clock pluses inputted during one period of the signal to be discriminated10. Thereby, it becomes possible to improve a precision of duty cycle discrimination.
- In the foregoing specification, the invention has been described with reference to specific embodiments. However, one of ordinary skill in the art appreciates that various modifications and changes can be made without departing from the scope of the present invention as set forth in the claims below. Accordingly, the specification and figures are to be regarded in an illustrative sense rather than a restrictive sense, and all such modifications are to be included within the scope of the present invention. Therefore, it is intended that this invention encompasses all of the variations and modifications as fall within the scope of the appended claims.
Claims (17)
1. A duty cycle discriminating circuit comprising:
an up/down counter with sign bit for counting up or counting down a count clock signal depending on a potential level of a signal to be discriminated;
an up counter for counting up said count clock signal regardless of the potential level of the signal to be discriminated;
an addend data generating circuit for producing an addend data having a value corresponding to a predetermined proportion of a count value of said up counter; and
an addition circuit with sign bit for adding a count value of said up/down counter and said addend data produced by said addend data generating circuit, said sign bit of said addition circuit with sign bit is outputted as a discrimination result signal of said duty cycle discriminating circuit;
wherein said predetermined proportion of said count value of said up counter is specified to perform duty cycle discrimination of said signal to be discriminated by using a desired threshold point of duty cycle discrimination.
2. A duty cycle discriminating circuit as set forth in , further comprising an edge detecting circuit which detects a leading edge of said signal to be discriminated and outputs a pulse like edge detection signal in response to the detection thereof.
claim 1
3. A duty cycle discriminating circuit as set forth in , further comprising a delay circuit which receives said edge detection signal and delays said edge detection signal for a predetermined time to output an initializing signal.
claim 2
4. A duty cycle discriminating circuit as set forth in , wherein said up/down counter is initialized by said initialization signal and the most significant bit (MSB) of said up/down counter is outputted as a sign bit.
claim 3
5. A duty cycle discriminating circuit as set forth in , wherein said addition circuit comprises an adder for adding said count value of said up/down counter and said addend data produced by said addend data generating circuit, and an addition result register for storing a result of addition of said adder, a sign bit of said addition result register being outputted as a discrimination result signal of said duty cycle discriminating circuit.
claim 1
6. A duty cycle discriminating circuit as set forth in , wherein, in said addend data generating circuit, said count value from said up counter is right shifted by a predetermined number of bit or bits and “0” is inserted to each of corresponding number of upper bit or bits to obtain said addend data.
claim 1
7. A duty cycle discriminating circuit as set forth in , wherein said count value from said up counter has 16 bits and is right shifted by 3 bits and wherein “0” is inserted to each of the upper 3 bits of the right shifted data to obtain 16 bits data as said addend data.
claim 6
8. A duty cycle discriminating circuit as set forth in , wherein said addend data generating circuit comprises a plurality of registers storing count values from said up counter after right shifting said count value by different number of bits respectively, and a first selector for selectively outputting data stored in said registers depending on a shift number designating signal.
claim 1
9. A duty cycle discriminating circuit as set forth in , wherein said addend data generating circuit further comprises a complementary circuit which receives said data outputted from said first selector and generates a complementary data of said data outputted from said first selector, and a second selector for selectively outputting said data outputted from said first selector or said complementary data depending on a positive-negative designating signal.
claim 8
10. A duty cycle discriminating circuit as set forth in , wherein said addend data generating circuit further comprises a third selector for selectively outputting said data outputted from said second selector or said count value of said up down counter depending on a bypass designating signal.
claim 9
11. A duty cycle discriminating circuit as set forth in , comprising, in place of said addend data generating circuit, a multiplier circuit which receives said count value of said up counter, said edge detection signal and a multiplication constant designating signal, and which multiplies said count value of said up counter and a constant inputted as said multiplication constant designating signal in synchronization with an input of said edge detection signal to generate said addend data.
claim 2
12. A duty cycle discriminating circuit as set forth in , further comprising a delay circuit which receives said edge detection signal and delays said edge detection signal for a predetermined time to output an initializing signal.
claim 11
13. A duty cycle discriminating circuit as set forth in , wherein said addition circuit comprises an adder for adding said count value of said up/down counter and said addend data produced by said addend data generating circuit, and an addition result register for storing a result of addition of said adder, a sign bit of said addition result register being outputted as a discrimination result signal of said duty cycle discriminating circuit.
claim 11
14. A duty cycle discriminating circuit as set forth in , wherein said addition circuit comprises an augend data register for storing said count value of said up/down counter as an augend data in response to a rising edge of said edge detection signal, an addend data register for storing said addend data in response to said rising edge of said edge detection signal, an adder for adding said data stored in said augend data register and said data stored in said addend data register, and an addition result register for storing a result of addition of said adder in response to a falling edge of said edge detection signal.
claim 2
15. A duty cycle discriminating circuit as set forth in , further comprising a delay circuit which receives said edge detection signal and delays said edge detection signal for a predetermined time to output an initializing signal.
claim 14
16. A duty cycle discriminating circuit as set forth in , wherein, in said addend data generating circuit, said count value from said up counter is right shifted by a predetermined number of bit or bits and “0” is inserted to each of corresponding number of upper bit or bits to obtain said addend data.
claim 14
17. A duty cycle discriminating circuit as set forth in , wherein said count value from said up counter has 16 bits and is right shifted by 3 bits and wherein “0” is inserted to each of the upper 3 bits of the right shifted data to obtain 16 bits data as said addend data.
claim 16
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000-104572 | 2000-04-06 | ||
JP2000104572A JP2001291296A (en) | 2000-04-06 | 2000-04-06 | Duty decision circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
US20010028259A1 true US20010028259A1 (en) | 2001-10-11 |
US6456134B2 US6456134B2 (en) | 2002-09-24 |
Family
ID=18618089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/822,419 Expired - Fee Related US6456134B2 (en) | 2000-04-06 | 2001-04-02 | Duty cycle discriminating circuit having variable threshold point |
Country Status (3)
Country | Link |
---|---|
US (1) | US6456134B2 (en) |
JP (1) | JP2001291296A (en) |
KR (1) | KR100374368B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102004055299A1 (en) * | 2004-11-16 | 2006-05-24 | Texas Instruments Deutschland Gmbh | Series interface circuit for discrete logic input connecting pin of electronic system, uses bit value sorting circuit to provide first logic value when counter state is above reset value |
CN112234958A (en) * | 2020-10-29 | 2021-01-15 | 杰华特微电子(杭州)有限公司 | Detection method and detection circuit for duty ratio of pulse signal |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4896312B2 (en) * | 2001-07-26 | 2012-03-14 | 株式会社フジクラ | Information transmission method and communication system |
KR20040095034A (en) * | 2003-05-06 | 2004-11-12 | 삼성전자주식회사 | Method of determining entry point, and the apparatus therefor |
US7681290B2 (en) * | 2006-10-20 | 2010-03-23 | The Boeing Company | Piezoelectric bimorph beam manufacturing method |
JP2009287977A (en) * | 2008-05-27 | 2009-12-10 | Toppoly Optoelectronics Corp | Light intensity detecting devices, displays having such devices, light intensity detecting method, program, and storage media |
JP5180169B2 (en) * | 2009-09-08 | 2013-04-10 | ルネサスエレクトロニクス株式会社 | Semiconductor integrated circuit |
TWI757054B (en) * | 2021-01-15 | 2022-03-01 | 瑞昱半導體股份有限公司 | Receiver and associated signal processing method |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3140432C2 (en) * | 1980-10-13 | 1985-10-10 | Hitachi, Ltd., Tokio/Tokyo | Speed control circuit |
JPH0827311B2 (en) * | 1986-10-30 | 1996-03-21 | ロ−ム株式会社 | Duty discriminating device |
JPS6484475A (en) | 1987-09-25 | 1989-03-29 | Nec Corp | Duty ratio discriminating device |
JPH0222567A (en) | 1988-07-11 | 1990-01-25 | Sharp Corp | Duty detecting device |
JPH02194722A (en) * | 1989-01-23 | 1990-08-01 | Fujitsu Ltd | Duty ratio detection circuit |
JPH03229164A (en) * | 1990-02-01 | 1991-10-11 | Nec Corp | Circuit for discriminating duty ratio of reproducing control signal |
JP3333248B2 (en) | 1992-11-10 | 2002-10-15 | 株式会社東芝 | Duty detection circuit |
EP0603851B1 (en) * | 1992-12-22 | 1998-08-26 | Kabushiki Kaisha Toshiba | Duty cycle discriminating circuit |
JPH0746100A (en) * | 1993-07-28 | 1995-02-14 | Matsushita Electric Works Ltd | Pulse duty detection circuit |
JP2600598B2 (en) | 1993-12-10 | 1997-04-16 | 日本電気株式会社 | Pulse width judgment circuit |
KR970017445A (en) * | 1995-09-22 | 1997-04-30 | 김광호 | Control Signal Duty Decision Circuit for VCR Tape |
-
2000
- 2000-04-06 JP JP2000104572A patent/JP2001291296A/en active Pending
-
2001
- 2001-03-31 KR KR10-2001-0017102A patent/KR100374368B1/en not_active IP Right Cessation
- 2001-04-02 US US09/822,419 patent/US6456134B2/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102004055299A1 (en) * | 2004-11-16 | 2006-05-24 | Texas Instruments Deutschland Gmbh | Series interface circuit for discrete logic input connecting pin of electronic system, uses bit value sorting circuit to provide first logic value when counter state is above reset value |
DE102004055299B4 (en) * | 2004-11-16 | 2009-08-27 | Texas Instruments Deutschland Gmbh | Electronic system with a master unit and a slave unit |
CN112234958A (en) * | 2020-10-29 | 2021-01-15 | 杰华特微电子(杭州)有限公司 | Detection method and detection circuit for duty ratio of pulse signal |
Also Published As
Publication number | Publication date |
---|---|
US6456134B2 (en) | 2002-09-24 |
KR20010095202A (en) | 2001-11-03 |
JP2001291296A (en) | 2001-10-19 |
KR100374368B1 (en) | 2003-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0886207B1 (en) | Longest coincidence data detection using associative memory units having interleaved data | |
US6456134B2 (en) | Duty cycle discriminating circuit having variable threshold point | |
US6690219B2 (en) | Digital wave generating apparatus and the method thereof | |
US20050165569A1 (en) | Pulse width measuring device with automatic range setting function | |
JP2007047160A (en) | Adjustable time accumulator | |
US5744992A (en) | Digital phase shifter | |
WO2004031789A1 (en) | Test device and test method | |
US5047967A (en) | Digital front end for time measurement and generation of electrical signals | |
JPH0831154A (en) | Magnetic disk device | |
KR100270891B1 (en) | Pulse signal generation circuit and pulse signal generation method | |
US7102976B2 (en) | Apparatus and method for generating write pulse for optical storage medium using ring oscillator | |
US5444403A (en) | Duty discriminating circuit | |
US4543620A (en) | Code generating apparatus | |
JP2531458B2 (en) | Highway frequency automatic determination method and device | |
JP2005101771A5 (en) | ||
US6115437A (en) | Synchronizing circuit | |
JP2001027656A (en) | Duty-discriminating device | |
JP2667702B2 (en) | Pointer reset method | |
KR0127212Y1 (en) | Memory address decoding circuit | |
JPH1031044A (en) | Pulse width measuring circuit | |
JP2792120B2 (en) | Digital phase control circuit | |
JPH0727804A (en) | Pulse width measurement circuit | |
JP2523551B2 (en) | Magnetic tape signal duty discrimination device | |
JP2956920B2 (en) | Mark rate 1/2 pattern regenerator | |
JPS59155884A (en) | Signal generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
AS | Assignment |
Owner name: NEC ELECTRONICS CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:NEC CORPORATION;REEL/FRAME:013774/0295 Effective date: 20021101 |
|
REMI | Maintenance fee reminder mailed | ||
LAPS | Lapse for failure to pay maintenance fees | ||
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20060924 |