Multi-channel real-time phase modulation for EMI reduction in an ultrasound device

11806554 · 2023-11-07

Assignee

Inventors

Cpc classification

International classification

Abstract

Methods for reducing electromagnetic interference arising from use of multiple ultrasound transducers in an array, particularly inside a human body that is inside a magnetic resonance imaging device. Electrical signals driving the transducers are offset in phase with respect to one another so as to achieve maximum offset of electrical and magnetic fields arising from such signals and transducers. Phase offsets are dynamically adjusted to respond to changes in driving amplitudes and frequencies so as to maintain optimal reduction of electromagnetic interference.

Claims

1. A method for reducing electromagnetic interference when operating an electrically-driven ultrasound thermal therapy apparatus, comprising: positioning said apparatus including an ultrasound array of said apparatus with respect to a specified treatment zone; in a computer-based host unit coupled to said therapy apparatus, determining a common driving frequency and determining an amplitude with which to drive each of a plurality of transducer elements of said array; driving each of said plurality of transducer elements with a respective driving signal generated by a respective voltage source, the driving signal for each element comprising said common driving frequency, said amplitude, and a respective phase angle; and modifying the phase angle of at least one driving signal to reduce a net electromagnetic output of said thermal therapy apparatus, wherein each phase angle is determined based, at least in part, on the amplitude of the corresponding driving signal, wherein before modifying the phase angle of the at least one driving signal, the method further comprises: (a) multiplying each amplitude and a respective phase offset value of +1 or −1 to determine a respective amplitude-phase product, each phase offset value representing a two-state phase assignment where +1 corresponds to a phase angle of 0 degrees and −1 corresponds to a phase angle of 180 degrees; (b) summing the respective amplitude-phase products to calculate a residual R.sub.i; (c) repeating steps (a) and (b) for 2.sup.N-1 possible combinations of respective phase offset values to determine a plurality of residuals R.sub.2N-1 where N represents a number of the transducer elements in the transducer array; and (d) comparing the residuals R.sub.2N-1 to determine a minimum residual R.sub.min; wherein modifying the phase angle of the at least one driving signal comprises: when the minimum residual R.sub.min equals 0, setting the respective phase angles according to the two-state phase assignment that corresponds to the minimum residual R.sub.min.

2. The method of claim 1, further comprising: before modifying the phase angle of the at least one driving signal and when the minimum residual R.sub.min is greater than 0: comparing the respective amplitude-phase products that correspond to the minimum residual R.sub.min to determine a largest amplitude-phase product and a next-largest amplitude-phase product of the respective amplitude-phase products; calculating a sum of all amplitude-phase products other than the largest and next-largest maximum amplitude-phase products; wherein modifying the phase angle of at least one driving signal comprises: setting a phase angle A for the driving signal corresponding to the largest amplitude-phase product as A = cos - 1 ( β 2 + γ 2 - α 2 2 .Math. "\[LeftBracketingBar]" βγ .Math. "\[RightBracketingBar]" ) ; setting a phase angle B for the driving signal corresponding to the next-largest amplitude-phase product as B = cos - 1 ( α 2 + γ 2 - β 2 2 .Math. "\[LeftBracketingBar]" αγ .Math. "\[RightBracketingBar]" ) ; and setting the remaining respective phase angles for the respective phase angles other than the phase angles A and B according to the two-state phase assignment that corresponds to the minimum residual R.sub.min, wherein: α is the largest amplitude-phase product, β is the next-largest amplitude-phase product, and γ is the sum of all amplitude-phase products other than the largest and next-largest maximum amplitude-phase products.

3. The method of claim 2, wherein: α is α.sub.p, β is β.sub.p, γ is γ.sub.p, and the method further comprises: before modifying the phase angle of the at least one driving signal and when the minimum residual R.sub.min, is less than 0: comparing the respective amplitude-phase products that correspond to the minimum residual R.sub.min, to determine a first negative amplitude-phase product having a largest magnitude of the respective amplitude-phase products, and a second negative amplitude-phase product having a next-largest magnitude of the respective amplitude-phase products; calculating a sum of all amplitude-phase products other than the first and second negative amplitude-phase products; wherein modifying the phase angle of the at least one driving signal comprises: setting a phase angle C for the driving signal corresponding to the first negative amplitude-phase product as C = 180 ° - cos - 1 ( α n 2 + γ n 2 - β n 2 2 .Math. "\[LeftBracketingBar]" α n γ n .Math. "\[RightBracketingBar]" ) ; setting a phase angle D for the driving signal corresponding to the second negative amplitude-phase product as D = 180 ° + cos - 1 ( β n 2 + γ n 2 - α n 2 2 .Math. "\[LeftBracketingBar]" β n γ n .Math. "\[RightBracketingBar]" ) ; and setting the remaining respective phase angles for the respective phase angles other than phase angles C and D according to the two-state phase assignment that corresponds to the minimum residual R.sub.min, wherein: α.sub.n is the first negative amplitude-phase product, β.sub.n is the second negative amplitude-phase product, and γ.sub.n is the sum of all amplitude-phase products other than the first and second negative amplitude-phase products.

