Phase correcting drive circuit for a magnetic bubble field-access memory
FIELD OF THE INVENTION 
     This invention relates to magnetic bubble memories and more particularly to drive circuitry for such memories. 
     BACKGROUND OF THE INVENTION 
     A magnetic bubble memory operative in the &#34;field access&#34; mode is characterized by a pattern of magnetically soft elements, such as permalloy, formed in a plane and coupled to the bubble material. These elements are responsive to a magnetic drive field reorienting, typically by rotation, in the plane of the bubble material. The magnetic drive field is generated by a pair of tuned circuits driven in quadrature from an external clock as is well known. Any drift in the inductance or capacitance of the tuned circuits causes the resonant frequencies of the circuits to vary resulting in changes in current and thus in the phases of the drive field components. These changes, in turn, cause a reduction in the operating margins of the turn, cause a reduction in the operating margins of the memory. 
     In a practical memory arrangement, each tuned circuit is connected to ground via a transistor arrangement triggered by refresh pulses provided at a clock frequency. When the frequency of the tuned circuits varies, the phase of each circuit varies even more with respect to that of the clock signal due to the Q(&gt;10) of the circuit. A problem thus exists with respect to maintaining the phase relationship between the external clock signal and the currents of the tuned circuits driven thereby when the resonant frequencies of the tuned circuits are different from the clock frequency. 
     BRIEF DESCRIPTION OF THE INVENTION 
     The phase relationship is maintained herein via a feedback loop adapted to apply a sinusoidal voltage to one input of a comparator to the other input of which a sinusoidal or triangular waveform is applied by an external clock. The comparator switches from one level to another at the time the two waveforms cross. The feedback loop is coupled to the tuned circuit and produces a sinusoidal voltage signal which is a function of the instantaneous current in the tuned circuit. When the phase of the current in the tuned circuit changes, the voltage signal applied to the comparator via the feedback loop provides a compensating change--i.e., the waveforms cross at different points--to adjust the phase of the (refresh) pulses generated by the comparator (via a one-shot pulse circuit). The output of the arrangement thus is a sequence of (square wave) pulses at the clock frequency adjusted in phase as a function of the phase of the current in the tuned circuit, the feedback loop being employed to adjust the phase of a (digital) pulse sequence with respect to an external clock signal. Two such comparator arrangements driven by clock (sine or triangular) waveforms 90°  apart provide (refresh) pulse sequences to two tuned circuits each coupled to a feedback loop to so adjust the phases of the corresponding pulse sequences. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIGS. 1 and 3 are circuit diagrams of magnetic bubble drive circuits including feedback phase-adjusting loops in accordance with this invention; 
     FIGS. 2 and 4 are pulse diagrams of the circuits of FIGs. 1 and 3 during operation, and 
     FIG. 5 is a circuit diagram of a portion of an input circuit for the circuit of FIG. 2. 
    
    
     DETAILED DESCRIPTION 
     FIG. 1 shows a simple circuit diagram embodying the principles of this invention. The circuit includes a tuned circuit 10 connected to ground through the collector-emitter circuit of a transistor 11. An output of a clock circuit 12 is connected to the base of transistor 11 through a comparator 14 and a one-shot pulse circuit 15. 
     The circuit also includes feedback loop 17. The loop comprises (variable) resistor 18 and is connected to ground and to an input to comparator 14 by means of conductor 19. The loop also is inductively coupled, by inductor (or coil) 20, to tuned circuit 10. A voltage signal developed across resistor 18 is a function of the instantaneous current induced in coil 20 by changes in current in circuit 10. 
     The overall operation of the circuit is as follows: clock 12 applies a sine or triangular wave to an input of (high speed) comparator 14. The output signal of the comparator drives (monostable vibrator or one-shot pulse) circuit 15 which triggers illustratively on the positive edge of the signal. The output of circuit 15 drives transistor (class C amplifier) 11 which, in turn, drives the field coil 25 of tuned circuit 10 to a fixed voltage amplitude. Current transformer (inductor) 20 measures the coil (25) current and produces a voltage signal which is proportional to the instantaneous current in the coil. Since the clock frequency and the voltage amplitude of the coil are fixed, the coil current is determined by its inductance. Although the coil inductance varies with thermal expansion and aging, its effect on current is negligible. The coil current, therefore, is (assumed to be) constant making the output voltage amplitude of coil 20 constant. 
     But the phase of the coil current typically varies with respect to the reference clock due to a difference between the clock frequency and the tuned circuit resonant frequency. The phase shift is caused by aging and temperature changes in circuit 10 also and is non-negligible because it is a high order effect depending on the Q of the tuned circuit. This phase information is contained in the current of coil 20 and is fed back to the comparator as a trigger signal for comparator 14. The trigger signal continuously modifies the timing of the comparator output causing it to occur earlier or later with respect to the (sine or triangular) reference signal being applied by the clock. The result is to change the timing of the refresh pulse, supplied by the comparator (and one-shot pulse circuit) in a manner to maintain the current in coil 20 (and 25) in phase with the clock. 
     The phase correction may be understood more clearly from a discussion of FIG. 2. FIG. 2 is a pulse diagram of the operation of the circuit of FIG. 1. Clock 12 applies a triangular waveform, designated WF1 in FIG. 2, to an input of comparator 14. Feedback loop 17 applies a second waveform WF2 (typically of lower amplitude) to the second input of the comparator, waveform WF2 being in phase with the current in coil 20 (or 25). The comparator triggers where the waveforms cross, producing an outpt signal WF3. The crossings are indicated by points C. If the current in coil 20 is late in phase as indicated by feedback waveform WF2L, the crossings of waveforms WF1 and WF2L are early as indicated by points CL. On the other hand, if the current in coil 20 is early in phase, as indicated by waveform WF2E, the crossings are late as indicated at points CE. Thus, the output of the comparator is adjusted with respect to the original reference points C as indicated by output signals WF4L and WF4E. 
     If points C are taken to correspond to the ideal case representing the zero crossings which occur when the current in the tuned circuit is zero (a voltage maximum), comparator 14 clearly applies a refresh pulse to increase the voltage to the maximum when the current is zero. If on the other hand, the current (I) in the tuned circuit is late, the refresh pulses occur early with respect to points C (i.e., I ≠ 0). The voltage signal in coil 25 is represented by waveforms WF5 and WF6 for a crossing at points C and for an early crossing (points CL). 
     Coil 25 is one coil, for example, the outer coil in an arrangement of two orthogonally disposed coils which encompass an operating field-access, magnetic bubble memory. A second coil (an inner coil) is also necessary to provide the requisite rotating field for such a memory. The inner coil is designated 40 in FIG. 1 and is in a tuned circuit 41 driven exactly as is tuned circuit 10 and coupled to an associated feedback loop 17&#39;. The driver for the inner coil includes a comparator 14&#39; to an input of which clock 12 applies a signal 90° out of phase with respect to the signal applied to comparator 14. The output of comparator 14&#39; is applied to one-shot pulse circuit 15&#39;. 
     FIG. 3 shows a practical driver circuit for the outer field coil for a magnetic bubble, field-access, rotating field generator. The circuit is adapted for relatively high power uses but incorporates the essential features of the circuit of FIG. 1. In the circuit of FIG. 3, a comparator 54 applies an output pulse to two one-shot pulse circuits 55 and 55&#39; in response to an input signal from clock circuit 56. The timing for the comparator output pulse is established by the voltage developed by feedback loop 57 as in the circuit of FIG. 1. Circuits 55 and 55&#39; are adapted to respond to the positive-going and the negative-going edge of each output pulse of comparator 54, respectively. The outputs of circuits 55 and 55&#39; occur every half cycle of the drive field when ideally the current in the tuned circuit is zero in a positive and in a negative direction. The width of the output is adjusted to supply energy lost by the tuned circuit during each cycle by the variable resistors indicated at each of circuits 55 and 55&#39; in FIG. 3. 
     Circuits 55 and 55&#39;, more specifically, apply pulses to the bases of transistors 61 and 61&#39;, respectively. In response, current flows from, typically, a +12 volt supply first through the collector-emitter path of transistor 61, then through the collector-emitter path of transistor 61&#39; thus providing current flow through the primary winding of a transformer 63. 
     Transformer 63 has two secondary windings each connected between the base and emitter electrodes of a transistor. Tuned circuit 65 is connected between ground and the collectors of the two transistors, designated 66 and 67 in the figure. The emitters of the transistors are connected typically to - and +30 volt supplies, respectively. Resistors 68 and 69 are connected between the base and emitters of the transistors in order to cut off transistors 66 and 67 except when they are pulsed by the secondary windings of transformer 63. 
     Each output pulse from comparator 54 results in, first, transistor 66 and then transistor 67 being activated causing current to flow in coil 70 of tuned circuit 65. Feedback loop 57 monitors the current in the coil producing a voltage which controls the timing of the comparator 54 output. 
     Once again, the circuit of FIG. 3 is one-half of the drive arrangement for the magnetic field which moves magnetic bubbles in a field-access arrangement. Each circuit drives a coil and the two coils are placed orthogonally with respect to one another as disclosed, for example, in U.S. Pat. No. 3,879,585 of A. H. Bobeck, R. F. Fischer, J. E. Geusic and T. J. Nelson, issued Apr. 22, 1975. 
     FIG. 3 also shows a transistor 71, the emitter-collector circuit of which is connected between typically a - 30 volt supply and coil 70. The base of the transistor is connected to a ramp generator 72 which applies to it a ramp start and stop signal of the type shown as the waveform of FIG. 4 and disclosed originally in A. H. Bobeck, D. E. Kish and R. Kowalchuk, application Ser. No. 520,611, filed Nov. 4, 1974 and now U.S. Pat. No. 3,934,235. The stop and start pulses are provided in response to a signal from logic control circuit 73. Control circuit 73 also is operative to gate comparator 54 to an on state between start and stop pulses. The control circuit is responsive to an external circuit which may be activated in response to the depression of a repertory button as is the case in the above-mentioned U.S. Pat. No. 3,879,585 . 
     Clock 56 of FIG. 3 is assumed to supply a triangular (or sinusoidal) waveform. Typically, a magnetic bubble, field-access memory includes logic circuitry where a square wave is available at 18 volts. Accordingly, in a practical arrangement, an amplifier and integrator circuitry is included to accomplish the necessary conversion of readily available signals into the (triangular) form called for herein. 
     FIG. 5 shows one circuit arrangement for accomplishing this conversion. A 100 kHz square wave is available in the typical bubble memory at a point designated 80 in the figure. the square wave is applied through a resistance 81 and a capacitor 82 to the base of transistor 83. The base and emitters of transistor 83 are connected, typically, to a -6 volt supply, the former via a diode 84 employed to avoid collecting a charge on capacitor 82. The collector of transistor 83 is connected to the bases of transistors 86 and 87. The collector of transistor 87 is also connected to the -6 volt supply, and the emitters of the transistors 86 and 87 are connected via resistance 89 and capacitor 90 to ground. Also the base of transistors 86 and 87 are connected via current limited diode 91 to the collector of transistor 86 (typically at +12 volts). 
     The transistors 83, 86, and 87 operate as an amplifier producing a square wave output at 18 volts Resistance 89 and capacitor 90 integrate the square wave into a triangular waveform described in connection with FIGS. 1 and 2. A second resistance 92 and capacitor 93 define a second integrator chosen with values of resistance and capacitance to exhibit a long time constant and whose output is a steady voltage equal to the average value of the triangular waveform. Thus the second integrator biases the current transformer at the same average voltage as the triangular waveform being applied to the comparator of FIG. 3 at A. 
     In one specific embodiment of this invention a bubble memory operating at 100 kilohertz included a pair of rotating field drive coils where the outer coil had an inductance of 40 microhenries and a resistance of 1.4 ohms. The inner coil had an inductance of 30 microhenries and a resistance of 1.2 ohms. The outer and inner coils were characterized by losses of 1.4 and 1.2 watts, respectively. The clock signal was 1 volt and the feedback signal was adjusted to just short of 1 volt. The comparator provided a 5-volt, 5 microsecond pulse and the one-shot pulse circuit output pulse width was 200 nanoseconds. 
     What has been described is considered merely illustrative of the principles of this invention. Therefore, it should be understood that various modifications of this invention can be devised by those skilled in the art in accordance with those principles within the spirit and scope of the invention as encompassed by the following claims.