A circuit for providing a pulsed output signal from three binary input signals

Abstract: This invention provides a circuit for providing as an output voltage signal (S2) the differential of the voltage of an input signal (S1) on an input terminal, wherein the circuit includes an input capacitor (C1) for converting the input signal into a current proportional to the rate of change in the input signal, and the input signal includes an unwanted temporal portion, characterised by a circuit node (16) connected to the opposite side of said input capacitor from the input terminal and through at least one resistor (R2, R3) to the feedback resistor (R4) of an operational amplifier (U1-A); means (U1-B) for storing the voltage V H at this node on a holding capacitor (C5); means (200) responsive to said unwanted temporal portion of said signal for generating a reset signal; and means responsive to said reset signal and to the voltage on said holding capacitor for maintaining the voltage at said node at the voltage V H during said unwanted temporal portion of said signal.

Description: This invention relates to a circuit for providing a pulsed output signal from three binary input signals. The present invention is particularly useful as part of a servo system for a disc drive. This specification assumes some familiarity with the construction of magnetic disk drive data storage systems and means for generating and using servo information from coded information on the disk media but its teaching can be applied to analogous art as well. In EP-A-0 165 553, there is disclosed a sample and hold circuit for deglitching the output of a digital-to-analog converter, in which the circuit has two signal paths. One signal path couples the input signal to an output amplifier to track the input signal during a sample phase. The other signal path couples the input signal through an amplifier to a storage capacitor during the sample phase. A timing circuit operates a switch at the end of the sample phase to begin a hold phase during which the output amplifier is decoupled from the input signal and coupled to the storage capacitor, whilst the storage capacitor is decoupled from the buffer amplifier. EP-A-0 142 161 discloses an apparatus processing EKG signals. A pace pulse in the input signal is prevented from reaching the output by providing a substitute pulse in its place. According to the present invention, there is provided a circuit for providing a pulsed output signal (RESET SIGNAL) from three binary input signals (BIT 2, BIT 0, BIT 1), the circuit comprising: means for inverting each of said binary input signals (BIT 2, BIT 0, BIT 1); a first NOR gate (N1) having as its inputs the inverse of a first (BIT 2) of said binary signals and a third (BIT 1) of said binary signals; a second NOR gate (N2) having as its inputs the first (BIT 2) of said binary signals and the inverse of a second (BIT 0) of said binary signals; a third NOR gate (N3) having as its inputs the second (BIT 0) of said binary input signals and the inverse of the third (BIT 1) of said binary signals; first, second and third flip flops (F4, F5, F6) which receive as their respective clock inputs the output of the first, second and third NOR gates (N1, N2, N3), the D inputs of each of the flip-flops being tied to a "high" voltage level; a first NAND gate (NA1) having as its inputs the respective Q outputs of each of said flip-flops (F4, F5, F6); means for inverting the output of said NAND gate (NA1); the fourth flip-flop (F7) having as its CLEAR input the inverse of the output of said first NAND gate (NA1) and as its clock input a first clock pulse (CLOCK 1), and providing at its Q output the pulsed output signal (RESET SIGNAL); a fourth NOR gate (N4) having as its inputs the Q output of said fourth flip-flop (F7) and the inverse of a delayed second clock signal (CLOCK 2); a fifth flip-flop (F8) having as its clock input the output of said fourth NOR gate, as its CLEAR input the inverse of the output of said first NAND gate (NA1) and as its D input the "high" voltage level, and having its Q output applied to the D input of said fourth flip-flop (F7); and a second NAND gate (NA2) having as its inputs said delayed second clock signal (CLOCK 2), the Q output of said fifth flip-flop (F8), the Q output of said fourth flip-flop (F7) and the output of said first NAND gate (NA1), and having its output applied to the CLEAR input of each of the first, second and third flip-flops (F4, F5, F6). Further, optional, features of the invention are defined in appended claims 2 to 8. The circuit may provide a pulsed output voltage signal which is the differential of the voltage of an input signal and may have particular application to deriving such signals for driving servo-mechanisms where the unprocessed signals contain undesirable portions. The circuit may be particularly useful for signals in which a desired portion of the signal contains a leg of relatively mild scope and a rapid leg of relatively large opposite scope and has particular application to deriving usful velocity information from "tri-phase servo patterns". Preferably, the means for maintaining the voltage includes active circuit means coupled between the holding capacitor and the node, the active circuit means having a high impedance input connected to the holding capacitor, whereby the node can be maintained at the voltage V H without discharging the holding capacitor. Conveniently, the active circuit means is an operational amplifier. An inverting amplifier may be coupled between the output of the active circuit means and the circuit node and to another input of the active circuit means. Advantageously, switch means is connected to the active circuit means and arranged so that, in operation, an output of the active circuit means is switched from the holding capacitor to the circuit node in response to the reset signal. The circuit may have switch means having an input connected to an output of the active means, a normally closed first output connected to the holding capacitor and a normally open second output connected through an inverting amplifier both to another input of the active circuit means and to the node. The invention is illustrated, merely by way of example, in the accompanying drawings, in which:- Figure 1 is a simplified diagram of one embodiment of a circuit for removing unwanted temporal portions of a voltage varying signal; Figure 1A is a detailed diagram of the circuit of Figure 1; Figure 2 is a graph with a set of voltage signals with respect to time to illustrate the operation of the circuit of Figure 1; Figure 3 is a diagram of a typical practical differentiator; Figure 4 is a graph of a non-ideal input signal to the circuit of Figure 1; Figure 5 is a graph of a possible ideal output signal from the circuit of Figure 1; Figure 6 is a diagram of a circuit for deriving a reset signal from the tri-phase servo pattern for the circuit of Figure 1; Figure 7 is a graph of three signals, pairs of which are related to the circuit of Figure 6; Figure 8 is a graph of an output signal of the circuit of Figure 6; Figure 9 is a schematic diagram of a circuit for deriving a reset signal for the circuit of Figure 1; and Figure 10 is a timing diagram for use with Figure 9. Figure 1 is a simplified diagram of a circuit 10 for removing unwanted temporal portions of a voltage varying signal. The term "line" used herein is to denote electrical connection via wire or other means. An input signal is provided to the circuit 10 at a point S1 charging a capacitor C1 and thence through resistors R1, R2, R3 to a negative input of an operational amplifier U1-A. The line between the resistor R3 and the negative input to the operational amplifier U1-A is also linked to a resistor R4 and a capacitor C3 which are connected in parallel between a point 21 (on the line between the resistor R3 and the negative input) and a point 22 on a line 14. Thus the combination of the operational amplifier U1-A, the resistor R4 and the capacitor C3 constitutes a differentiator as shown in Figure 3. The line 14 is the output of the operational amplifier U1-A provided as output from the circuit 10 at a point S2. A positive input line 13 to the operational amplifier U1-A provides a reference voltage and is connected across a capacitor C2 to a point 12 on a signal input line 15 between resistors R2 and R3. Between resistors R1, R2 on the signal input line, point 16 connects a line 17 to the positive input of an operational amplifier U1-B. The line 17 is also connected to a line 18. The negative input of the operational amplifier U1-B is connected to ground (GND) through a resistor R5 and a capacitor C5 on a line 23. The output of the operational amplifier U1-B is selectively connected between: (a) a point on the line 23 between the negative input to the operational amplifier U1-B and the resistor R5, and (b) an approximate minus one or inverting amplifier U2. The selection is governed by a reset signal provided on a line 19 to a mechanical or electronic switch SW. On the occurrence of a reset signal on the line 19, the switch SW directs the output of the operational amplifier U1-B to the inverting amplifier U2. The output of the inverting amplifier U2 is to the line 18 connected by the line 17 to the point or circuit node 16. After the reset signal indicates that the reset is no longer occurring, the switch is set to provide the output of the operational amplifier U1-B to the line 23. The input signal charges the capacitor C1 and provides a voltage level V H at a point 16 which represents the charging current through the capacitor C1. Referring briefly to Figure 3, it will be noted that the resistors R2, R3 and the capacitor C2 are additions to this circuit which are not found in a typical practical differentiator of Figure 3. Note that the operational amplifier U1-A connected as shown will tend to stabilise itself at a point where the voltage on the negative input is brought up to a voltage level V REF on the positive input. Therefore, the output voltage of the operational amplifier U1-A will tend to be proportional to the voltage level V H . It should be recognised that because the changes in the voltage level V H may be small (about 0.1 millivolt) any ambient current leakage will affect the circuit performance. This fact must be considered in component choice. The voltage level V H on the line 17 is provided as a positive input to the operational amplifier U1-B. During normal operation of the circuit 10 when the wanted portion of the signal is provided as the input signal to the point S1 and no reset signal is present on the line 19, the output of the operational amplifier U1-B is provided to the line 23 as input to the negative input of the operational amplifier U1-B and through the resistor R5 to the capacitor C5 to ground, or as in a preferred embodiment, may employ a 5 volt reference in place of ground. The resistor R5 can provide filtering to the voltage provided to the capacitor C5 if desired. On the occurrence of a reset signal, the switch SW transfers the output of the operational amplifier U1-B to the amplifier U2. Thus the voltage level on the capacitor C5 provides an error voltage to the amplifier U2 which provides a voltage level equal to the voltage level on the capacitor C5 on the line 18 to the line 17 and to the point 16, thus sustaining the voltage level to the negative input of the operational amplifier U1-A during the reset interval. A more detailed schematic diagram of the circuit of Figure 1 is provided in Figure 1A in which the resistance and capacitance values are provided and reference made to standard industrial use numbers for designating particular integrated circuit and other component parts. Referring now to Figure 1A the circuit is indicated by reference numeral 10A. Resistance, capacitance and voltage values may be varied in accordance with known principles. Certain characteristics of some of the component parts shown, however, are important to prevent problems with ambient voltage affecting the performance of the differentiation characteristics of the operational amplifier U1-A. For instance, the amplifier U2 comprises a low leakage, high output impedance inverter amplifier when not operating, so transistors Q3, Q4, for instance, must be low leakage transistors. The numbers 2N3906 and 2N3904 designate transistors of this type. Transistors Q1 and Q2 need not be low leakage transistors. Likewise, the operational amplifier U1-B, designated by the industry standard number LF412A (currently available through National Semiconductor Corporation) is a high speed operational amplifier with high input impedance (100 pico amp input), which will have no leakage current to affect the operation of the operational amplifier U1-A, which most likely will be on the same circuit board. Figure 4 illustrates a small segment of a possible non-ideal input signal 40. This signal will correspond to some portion of a signal WF₁ whose waveform is shown in Figure 2. Because this signal is originally generated by digital circuits, it takes on a stairstep form as shown. Due probably primarily to irregularities on the date disk itself, transients or spikes t₁, t₂, t₃ will often be found in the non-ideal input signal. These transients, as well as the stairstep configuration of the input signal 40, will be smoothed and filtered out by the circuit of Figure 1. The input signal 40 is indicated with reference to the voltage level V REF in Figure 4. It must be noted that the reference voltage levels need not be the same DC potential for any of the three points to which they are introduced into the circuit but the potential values must be constant. A reference voltage level of 5 volts for the positive input of the operational amplifier was found to be best in practice to achieve the greatest dynamic range for the power supplies used. Figure 5 describes by a curve 41 a possible ideal output signal. Segment 42 corresponds to a negative output signal portion indicated by signal WF₃ in Figure 2. There are five waveforms illustrated in Figure 2, namely: WF₁, an input signal with a negative going slope with a positive slope transition; WF₂, a reset signal consisting of a series of pulses indicating the time period for the slope transistion; WF₃, a negative output signal provided at the point S2 for the input signal WF₁; WF₄, an input signal of positive slope and its corresponding output for a positive output WF₅; and WF₅, a positive output signal provided at the point for the signal WF₄. All these waveform signals occur over the same length of time and the voltage value is plotted against the voltage reference level V REF . Signals WF₁, WF₂, WF₃ may occur concurrently, and signals WF₄, WF₅, WF₂ may also occur concurrently, using a circuit according to the present invention. Referring now to Figure 6 there is shown a circuit diagram of a circuit 100 through which the reset signal may be derived from tri-phase signals. Three triangle wave signals A, B, C are provided on lines 31, 32, 33, respectively. The triangle waves are derived from tri-phase spaced signals located in a formatted data disk. The circuit 100 of Figure 6 provides an output signal from line 36 which forms the signal input at the point S1 of the circuit 10 of Figures 1 and 1A. A detailed representation of this output signal is found in Figure 8 and of the signals A, B, C is found at the top of Figure 7. Note that in Figure 7, three "bit" signals 0, 1 and 2 (square wave signals or digital "pulses") are shown in their radial relation to the signals A, B, C which occur at the same time and radial position. These bit signals 0, 1 and 2 can be found on output lines B₀, B₁, B₂ of the circuit 100 respectively. The negative going slope of each one of these three signals produces a reset signal of a finite duration. This is preferably accomplished with a micro-processor decode circuit of the three bit signals or, if only generating reset signals during "head-in" (i.e., the head moving towards the centre of the disk) is acceptable, two EXCLUSIVE-OR gates such as gates 52, 53 arranged and connected as shown can be used. A preferred decode circuit is explained with reference to Figure 9, which generates a reset signal during rapid transition periods in the servo position error signal, but other constructions to accomplish this are possible. The bit signals used to generate the reset signal are produced by the circuit 100 which acts in the following manner. The three phase signals A, B, C are compared by three comparators U8₁, U8₂, U8₃. Where the signal A on the line 31 is of higher voltage than the signal B on the line 32, the output of a non-inverting buffer circuit U2₁ is "high" and the output of an inverting circuit U1₁ is "low". Otherwise, the reverse is the case. The two other comparators U8₂, U8₃ and their associated inverting circuits U1₂, U1₃ and non-inverting buffer circuits U2₂, U2₃ function in the same way for their inputs. The signals A, B, C are input into the circuit 100 on lines 31, 32 and 33 respectively. In Figure 7 typical signals A, B and C are shown with respect to a reference voltage level V REF . Each of the signals A, B, C is fed into the positive input of a respective one of the comparators U8₁, U8₂, U8₃. One of the other of the three signals A, B, C is input into the negative input of each of the comparators. "LM339" is the industry standard numerical designation for comparators used in a preferred embodiment and they are currently available from National Semiconductor Corporation. Each of the signals A, B, C is also input to two of six analog switches U14 (1-6) to be passed through to inverting and non-inverting differential amplifier input lines 34, 35, respectively, to create the servo position error signal SPE on line 36 as shown in Figures 7 and 8. The signals A, B and C input to the comparators U8₁, U8₂, U8₃ in turn drive the inverting circuits U1₁, U1₂, U1₃, and also drive the non-inverting buffer circuits U2₁, U2₂, U2₃. The outputs of these circuits provide the proper switching of the analog switches U14 (1-6) . Resistance/capacitor pairs 101, 102, 103 provide hysteresis to the respective comparators U8₁, U8₂, U8₃ to prevent multiple switching during noise transients which may appear in the signals A, B, C. A differential amplifier U19 provides a signal on the line 36 as shown in Figure 8. The alpanumeric indicators attached to the signal shown in Figure 8 (for "head-in" sequence) correspond to the decimal or SPE indicators shown in Figure 7. The bit signals of the comparators produced on the output lines B1, B2, BO, are shown in Figures 7 as 0, 1 and 2. Therefore, looking at the signals in a "head-in" direction in Figure 7, because the transition or unwanted signal portion occurs between areas designated 2 and 6, areas designated 1 and 3 and areas designated 4 and 5 (see Figure 8 and bottom of Figure 7) and because a downward going pulse occurs at each one of these area interfaces and because only one of the three bit signals is "high" at a downward going signal area, all that is necessary is to fire a reset signal at a downward going pulse. In a "head-out" direction each upward going pulse will signal that a reset signal is necessary; i.e., that the slope transition occurs at that interface. A microprocessor could receive these digital bit signals as input and based on a program generate a reset pulse at the proper upward or onward going transitions of each of the bit signals. It is simplest and most efficient to think of this in terms of two EXCLUSIVE-OR gates 52, 53 (Figure 6 ) which will provide an output pulse of relatively short duration in conjunction with a digital one shot for each of the indicated transistors. The decode of the bit signals 0, 1, 2 is accomplished with the equivalent of three AND gates with an output each to one of three flip-flops whose outputs are OR'd together. The output of this OR would be the reset signal for both "head-in" and "head-out" orientations. In practice the reset signal generation is more complicated and is explained with reference to Figure 9, where a circuit 200 to accomplish this is shown. However, it should be noted that other decode schemes are possible and that reset signals may come from signals other than the tri-phase servo signals of this embodiment. In Figure 9, a clock input, which is a period length smaller than the desired duration of the reset signal, is provided to the circuit 200 at an input 201. The clock pulse should be a short portion of the clock period. The clock pulse (clock 1 in Figure 10) is provided as the clock input to a flip-flop F7. A second clock (clock 2 in Figure 10) provides a delayed clock to a NAND gate NA2, and its inverse is provided to a NOR gate N4. The Q output of the flip-flop F7 when "low" provides the reset signal used in the circuits 10 and 10A to control the switch SW. The circuit 200 receives the three bit signals from the circuit 100 of Figure 6 (shown in time relation to each other in Figure 7) as inputs. They are provided, inverted and non-inverted as inputs to NOR gates N1, N2, N3 respectively. The outputs of these NOR gates are input to respective flip-flops F4, F5, F6. The Q output of these flip-flops is input to NAND gate NA1 whose output is provided as an input to the NAND gate NA2. The output of the NAND gate NA1 clears the flip-flop F7. The NAND gate NA2 also receives the Q output of the flip-flops F7, F8 as inputs. The output of the NAND gate NA2 provides a clear signal on line 202 to the flip-flops F4, F5, F6. The D inputs of the flip-flops F4, F5, F6, F8 are all tied to "high" signal or voltage level as indicated by arrows.