Description

IN THE DRAWINGS

(1) For a fuller understanding of the nature and advantages of the present invention, reference is made to the following detailed description of preferred embodiments and in connection with the accompanying drawings, in which:

(2) FIG. 1 illustrates an exemplary system for providing image-guided ultrasound therapy to a patient;

(3) FIG. 2 illustrates an exemplary ultrasound array;

(4) FIG. 3 is a schematic circuit diagram illustrating a simplified model of a two-transducer array, by which certain of the principles underlying the methods disclosed herein are demonstrated;

(5) FIG. 4 is a schematic representation of a two-tone mixing model, further demonstrating some of the principles underlying the methods described herein;

(6) FIG. 5 is an illustrative plot showing the results of two transducers driven both with and without using the methods disclosed herein, demonstrating results obtained from using such methods;

(7) FIGS. 6A, 6B, 6C and 6D are vector diagrams demonstrating geometrically certain aspects of the methods disclosed herein; and

(8) FIGS. 7A, 7B, 7C, and 7D illustrate a flowchart showing the operation of the methods disclosed herein, according to an embodiment.

DETAILED DESCRIPTION

(9) The disclosure herein is directed to methods for using phase modulation techniques to reduce EMI arising from a multi-element array of ultrasound transducers in an apparatus for ultrasound thermal therapy.

(10) FIG. 1 illustrates an exemplary system 10 for providing image-guided ultrasound therapy to a patient. The simplified illustration shows a master computer 100, such as a portable PC, workstation, or other processing device having a processor, memory, and coupled to some input/output apparatus. Master computer 100 may include a display and may support a user interface 110 to facilitate control of and observation of the thermal therapy treatment process.

(11) Master computer 100 is adapted for coupling to other systems and components through a computer interface connector 120. Connection 120 carries data and information to and from master computer 100 and may comprise standard or special-purpose electrical wiring connection cables, such as serial connection cables or the like. Also, connection 120 may be achieved wirelessly as known to those skilled in the art of wireless communication, and may further be achieved by way of multiple connections, over a network, or by another suitable method.

(12) In some embodiments, master computer 100 is coupled through connection 120 to a power control unit 130. Power control unit 130 may be implemented as a stand-alone hardware apparatus but may be implemented as a part of master computer 100, e.g., by being built onto a special card in a computer or server system that accommodates such hardware components.

(13) Power control unit 130 may specifically include at least a processor adapted for processing machine or program instructions, which may be provided to the processor from another component of system 10 and may be stored on a memory device in power control unit 130. Circuitry including analog and/or digital circuitry may be operated within power control unit 130 so as to determine an output power to one or more ultrasound therapy transducer elements in an ultrasound therapy apparatus 150.

(14) In some embodiments, power control unit 130 may deliver controlled electrical driving signals to a plurality of ultrasound transducer elements (e.g., PZT array elements) in ultrasound therapy apparatus 150. The driving signals may be controlled to deliver a programmed amount of power to each element or to groups of elements of therapy apparatus 150. The driving signals may also be controlled so as to provide a determined driving voltage, current, amplitude, waveform, or frequency to said ultrasonic transducers of therapy apparatus 150. The relative phase of the driving signals can also be controlled, for example to reduce EMI, as discussed herein. Such electrical driving signals are carried from power control unit 130 to the ultrasound therapy apparatus 150 over suitable wires, cables, or buses 140. Appropriate plug interfaces or connectors may be included so as to mate the various ends of the connectors or buses to and from their associated components.

(15) In operation, ultrasound therapy apparatus 150 includes a portion 155 that is inserted into a portion of a patient's body to deliver a suitable dose of ultrasound energy to tissue in a diseased region of the patient's body.

(16) The patient and the ultrasound therapy apparatus 150 are generally disposed in an imaging volume 160 such as a magnetic resonance imaging (MRI) apparatus, which can provide real-time images of the relevant parts of the patient, e.g., the treatment volume to master computer 100 or display and user interface 110. In some embodiments, real-time monitoring of the thermal therapy is performed so that a clinical operator can monitor the progress of the therapy within the treatment volume or diseased tissue. Manual or automated changes can be made to the power signals from power control unit 130 based on input from the results and progress of the treatment.

(17) The feedback and coupling of the treatment system components to the control components in system 10 can be used to ensure that an optimum radio frequency (RF) power signal is provided to each element of an ultrasound array 155 used in treatment of diseased tissues. Some examples include treatment of prostate cancer tumors in male patients using MRI guided ultrasound therapy applications.

(18) RF power control unit 130 may include separate circuit cards having individual processors, amplifiers, filters and other components to achieve the desired driving power output to the elements of ultrasound array 155 of ultrasound treatment apparatus 150. Alternatively, a single processor may be employed to control the behavior of the various power channels to each array element.

(19) FIG. 2 illustrates an ultrasound array 200, which can be the same as ultrasound array 155. Each ultrasound transducer 205 in ultrasound array 200 is driven by a separate voltage source 210 via at least one electrical line 220. Thus, the voltage and relative phase of each driving signal for each transducer 205 can be controlled. The voltage source 210 are included in RF power control unit 230, which can be the same as RF power control unit 130. It is noted that RF power control unit 230 can include additional components, such as the circuitry, processors, amplifiers, filters, and other components as discussed above with respect to RF power control unit 130.

(20) Each transducer 205 has 2 electrical terminals, the first of which is electrically connected to one terminal of its respective voltage source 210 via an electrical line called a drive line, and the second of which is electrically connected, in common with all the other such second transducer terminals, to the other terminals of the voltage sources 210, via an electrical line called a return line or ground line. The drive lines, one for each ultrasound transducer in the array 200, and the common return line are connected to the proximal end of the applicator and extend to the voltage sources 210. When the apparatus is used for thermal therapy, in a typical arrangement, the applicator will be inserted inside a patient's body to be near a portion of the body receiving the therapy, e.g. inserted transurethrally to be near a diseased male prostate, with the patient inside an MRI machine. The drive lines and return line, typically bound together inside a single sheath, extend from the applicator to outside the MRI machine, where the voltage sources are located, along with the various means for controlling the apparatus, such as RF power control unit 230.

(21) The use of a linear array of transducers, each driven by a separate voltage source, allows more precise control of the application of ultrasound energy to the tissue being treated, thus increasing the effectiveness of the thermal therapy, than would be the case if the transducers were all driven at the same voltage. With separate voltage sources for each transducer, each transducer's voltage amplitude can be dynamically adjusted in response to feedback, in accordance with a treatment plan, to maintain an optimal level of ultrasound output for the location and direction of each transducer at any given time. Systems and methods for controlling and monitoring thermal therapy using ultrasound are described in, for example, U.S. Patent Application Publication No. 2011/0270366, titled “RF Power Controller for Ultrasound Therapy System,” and U.S. Pat. No. 8,998,889, titled “System and Method for Control and Monitoring of Conformal Thermal Therapy,” which are hereby incorporated by reference.

(22) Each voltage source sends an alternating current (AC) signal, typically a sinusoidal signal, at a given frequency, called the driving frequency, to one of the transducers, at a given voltage amplitude, which amplitude at any given time is determined by the treatment plan and control algorithms and mechanisms of the system. The AC voltage signal causes an oscillating electric field within the transducer, which in turn causes mechanical oscillations in the transducer by means of piezoelectric induction; it is these mechanical oscillations that transmit ultrasound acoustic energy into the tissue being treated, where such energy is ultimately converted into thermal energy to achieve the intended therapeutic effect.

(23) As noted above, EMI inside the MRI apparatus can arise from magnetic fields generated by electrical currents flowing though the driving and return lines, as well as electrical fields generated in the transducers. When multiple transducers are driven at a common driving frequency by separate voltage sources, the EMI from these sources can be reduced by causing voltage signals to be out of phase with each other. In this way, through the principle of superposition, electrical field components that are in opposite directions from each other will superpose and offset each other, as will electrical currents that are in opposite directions from each other. When a plurality of ultrasound transducers are deployed in proximity to one another on a linear array, the electric fields generated by the transducers will partially overlap in space. Similarly, magnetic fields generated by wires that are in close proximity, such as the drive lines, will also overlap in space. Thus in both cases, fields that are in opposite directions will offset, reducing EMI. And the current in the return line is a superposition of the currents from all the transducers, so such currents will directly offset to the extent that they are in opposite directions, thus reducing any resulting magnetic field arising from such currents.

(24) The principle behind the phase modulation method disclosed herein can be demonstrated by considering a simple case of an array comprising 2 ultrasound transducers driven at a common frequency. FIG. 3 is a simplified schematic diagram showing 2 transducers 301 and 302, each represented as a capacitor, each connected to and powered by one of sinusoidal voltage sources 311 and 312, connected by drive lines 321 and 322 and by shared return line 324. Electric fields within and around the transducers 301 and 302 are shown by field lines 331 and 332, respectively.

(25) The sinusoidal voltage signals emanating from sources 311 and 312 can be described as a function of time as follows:
V.sub.1(t)=A cos(ω.sub.0t+ϕ.sub.1)
V.sub.2(t)=B cos(ω.sub.0t+ϕ.sub.2)

(26) Here, A and B are the voltage amplitudes of the respective signals, ω.sub.0 is the common driving frequency, measured in radians per second, or alternatively in degrees per second, based on a full cycle of 2π radians or 360 degrees, and ϕ.sub.1 and ϕ.sub.2 are the phase angles, or phase offsets, of each signal, measured in radians or alternatively in degrees.