Claims: A circuit for providing a pulsed output signal (RESET SIGNAL) from three binary input signals (BIT 2, BIT 0, BIT 1), the circuit comprising: means for inverting each of said binary input signals (BIT 2, BIT 0, BIT 1); a first NOR gate (NI) having as its inputs the inverse of a first (BIT 2) of said binary signals and a third (BIT 1) of said binary signals; a second NOR gate (N2) having as its inputs the first (BIT 2) of said binary signals and the inverse of a second (BIT 0) of said binary signals; a third NOR gate (N3) having as its inputs the second (BIT 0) of said binary input signals and the inverse of the third (BIT 1) of said binary signals; first, second and third flip flops (F4, F5, F6) which receive as their respective clock inputs the output of the first, second and third NOR gates (N1, N2, N3), the D inputs of each of the flip-flops being tied to a "high" voltage level; a first NAND gate (NA1) having as its inputs the respective Q outputs of each of said flip-flops (F4, F5, F6); means for inverting the output of said NAND gate (NA1); a fourth flip-flop (F7) having as its CLEAR input the inverse of the output of said first NAND gate (NA1) and as its clock input a first clock pulse (CLOCK 1), and providing at its Q output the pulsed output signal (RESET SIGNAL); a fourth NOR gate (N4) having as its inputs the Q output of said fourth flip-flop (F7) and the inverse of a delayed second clock signal (CLOCK 2); a fifth flip-flop (F8) having as its clock input the output of said fourth NOR gate, as its CLEAR input the inverse of the output of said first NAND gate (NA1) and as its D input the "high" voltage level, and having its Q output applied to the D input of said fourth flip-flop (F7); and a second NAND gate (NA2) having as its inputs said delayed second clock signal (CLOCK 2), the Q output of said fifth flip-flop (F8), the Q output of said fourth flip-flop (F7) and the output of said first NAND gate (NA1), and having its output applied to the CLEAR input of each of the first, second and third flip-flops (F4, F5, F6). A circuit as claimed in claim 1 for use in a servo system of a disc drive, including: comparator means (U8₁-U8₃) having as its input three tri-phase spaced signals (A,B,C) derived from tri-phase servo patterns on a magnetic disc and producing a first output which is "high" if a first of said tri-phase spaced signals (A) is greater than a second (B), a second output which is "high" if the second of said tri-phase spaced signals (B) is greater than a third (C), and a third output which is "high" if the third of said tri-phase spaced signals (C) is greater than the first (A), the outputs otherwise being "low", the first, second and third outputs of the comparator means being applied to said circuit as the second (BIT O), third (BIT 1) and first (BIT 2) of said binary input signals respectively. A circuit as claimed in claim 2 including means for generating a servo position error signal (SPE, S1) having a sawtooth waveform (WF₁, WF₄) from said tri-phase spaced signals (A,B,C), which comprises inverter means (U1₁-U1₃) for providing an inverted form of each of the outputs of the comparator means; first analogue switch means (U14₁) having as its inputs the second of said tri-phase spaced signals (B), the inverse of the first output of the comparator means and the third output of the comparator means; second analogue switch means (U14₂) having as its inputs the third of said tri-phase spaced signals (C), the inverse of the first output of the comparator means and the third output of the comparator means; third analogue switch means (U14₃) having as its inputs the first of said tri-phase spaced signals (A), the second output of the comparator means and the inverse of the third output of the comparator means; fourth analogue switch means (U14₄) having as its inputs the second output of said comparator means, the inverse of the third output of said comparator means and the second of said tri-phase spaced signals (B); fifth analogue switch means (U14₅) having as its inputs the first of said tri-phase spaced signals (A), the first output of said comparator means and the inverse of the second output of said comparator means; sixth analogue switch means (U14₆) having as its inputs the first output of the comparator means, the inverse of the second output of the comparator means and the third of said tri-phase spaced signals (C); differential amplifier means (U19) which receives as its inverting input the outputs of the first, third and sixth analogue switch means and which receives as its non-inverting input the outputs of the second, fourth and fifth of said analogue switch means, the output of the differential amplifier means providing the servo position error signal (SPE, S1). A circuit as claimed in claim 3 in combination with a second circuit for providing as an output voltage signal (S2), for driving a servo mechanism of a disc drive, the differential of the servo position error signal (SPE, S1), which error signal includes unwanted temporal portions, the second circuit comprising: an input capacitor (C1), one side of which receives said servo position error signal (SPE, S1) and the other side of which is connected to a circuit node (16) which is connected through at least one resistor (R2,R3) to an input terminal of an operational amplifier (U1-A) and to one end of a feedback resistor (R4) whose other end is connected to the output terminal of the operational amplifier (U1-A) and to an output line (14) for the output signal (S2); means (U1-B) for storing the voltage VH at the circuit node (16) on a holding capacitor (C5); and a switch (SW) responsive to said pulsed output signal for applying the voltage V H at the holding capacitor (C5) to the node (16) for the duration of the pulses, the pulses coinciding with the part of the sawtooth waveform (WF₁, WF₄) of the servo position error signal (SPE, S1) having the highest rate of change, which parts of the waveform are said unwanted temporal portions. A circuit as claimed in claim 4, characterised by comprising active circuit means (U1-B) coupled between the holding capacitor (C5) and the node (16), the active circuit means (U1-B) having a high impedance input connected to the holding capacitor (C5), whereby the node (16) can be maintained at the voltage V H without discharging the holding capacitor. A circuit as claimed in claim 5, characterised in that the active circuit means (U1-B) is an operational amplifier. A circuit as claimed in claim 5 or 6, characterised by an inverting amplifier (U2) coupled between the output of the active circuit means (U1-B) and the circuit node (16) and to another input of the active circuit means (U1-B). A circuit as claimed in claim 5, characterised in that the said means for storing the voltage V H at the circuit node (16) on the holding capacitor (C5) comprises said active circuit means (U1-B).

Inventors: JANZ DONALD WALTER, JANZ, DONALD WALTER
Applicants: SEAGATE TECHNOLOGY, SEAGATE TECHNOLOGY INTERNATIONAL
Application year: 1987
Main classification: G11C27
IPC codes: H03F1, G11C27