(27) Note that a sinusoidal signal at a given frequency co can be thought of as a phase vector, or phasor, rotating counterclockwise in the complex plane at a rate of ω radians (or degrees) per second, or one full cycle every 2π radians (or 360 degrees); the length or magnitude of the vector is the amplitude of the signal, and the signal at any given time is equal to the projection of the phasor onto the horizontal (real) axis, i.e. the real part of the phasor. The phase offset or phase angle of a signal is the angular position of the phasor with respect to the positive real axis, measured counterclockwise from the axis to the phasor, at time t=0, an arbitrary time designated as the start of the cycle, which time is the same for all phasors being considered. When a plurality of AC signals at a common frequency are expressed as phasors, vector arithmetic can be used to compute the combined effect of such signals. The methods disclosed herein make use of such computational techniques.

(28) Turning back to FIG. 3, the currents through the transducers 301 and 302 are designated as I.sub.1 and I.sub.2, respectively, with the current in the return line 324 designated as I.sub.T, with I.sub.T=I.sub.1+I.sub.2. If the phase angles ϕ.sub.1 and ϕ.sub.2 are set such that V.sub.1 and V.sub.2 are in opposite phase, such as by setting ϕ.sub.1=0° and ϕ.sub.2=180°, and A=B, i.e. the signals are of equal magnitude, then V.sub.1=−V.sub.2 and I.sub.1=−I.sub.2, and the sum I.sub.T=I.sub.1+I.sub.2 will add to zero, i.e. there will be zero net current through the transducers, and zero current in the return line.

(29) This situation is depicted in FIG. 3, where the electric field lines 331 and 332 are shown pointing in opposite directions; the direction of the electric field in the transducer will depend on the sense of the applied voltage. It is assumed that the transducers 301 and 302 are physically parallel to each other, as they would be on a linear transducer array. It can be seen that the electric fields from the respective transducers 301 and 302 overlap in the space 333 between the transducers. By the principle of superposition, such overlapping fields in the same space will offset each other, to the extent that they are pointed in opposite directions. This field cancellation causes a reduction in RF emissions arising from such fields. Additionally, radiation from the return line is reduced, since the return line carries less current and thus generates a smaller magnetic field. Furthermore, magnetic fields generated by the currents in the drive lines will be in opposite directions to each other, as a result of such currents being in opposite directions, and thus such magnetic fields will also superpose and offset each other, further reducing RF emissions.

(30) Piezoelectric materials used in ultrasound transducers, such as PZT, have been observed to exhibit non-linear behavior in response to applied signals. In the simplified case of two active elements, a two-tone non-linear mixing model can be used to understand the resulting harmonic and intermodulation content:
V.sub.0˜Σ.sub.q=0.sup.NC.sub.q(V.sub.1+V.sub.2).sup.q=C.sub.0+C.sub.1(V.sub.1+V.sub.2)+C.sub.2(V.sub.1+V.sub.2).sup.2 . . .

(31) In the above equation, V.sub.1 and V.sub.2 represent the signals applied to the two driven elements, in this case operating at a common frequency of ω.sub.0. The power level is free to vary. V.sub.0 is the output of the “mixer” containing the new harmonic and intermodulation content, represented here by a power series approximation of the PZT transfer function. FIG. 4 shows the mixing model in schematic form. Input signals 410 and 420 are fed into mixer 400, which outputs signal 430. For simplicity, model parameters specific to the piezo have been disregarded. In the case where A=B and the signals are in opposing phases, e.g. ϕ.sub.1=0° and ϕ.sub.2=180°, then V.sub.1=V.sub.2 and the summation terms cancel, eliminating the harmonic content.

(32) The effect of phase-modulating the signals in the case of two elements can be seen in FIG. 5, which depicts an illustrative plot 500 based on experimental results obtained when driving 2 elements at the same amplitude and frequency, alternatively in-phase and out-of-phase by 180 degrees. The horizontal axis 510 represents frequency, and the vertical axis 520 represents the power of the combined signal. Trace 530 shows the combination of in-phase (ϕ.sub.1=ϕ.sub.2) driving signals, whereas trace 540 shows the combination of out-of-phase (ϕ.sub.1+180°=ϕ.sub.2) driving signals. Peaks 550 represent harmonics, occurring at integral multiples of the driven piezoelectric elements' natural frequency. It can readily be seen that the peaks are substantially lower when the driving signals are out-of-phase, thus demonstrating the substantial reduction of harmonic content resulting from the driving signals being out-of-phase with each other.

(33) The RF voltage signals can be advanced or retarded, that is they can have their phase angle adjusted, without materially affecting the delivery of ultrasound acoustic energy to the target. The ultrasound energy generated by a transducer depends on the amplitude and frequency of the voltage signal driving that transducer, but it does not depend on the phase of that signal; and such energy is transmitted in directions that depend on the location and geometry of the transducer and the surrounding tissue, but that do not depend on the phase of the signal. Thus, the methods disclosed herein, which involve selecting and implementing differing phase angles for the various signals driving an array of ultrasound transducers, are effective to reduce EMI from such signals while maintaining the effectiveness of such signals in driving the transducers to achieve the desired therapeutic ends.

(34) The two-element model discussed above can easily be extended to multiple elements, where one or more subsets of such elements are driven at a common frequency. A simple approach to assigning phase angles would be to set alternating elements at a common frequency to 0/180/0/180 . . . degrees. However, this approach is optimal only when the power output on all elements is identical. In many ultrasound applications, it is desirable to drive different transducer elements on an array at the same frequency but at different power levels, and to dynamically adjust such power levels during a procedure in response to feedback in order to achieve therapeutic or other goals of the procedure. With power levels that vary among transducer elements and over time, a better algorithm is called for.

(35) The method disclosed herein is directed to determining and setting the phase angles of a set of sinusoidal voltage signals driving an array of ultrasound transducers, such that for each subset of signals at a given driving frequency, the vector sum of all signals in such subset is minimized. In computing vector sums, each voltage signal at a given frequency is expressed as a phasor, that is as a vector in the complex plane with a length, or magnitude, equal to the amplitude of the signal, and at an angle, measured counterclockwise from the positive real axis, equal to the phase angle or phase offset of such signal. That is to say, a signal such as V.sub.1(t)=A.sub.1 cos(ω.sub.0t+ϕ.sub.1) would be represented in phasor notation as a vector of length A.sub.1 pointing at an angle ϕ.sub.1 counterclockwise from the positive real (i.e. right-pointing) axis. Alternatively, as a vector, the phasor could be represented by its components, i.e. its real and imaginary parts, as [A.sub.1 cos ϕ.sub.1, A.sub.1 sin ϕ.sub.1], or as a single complex number A.sub.1 cos ϕ.sub.1+jA.sub.1 sin ϕ.sub.1=A.sub.1e.sup.jϕ1, where j.sup.2=1. When expressed in this way, the phasor can be multiplied by e.sup.jω.sup.0.sup.t to obtain the voltage signal as a function of time: V.sub.1(t)=Re{(A.sub.1e.sup.jϕ.sup.1)e.sup.jω.sup.0.sup.t}=Re{A.sub.1e.sup.j(ω.sup.0.sup.t+ϕ.sup.1.sup.)}=Re{A.sub.1 cos(ω.sub.0t+ϕ.sub.1)+jA.sub.1 sin(ω.sub.0t+ϕ.sub.1)}=A.sub.1 cos(ω.sub.0t+ϕ.sub.1). Since all phasors at a given frequency are multiplied by the same factor to obtain the resulting signal, the combined effect of two or more signals at a given frequency can be computed by simply adding the phasors of such signals. Such representation of AC signals is well-known in the electrical arts.

(36) The vector sum of all signals at a given frequency will be a phasor representing the net signal being sent to all transducers in the array that are being driven at that frequency. By minimizing this net signal, net current in the drive and return lines, whose currents are proportional to the voltage signals carried by such lines, will also be minimized. The reduction of net current in the lines will reduce magnetic fields arising from such currents, and thus will reduce RF emissions. Likewise, the reduction of net voltage applied to ultrasound transducer elements that are disposed on a linear array, and thus physically parallel to one another, will result in greater offsetting of electric fields generated by such transducers, and thus reduced RF emissions from such fields.

(37) For a given subset of transducers being driven at a given common frequency, the algorithm disclosed herein can be used to optimize the respective phase angles of the signals to each transducer in the set. Let N be the number of transducers in the subset, and let A.sub.1, A.sub.2, etc. up to A.sub.N be the respective amplitudes (in voltage, or alternatively power) of the signals to be sent to the transducers in the set; such amplitudes would be determined and selected by whatever means is used for such purpose, in order to achieve the therapeutic and/or other goals of the ultrasound procedure. Note that all A.sub.i's are nonnegative numbers, and will generally be positive for all active channels. (An inactive channel could be represented by a zero amplitude.) The goal is to find a set of phase angles θ.sub.1, θ.sub.2, . . . , θ.sub.N such that the vector sum of all of the phasors is minimized.

(38) The algorithm proceeds as follows: Define an N-vector (that is, an ordered set of N scalar quantities) v consisting of the amplitudes:
v=[A.sub.1,A.sub.2, . . . ,A.sub.N]

(39) As a first pass, or a coarse approximation, we consider only phase angles of 0 and 180 degrees, and what combination of such angles will minimize the overall signal. A phase angle of 180 degrees is equivalent to multiplying the signal by −1, simplifying the calculations at this stage. Compute the sum of the amplitudes and determine the maximum amplitude:
A.sub.sum=Σ.sub.i=1.sup.NA.sub.i
A.sub.max=max[A.sub.1,A.sub.2, . . . ,A.sub.N]

(40) Determine whether A.sub.max≥½A.sub.sum, i.e. whether the magnitude of the largest element in v is greater than or equal to half the sum of all the elements in v, or in other words the largest amplitude is greater than or equal to the sum of all the other amplitudes. Note that this will always be the case when N=2. The maximum offset of signals that can be achieved by phase modulation is then obtained by setting the phase of the signal with the largest amplitude to 180 degrees, and setting the phase of all other signals to 0 degrees. If A.sub.max=½A.sub.sum, then the signals will fully offset, and if A.sub.max>½A.sub.sum, then the signals will not fully offset, but will offset to the greatest degree possible for such amplitudes.

(41) It may often be the case, especially when a larger number, e.g. 10, transducers are driven at a given frequency, that the largest amplitude will not be greater than the sum of all the others, i.e. A.sub.max<½A.sub.sum. In this case, the next step is to determine the combination of 0 and 180 degree phase angles, or equivalently 1's and −1's, respectively, that will yield the greatest offset of signals. For this purpose, define a “phase offset vector” as a N-vector consisting exclusively of 1's and −1's. (Note that this vector is different from the phase vector or “phasor” discussed above.) There are 2.sup.N possible such phase offset vectors, representing all possible permutations of 1's and −1's. For a given phase offset vector p, the net amplitude, or residual amplitude, resulting from applying the phase angles (0 and 180 degrees) represented by p, can be computed as the scalar product, also known as the inner product or dot product, of v and p. This product is computed by multiplying the N pairs of corresponding elements in the 2 vectors, and then summing the resulting N products, yielding a scalar result:
R=v.Math.p

(42) The next step in the algorithm is to determine a phase offset vector p which will yield a residual R with a minimum magnitude, or absolute value:

(43) R min = min k = 1 to 2 N .Math. "\[LeftBracketingBar]" v _ .Math. p _ k .Math. "\[RightBracketingBar]"

(44) Here, the p.sub.k's are all the possible 2.sup.N phase offset vectors. For example, if N=3, p.sub.1 through p.sub.8 would be as follows (note that the order here does not matter):

(45) p.sub.1=[−1, −1, −1]

(46) p.sub.2=[−1, −1, +1]

(47) p.sub.3=[−1, +1, −1]

(48) p.sub.4=[−1, +1, +1]

(49) p.sub.5=[+1, −1, −1]

(50) p.sub.6=[+1, −1, +1]

(51) p.sub.7=[+1, +1, −1]

(52) p.sub.8=[+1, +1, +1]

(53) R.sub.min can be determined by taking the scalar product of v with all possible p.sub.k's and comparing the results, or by other methods known in the art, such as by using a lookup table, or using an iterative minimization algorithm whose cost function computes the residual under some penalization metric. Note that by symmetry, for each p.sub.k there will be another p.sub.k with all elements reversed, e.g. in the above list p.sub.2=−p.sub.7, so the 2 p.sub.k's will yield R values of equal magnitude but opposite signs. Thus, since we are interested only in the magnitude of the residual, at most 2.sup.N-1 possibilities need to be checked to determine R.sub.min.

(54) Let P=one of the p.sub.k's that yields R.sub.min:
v.Math.P=R.sub.min

(55) There may be more than one such P, but any may be selected. By symmetry, for each possible P whose inner product with v is negative, there will also be another P whose inner product with v is positive and of the same magnitude, i.e. the first P with the signs reversed. Without loss of generality, if R.sub.min>0, we can arbitrarily choose a P that yields a positive inner product with v. In some embodiments, if there are multiple possible phase offset vectors yielding the same R.sub.min, then the phase offset vector P is selected from these possible candidates based on other criteria, such as seeking to maximize the number of pairs of physically adjacent transducers that are driven in opposite phase to each other.

(56) If R.sub.min=0, then full offset of the voltage signals may be effected by setting the phase angles of the signals in accordance with P; that is, if P=[P.sub.1, P.sub.2, . . . , P.sub.N], then each signal from channel i (with amplitude A.sub.i) is set to have phase 0 degrees if P.sub.i=1, or phase 180 degrees if P.sub.i=1.

(57) If R.sub.min>0, then setting the phase angles in this way, i.e. in accordance with the coarse-approximation step, will not yield full offset of the voltage signals, but will reduce the net signal to one of amplitude R.sub.min. In this case the algorithm proceeds by taking two of the voltage signals and further adjusting their phase angles so as to achieve full offset from all signals.

(58) We define an N-vector Ō as the element-wise multiplication of v with P, with P selected as described above:
Ō=vºP=[A.sub.1P.sub.1,A.sub.2P.sub.2, . . . ,A.sub.NP.sub.N]

(59) Assuming P has been chosen so that v.Math.P>0, as described above, i.e. the sum of the elements of Ō is positive, let α be the largest positive element of Ō, with a indexing its position, and let β be the next-largest positive element of Ō, with b indexing its position:

(60) α = O a = max i O i β = O b = max i a O i

(61) Note that for R.sub.min>0, there will always be at least 2 positive elements in Ō. (If this were not the case, then the one positive element would be larger than the sum of the magnitudes of all the other elements, which is inconsistent with the situation that A.sub.max<½A.sub.sum, as discussed above.) Let γ be the sum of the remaining elements in Ō:

(62) γ = .Math. i = 1 i a i b N O i .
Note that R.sub.min=α+β+γ.

(63) Note that γ will be negative. (If γ were positive, then R.sub.min would not be the smallest possible residual, because it could be made smaller by reversing the signs of both P.sub.a and P.sub.b.) Note also that the magnitude of γ will be less than the sum of α and β (if not, we would have R.sub.min<0). The magnitude of γ will be greater than the difference of α and β:
γ<0
α−β<|γ|<|α+β|

(64) The quantity γ represents the phasor of the resultant signal of the voltage signal from all the channels except those represented by α and β. The next step is to set phase angles for those two channels so that they offset that resultant signal. These angles can be found geometrically by forming a triangle with sides of length α, β and |γ|. Such a triangle can be formed because the three quantities satisfy the “triangle inequality,” above.

(65) The law of cosines states that for any triangle with an angle C opposite a side of length c, with the other sides of length a and b:
c.sup.2=a.sup.2+b.sup.2−2ab cos C

(66) With a bit of rearrangement, the law of cosines is used to compute phase angles A and B for the channels represented by α and β, respectively:

(67) A = cos - 1 ( β 2 + γ 2 - α 2 2 .Math. "\[LeftBracketingBar]" βγ .Math. "\[RightBracketingBar]" ) B = cos - 1 ( α 2 + γ 2 - β 2 2 .Math. "\[LeftBracketingBar]" αγ .Math. "\[RightBracketingBar]" )

(68) Channel a is assigned phase angle −B, and channel b is assigned phase angle A, with the remaining channels assigned in the coarse-approximation step, i.e. either 0 degrees or 180 degrees depending on whether the corresponding element of P is +1 or −1, respectively.

(69) The same approach described above can also be used for R.sub.min<0. In this case, the computations are the same, except that α and β are chosen to be the largest (in magnitude) negative elements of Ō, and γ is positive; and phase angles of channels a and b are assigned to be 180°−B and 180°+A, respectively.

(70) The method of selecting phase angles may be illustrated with a numerical and graphical example. Consider a case where N=4, i.e. 4 active channels, with amplitudes of 1, 1, 3 and 2, respectively, i.e. v=[1, 1, 3, 2]. It can be determined that the magnitude of the smallest possible residual is 1. P=[−1, −1, +1, 1] will generate R.sub.min=1=v.Math.P, with Ō=vºP=[−1, −1, +3, −2] (Other permutations will also generate R.sub.min=−1 or R.sub.min=1, but one is sufficient for the computations.) Thus, the coarse-approximation step yields phase angles of [180°, 180°, 0°, 180°]. This is depicted vectorially in FIG. 6A, with the elements of Ō shown on the top, with the negative elements pointing left and the single positive element pointing right. The residual (R_min) of −1 is depicted underneath.

(71) Because the residual is negative, α and β are chosen as the two largest vectors in the negative direction, with lengths of α=2 and β=−1, corresponding to channels a=4 and b=1, respectively. FIG. 6B shows the remaining vectors after these 2 vectors are removed, with the new residual γ=+2 depicted underneath.

(72) The next step is to adjust the phase of the vectors α and β to as to offset γ, i.e. so that the 3 vectors will add vectorially to zero. Applying the law of cosines,

(73) A = cos - 1 ( β 2 + γ 2 - α 2 2 .Math. "\[LeftBracketingBar]" βγ .Math. "\[RightBracketingBar]" ) = cos - 1 ( 1 + 1 - 1 2 ( 1 ) ( 2 ) ) = cos - 1 ( 1 4 ) = 75.52 ° B = cos - 1 ( α 2 + γ 2 - β 2 2 .Math. "\[LeftBracketingBar]" αγ .Math. "\[RightBracketingBar]" ) = cos - 1 ( 4 + 4 - 1 2 ( 2 ) ( 2 ) ) = cos - 1 ( 7 8 ) = 28.96 °

(74) Thus we set the phase of channel a as 180°−B=180°−28.96°=151.04°, and the phase of channel b as 180°+A=180°+75.52°=255.52°. The vectors α and β are shown placed at these angles, with γ placed at 0°, in FIG. 6C. Angles A and B are indicated in the triangle formed by the vectors α, β and γ. It can be seen that α is at 180° B from the right-pointing (zero phase) position, and that β is at 180°+A from such position.

(75) Thus the final phase angles yielded by the method are [255.52°, 180°, 0°, 155.04° ]. The phasors represented by the individual channels are shown with these phase angles in FIG. 6D. The vector sum of the 4 phasors is zero, resulting in zero net current in the drive and return lines, and maximum offset of electric fields generated by the transducers.

(76) If the ultrasound transducers on an array are being driven at more than one driving frequency, then the method disclosed herein is performed for each subset of transducers being driven at a given driving frequency. As the amplitudes and driving frequencies are adjusted and recalibrated during the course of the ultrasound procedure, the phase angle computation is repeated each time there is a change in any amplitude and/or frequency for any of the channels. For optimal EMI reduction, each time there is an update in frequencies and/or amplitudes, as determined by the control algorithm and/or treatment plan, the phase angles corresponding to the new set of amplitudes and frequencies are computed as disclosed herein before the change in amplitudes and/or frequencies is implemented in the signals sent to the transducers. Then, when these signals are changed, the new frequencies and amplitudes are implemented concurrently with the new phase angles, determined as disclosed herein.

(77) The method disclosed herein is illustrated in the flowchart 70 depicted in FIGS. 7A-7D. The method begins at step 702, where the N-vector v is defined, comprising each of the amplitudes of the N voltage signals at a given driving frequency to be sent to the respective ultrasound transducers in an array. Such amplitudes are determined in accordance with the goals of the ultrasound procedure and in accordance with feedback received and other considerations. These amplitudes are not determined by the method disclosed herein, but are the inputs to such method. The output of the method is a vector θ=[θ.sub.1, θ.sub.2, . . . , θ.sub.N] comprising phase angles to be used for the voltage signals sent to each transducer.

(78) The method proceeds to step 704, where the dot product (or scalar product) of v with each possible P vector, that is, each possible N-vector whose elements are either +1 or −1, is computed. Then at step 706 R.sub.min is determined from the results of step 704 as the smallest in magnitude dot product computed, and a vector P, for which v.Math.P=R.sub.min, is determined and selected. There may be more than one possible P vector that yields R.sub.min (or −R.sub.min), in which case one of such possible P vectors is chosen arbitrarily or based on other considerations, such as having adjacent channels with opposite phase offsets for maximal electric field cancellation. Note that for the purpose of this flowchart, R.sub.min can be negative or positive. As noted elsewhere herein, in some embodiments R.sub.min and P may be determined by other methods that do not comprise computing all possible dot products with all possible permutations for P.

(79) Next is step 708, where it is determined whether the largest amplitude, that is the largest element in v, is greater than half the sum of all amplitudes. If so, then at step 710 (see FIG. 7D) the phase angles are set in accordance with P, that is, θ=cos.sup.−1(P), with the inverse cosine taken element-by-element, so that the phase angle for each channel is either 0° or 180° depending on whether the corresponding element of P is +1 or −1. In some embodiments step 708 takes place before step 704, so that if step 710 is reached, steps 704 and 706 are unnecessary. In such a case, θ would be set such that, if channel m is the channel with the largest amplitude, θ.sub.m=180° and θ.sub.i=0° for all i≠m.

(80) If step 708 results in a “no,” the flow chart proceeds to placeholder A. FIG. 7B begins with placeholder A, which then proceeds to step 712 Ō=Pºv is computed, and at step 714 the chart splits into 2 branches depending on whether R.sub.min is nonnegative (the “yes” branch)) or negative (the “no” branch). At steps 720 and 730 a scalar quantity Θ, which is used in computing phase angles, is set to be either 0° or 180°. Steps 720 and 730 then proceed to placeholders C and D, respectively.

(81) FIG. 7C begins with placeholders C and D. At steps 722 and 732, α is defined as the largest positive (or negative, as the case may be) entry in Ō, with its position indexed by i (α=O.sub.i). At steps 524 and 534, β is defined as the second largest positive (or negative) entry in Ō, with its position indexed by j (β=O.sub.j).

(82) The branches of the flowchart rejoin at step 540, where the residual γ is defined as the sum of the remaining entries in Ō after removing O.sub.i and O.sub.j. Step 540 then proceeds to placeholder E, which is also found in FIG. 7D. Angles A and B and computed from α, β, and γ using the law of cosines at step 542. Specifically, A=cos.sup.−1([β.sup.2+γ.sup.2−α.sup.2])/[2×|β|×|γ|]) and B=cos.sup.−1([γ.sup.2+α.sup.2−β.sup.2])/[2×|γ|×|α|]).

(83) At step 744 the vector of phase angles θ is temporarily set, in accordance with the coarse-approximation step, as cos.sup.−1(P). Then at step 746 the phase angles of channels i and j, that is of the vectors α=O.sub.i and β=O.sub.j, are set in accordance with the angles determined in step 542, so that θ.sub.i is set to −B if R.sub.min is nonnegative, or 180°−B if R.sub.min is negative; and θ.sub.j is set to A if R.sub.min is nonnegative, or 180°+A if R.sub.min is negative. Note that if R.sub.min=0, then the computations in step 542 will result in A=B=0, so that the phase angles will all be either 0° or 180°.

(84) From step 746 or step 710, the next step is step 750, wherein the channels 1 through N are assigned phase angles in accordance with the vector θ, and such phase angles are implemented in the voltage signals sent to the ultrasound transducers at the amplitudes given by v. The flow chart 70 can repeat (i.e., return to step 502), at each hardware update interval, i.e. each time there is to be any change in the amplitudes and/or frequencies at which any of the transducers are driven, the method shown in the flowchart is to be followed in order to determine the optimal phase angles to be used with the driving signals, so that such phase angles can be implemented, to the greatest extent feasible, concurrently with the change in amplitudes and/or frequencies.

(85) The present invention should not be considered limited to the particular embodiments described above. Various modifications, equivalent processes, as well as numerous structures to which the present invention may be applicable, will be readily apparent to those skilled in the art to which the present invention is directed upon review of the present disclosure.