Method and apparatus for the simultaneous performance of the beam formation and scan conversion in a phased array system

Abstract: A method and apparatus are provided for utilizing a digital front end (14, 36, 40, 44, 45) in a phased array system such as an ultrasonic scanning system to simultaneously perform both digital beam formation and scan conversion. Echo signals from each of the N channels of the array aperture are sampled at selected points along returning echo signals. The samples are preferably used to determine a value for each channel for each pixel (64) utilized in the display (48) by, for example, determining (136) a transmit time (T) for such point. The values for each pixel (64) for the N channels are then summed (142) to obtain the value for the pixel. Alternatively, the samples may be taken (74) at uniform intervals along each channel line and the sample values interpolated (78) to obtain values at Y-boundary crossings or sampling (100) may be taken at times determined so that each sample is at a Y-boundary crossing. The Y-boundary crossing sample values are stored (102) and are then summed (82) to obtain coherently enhanced sample values at the crossings. The sample values at the Y-boundary crossings may then be interpolated (96) or otherwise utilized to obtain sample values for display pixels.

Description: This invention relates to phased array ultrasonic scanning systems. In a phased array system such as that used for ultrasonically performing diagnostic procedures, the paths from a point being scanned to the various transducers of the scan aperture are of different lengths, resulting in echoes from the point being received at the transducers at different times. In conventional systems of this type, such as the HP SONOS 1000 ultrasound system from Hewlett-Packard, analog techniques, such as mixers and delay lines, are utilized to compensate for these different path lengths, so that when the outputs from the various transducers are summed, the summed values are for. the same scan point. This process is referred to as beam formation. However, once the beam is formed, the information represents analog data along either straight or radial lines. The samples along these lines bear nd relationship to the locations of pixels on a cathode ray tube screen where the scanned image is normally to be displayed. Thus, the analog beam formed data is typically sampled and applied to a digital scan converter to map this information into a frame buffer for controlling image display. Systems for performing such scan conversion operations are described, for example, in U.S. Patent Nos. 4,468,747 and 4,471,449 (see preamble of Claim 1). However, while such systems provide good results, there are a number of reasons why a fully digital front end is preferable to the partially analog and partially digital systems currently employed. First, the elimination of costly analog delay elements reduces the overall cost of the system. Second, a fully digital system is more flexible and thus adapted to provide higher degrees of accuracy. For example, the compensation required for beam formations varies as a function of scan depth. With tapped delay lines, it is difficult to achieve required delay variations. Many systems merely switch delays at some depth or depths, resulting in discontinuities in the output. More sophisticated systems can still only approximate continuous delay variations. A digital front end would provide the flexibility required to provide substantially continous depth compensation in beam formation. Third, a fully digital system is less prone to error. A digital system may also process multiple received lines from a single transmit, something which is not possible without using two or more costly analog delay lines. Further, there are currently some redundancies in the operation which results in analog beam formation and in the operation for doing digital scan conversion. Thus, with a fully digital front end, both complexity and cost can be further reduced by combining these operations into a single operation which compensates for the difference in scan line lengths for beam formation at the same time that the scanned image is being converted to provide image values at the pixel locations to control the display. It is therefore the object of this invention to provide a phased array ultrasonic scanning system which does not require analog delay elements, which provides higher degrees of accuracy and which is implemented as a fully digital system. This object is achieved by a phased array ultrasonic scanning system in accordance with claim 1. More particularly, this invention provides an apparatus for performing digital front end operations in a phased array system. Echo signals from each of the N channels of the array which are being utilized to perform a scan are sampled at selected points along the returning echo signals. Such sampling occurs for each scan line of a display frame. The samples at the selected points are utilized to store values for the N channels at points related in a predetermined way to pixel locations. The values for the N channels at each point are then summed to obtain a sample value for the point and the sample values for the points are utilized to store sample values for each pixel. For a preferred embodiment of the invention, sample values are utilized to determine a value for each channel for each pixel utilized in the display and the values for each pixel for the N channels are summed to obtain the value for the pixel. More particularly, for this embodiment, pixel points P m are selected in a predetermined sequence for pixel points related in a predetermined way to a given scan line. A transit time T for each channel is then determined for each point P m . Samples for a channel at times straddling the time T are then utilized to determine the sample for the corresponding point p m for the channel and the values for each point p m for the N channels are summed. The summed output for each point p m is utilized as the value for the corresponding pixel. For this preferred embodiment, transit time is determined by determining for each channel the transmit path length d t for the scan line at angle ϑ to point p m and the return path length d rn for a reflection from the point p m to the element for channel N. d t and d rn are then utilized to determine total transit time T in accordance with the relationship T=(d t +d rn )(1/vel), where "vel" is the velocity at which sound propagates within the scanned medium. The pixel points p m selected for each scan line ϑ are the pixel points falling within a wedge-shaped section between lines extending at an angle spaced by Δϑ/2 on each side of the transmitted scan line, where Δϑ is the spacing between successive transmit scan lines. The front end preferably includes a dual memory buffer DMB having N channels on each of its ports. Samples for each channel for a scan line at an angle ϑ are stored in corresponding channels on one port of the DMB, the port of the DMB on which samples are stored being toggled for successive scan lines. Samples from a preceding scan on one port of the DMB are utilized to determine transit time, while new samples from the current scan at angle ϑ are stored on the opposite port of the DMB. For other embodiments of the invention, the selected sample points are utilized to store values for the N channels at a first set of boundary crossings for the matrix display. The first set of boundary crossings may, for example, be the Y-boundary crossings. The values for the N channels at each of the first boundary crossings are then summed to obtain a sample value at the crossing. The sample values at the first set of boundary crossings for the scan lines are then interpolated or otherwise utilized to obtain sample values for display pixels at the junctions of first and second boundaries of a display matrix grid, the pixels being located at such junctions. For one of these embodiments of the invention, the signals are sampled for each channel at M substantially uniformly-spaced points along each signal, and at least the two samples closest on either side of each first boundary crossing are interpolated for each channel to obtain the value for the boundary crossing for the channel. These are the Y-boundary crossing values which are stored. For another embodiment of the invention, the sampling occurs at the first boundary crossings for each channel. For all embodiments of the invention, real and imaginary samples are obtained, utilized for interpolation if necessary, stored and separately summed. The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention as illustrated in the accompanying drawings. In the Drawings : FIG. 1 is a schematic block diagram of a system in which the teachings of this invention might be utilized; FIGS. 2A and 2B illustrate the two different types of display formats, FIG. 2A illustrating a linear display format and FIG. 2B a sector formatted display; FIG. 3A is a flow diagram of the sequence of operations for storing samples for a preferred embodiment of the invention. FIG. 3B is a flow diagram of the sequence of operations for utilizing the samples stored in the operation of FIG. 3A to perform beam formation/scan conversion for the preferred embodiment. FIG. 3C is a flow diagram of the sequence of operation for performing the select new pixel address step of FIG. 3B for a preferred embodiment. FIG. 4A is a diagram illustrating the scan operation for the preferred embodiment of the invention. FIG. 4B is a further diagram illustrating scan operation and computation for the preferred embodiment of the invention. FIG. 5 is a flow diagram for performing beam formation/scan conversion for an alternative embodiment of the invention. FIG. 6 is a diagram illustrating the scan operation and computation for the alternative embodiments of the invention. FIG. 7 is a flow diagram for performing beam formation/scan conversion for another alternative embodiment of the invention. Detailed Description FIGS. 2A and 2B illustrate the two different scan and display formats which are generally utilized. With a linear scan as shown in FIG. 2A, the scan lines are parallel and generally orthogonal to the plane of the linear array. The spacing of the scan lines is, however, not necessarily directly related to the spacing of the transducer array elements. Further, even though a given line may be generally orthogonal to a particular transducer element, it is not orthogonal to the other elements forming the scan aperture. Therefore, the unequal time for receipt of echoes from a given point being scanned still exists, and beam forming is still required. However, once beam forming has been completed, the sample values are generally in an X-Y coordinate system and scan conversion is a relatively simple interpolation process. By contrast, with a sector format such as that shown in FIG. 2B, and utilizing conventional analog beam forming information is received in a polar format which must then be converted to X-Y format for display. With a sector format, each scan line is projected at an angle ϑ to the plane of the array. ϑ might typically cover ±45° in 3/4° steps. Angular sampling could be at a rate satisfying Nyquist limits. This might result in 121 scan lines, each containing approximately 400 sample points after analog beam formation and digital sampling, which must then be converted to the X-Y grid coordinates, with a pixel appearing at each X-Y junction. A typical display might have 512 x 512 lines. Since the method and apparatus for combining beam formation and scan conversion into a single operation in a digital front end are substantially the same whether a linear format or a sector format is utilized, and since the operation with a sector format is more complicated, the following discussion will be with respect to a sector formatted system. However, it should be understood that what is being said for a sector formatted system will apply equally with respect to a linear format or any other arbitrary display format. As was indicated above, in one conventional system, beam formation is done utilizing mixers and analog delay lines. Because of the tapped nature of such delay lines, maintaining continuous control with increasing depth is not possible, and complex techniques have been evolved to approximate such control. Once beam formation has been achieved, scan conversion can be effected either by sampling the beam formed signals at a uniform rate and interpolating to obtain Y-boundary crossings or by sampling the beam formed analog signals at determined Y-boundary crossings. More elaborate techniques may also be utilized such as those taught in beforementioned U.S. Patent 4,471,449. The Y-boundary crossing values can then be interpolated to obtain X-boundary crossings. FIG. 1 illustrates a system which utilizes the improved techniques of this invention to perform the two separate steps indicated above, beam formation and scan conversion, as a single operation. Referring to this figure, echo signals received by individual transducer elements of scan head 10 are applied through standard preprocessing circuits 12 to sampling A/D converters 14. A typical scan head 10 might have 128 transducer elements. The scan aperture, and thus the number of scan channels N, might include all of the transducer elements or some selected subset thereof. There will thus be at least N output lines 16 from scan head 10, N circuits 12 and N sampling A/D converter circuits 14; however, converters could be shared for multiple channels in order to reduce converter cost. Circuits 12 may include standard amplification and filtering circuits to process the echo signals. A time gain control signal 18 may be applied to at least one of the amplifiers in each channel to maintain a substantially constant gain regardless of scan depth. The sampling A/D converters 14 for each channel could sample both real and imaginary values. A variety of A/D converter circuits known in the art may be utilized for achieving the required quadrature signals. Such techniques include, but are not limited to, mixers, continuous phase shift, all pass filters, or quadrature sampling. Whichever technique is utilized, there is a real and imaginary output from converters 14 for each channel. Alternatively, only real samples could be taken by A/D converters 14 and this circuit could be followed by a complex fast Fourier transform circuit, filtering and inverse fast Fourier transform to achieve both real and imaginary values. This operation is known in the art as a Hilbert transform. Throughout the following discussion, it is assumed this is the method used to derive both real and imaginary samples from real samples. The clocks utilized to control A/D converters 14 would typically be at a uniform frequency, uniform sampling being the most straightforward and the preferred sampling technique; however, as illustrated later, a non-uniform sampling scheme could be utilized for certain embodiments. A sampling control circuit 36 is provided to generate clocks and other required controls on lines 38 to converters 14. The controls would normally be the same for all channels, but this is not a limitation on the invention. The outputs from the sampling A/D converters 14 are applied to front end processor 40. All or a selected portion of processor 40 may be special purpose circuits designed to perform one or more of the various functions required to practice the teachings of this invention. The processor may also be or include, as appropriate, general purpose microprocessors or minicomputers programmed to perform these functions or may be the processor utilized for or with the ultrasonic phased array system, which processor is also programmed to perform the front end function. The functions performed by processor 40 will be discussed in greater detail later. Processor 40 may also provide synchronization and other controls to sampling control circuit 36 through lines 42 and may receive information or controls from control 36 through lines 42. A memory 44 is provided with processor 40 in which samples and preliminary boundary crossing values may be stored until all required calculations have been completed. For the preferred embodiment, an N channel dual memory buffer 45 is also provided. An output from processor 40 is applied to dual frame buffer 46 which stores the pixel value for each pixel to be displayed on display 48. Buffer 46 is preferably a dual frame buffer, permitting an output frame to be displayed while a new frame is being formed, and thus eliminating old/new boundary artifacts which would otherwise be present. Buffer 46 is scanned in known fashion in conjunction with the raster scan of display 48 to control image intensity and/or color at each scan pixel location on the display. FIGS. 3A-3C are flow diagrams of the front end processing function for a preferred embodiment of the invention. Reference will also be made to FIGS. 4A and 4B which illustrate the operations being performed during a scan and are useful in understanding the flow diagrams. Referring first to FIG. 4A, three illustrative scan lines R₁ R₂ and R₃ are shown, each of which projects at an angle ϑ k to a center line 67 extending from a 0,0 origin point. For purposes of the following discussion, the original point will be considered to be the mid-point of the transducer array which, for the illustrative 128 transducer array is the point at the junction of transducers 64 and 65. The X's 64 in this figure represents the location of pixel points on display 48 for displaying a scanned image. In FIG. 4A, it is seen that some of the scan lines R k may pass through a pixel point 64 while other pixel points are not intersected by a scan line. For each scan line R k , there are a plurality of points 63 at which samples may be taken. Again, there is no relationship for the preferred embodiment between the sample points 63 and the pixel points 64. In accordance with the teachings of this embodiment of the invention, a wedge W k is generated for each scan line R k which includes the area between lines at a distance Δϑ/2 on either side of the scan line, where Δϑ is the angle between successive scan lines R k . Thus, the width of each wedge is equal to Δϑ. The area within the dotted lines 66 in FIG. 4A is the wedge-shaped area W₂ for scan line R₂. As will be discussed in greater detail later, during a given scan, scan conversion is done for the pixels 64 which are within the given wedge-shaped section. Referring to FIG. 3A, the operations involved in writing information into one port of the N channel dual memory buffer (DMB) 45 for one channel of the buffer are illustrated. The first step in this operation, step 110, is to initialize the system for a write cycle. The first step in this operation is to set ϑ to a ϑ original angle, to set the sample count to 0 and to set the memory being written into in DMB 45 to memory 0. ϑ original would typically be one of the end lines of the scan, for example, the -45° line. When step 110 has been completed, the operation proceeds to step 112 to determine if a scan line has been generated. This is primarily a synchronization step to assure that the write operations for all N channels begin in sync with the transmit timing. If a scan line has not been generated, step 112 is repeated until a "YES" output is obtained. When a "YES" output is obtained during step 112, the operation proceeds to step 114 to sample the channel. This would involve obtaining a sample for sample point n from the transducer for channel N. During step 116, the sample taken during step 114 is stored in the sample n position for channel N of the DMB. At the same time, the sample for point n for each other channel is also being stored in the n position of the appropriate channel in the N channel DMB. Once step 116 has been completed, the operation proceeds to step 118 to increment the sample count, and during step 120 a determination is made as to whether the current sample count is greater than the maximum sample count (m max ). If the sample count is not greater than m max , the operation returns to step 114 to take a complex sample at the new sample point, to store the sample and to again increment the sample count. This sequence of operations is repeated with successive samples being taken and stored, until during step 120 it is determined that the maximum sample count has been exceeded. When a "YES" output is obtained during step 120, the operation advances to step 122 during which the ϑ value is advanced to ϑ+Δϑ and the sample count is reset to 0. This sets up the conditions necessary to begin sampling for the next scan line. From step 122, the operation proceeds to step 124 to determine if the new ϑ angle is greater than the ϑend angle (for example, +45°). If it is determined that the ϑend angle has been exceeded, the operation proceeds to step 126 to reset ϑ to the original ϑ angle, thus restoring the system to its initial condition to begin a new scan cycle. Either from step 124 if a "NO" output is obtained or from step 126 if this step is performed, the operation proceeds to step 128 to toggle the DMB so that, for the next scan at the current ϑ angle, storing of samples during step 116 will be on the opposite port of the dual memory buffer 45 from the port on which samples were stored for the preceeding ϑ angle. Preferably, there are an even number of angle ϑ's so that storage for ϑ origin will always occur in a consistent port of the DMB. From step 128, the operation returns to step 112 to await the generation of the next scan line at the indicated ϑ angle so that samples at this ϑ angle may be stored. Before the data written on the DMB can be used, front end processor 40 performs an operation on each channel's data to convert the real samples into complex samples. The manner in which this conversion takes place has previously been discussed. The DMB is selected to have room for the complex samples in order to store the data after processing. FIG. 3B is a flow diagram illustrating the steps performed when complex samples are read out from the DMB 45 and utilized to perform beam forming and scan conversion . Most of FIG. 3B is for only a single channel, with only steps 142 and 144 being for all channels. The first step in the read operation, step 130, is to initialize for the read cycle. This involves setting the memory or buffer count for DMB 45 to 1, and setting X and Y to their original values. In the illustrative example, the original values for both X and Y are 0, these values thus being set to the 0,0 position shown in FIGS. 4A and 4B. However, where display is to occur starting at another point, for example just above an organ (for example, the heart) of interest, X orig and Y orig could have other values. Once the system has been initialized, the operation proceeds to step 132 to determine if a scan line has been generated. This step is performed for the same reasons step 112 was performed (FIG. 3A), namely, to synchronize the operation. When a scan line is generated, all of the N channels would simultaneously proceed to step 134 to calculate certain values for the X i and Y j positions then being looked at. In particular, referring to FIG. 4B in conjunction with FIG. 3B, the values calculated are the value d t which is the distance from the origin point to the pixel position X i ,Y j , the angle ϑ′ at which the d t line extends from the origin and the distance d rn from the channel transducer to the X i ,Y j pixel position. A value required to determine the three indicated values during step 134 is the value d n which is the distance from the origin point to the center of the nth transducer. This is a fixed value which is known from the geometry of the transducer array. The distances to the point X i ,Y j can be determined from the numerical value of X i and Y j times the spacings, KX and KY, respectively, between grid lines in the X and Y dimension for the pixel display. For purposes of discussion, it will be assumed that these values are normalized to 1 so that d t may be calculated from d t = X 2 i +Y 2 j ϑ′ may then be calculated from the relationship ϑ′=tan⁻¹(Y j /X i ) d rn may calculated from the relationship d rn = d 2 n +d 2 t -2d n d t cosϑ′ Preferably, a separate dedicated circuit would be provided for each channel to do the calculations of step 134. Once step 134 has been completed, the operation proceeds to step 136 to compute the transit time T for an ultrasonic signal received from the pixel point X i , Y j at transducer n. This time is a round trip time and is, therefore, determined by the equation T=(d t +d rn )(1/vel) where "vel" is the velocity at which sound propagates in the medium. For an ultrasonic medical scanner, it is well-known by one skilled in the art that "vel" may be considered to be a constant 1540 m/sec. If desired, this value alternatively may be determined for a particular patient or for a particular portion of the patient's body being scanned. Again, step 136 would be performed for each of the N channels. Since d rn would be different for each of the channels, the transit time T would also be different for each channel. During step 138, the next step in the operation, the complex samples which were read and stored for the channel for times which straddle the time T determined during step 136 are read out from the appropriate side of memory 45 and, during step 140, these complex sample values are interpolated to determine a complex sample value at the time T. The sample values read out are complex samples and the interpolation is performed separately for real and imaginary values. The interpolated complex value determined during step 140 is the value for channel n for the pixel point X i , Y j . This value is applied to a summing circuit during step 142 where real and imaginary values are summed with the complex values determined for pixel X i ,Y j during step 140 for the other N channels. Step 142 is basically the beam forming step, the beam forming being performed for the pixel point so that scan conversion is being concurrently performed. The sum determined during step 144 is stored during step 144 in the pixel position for the X i ,Y j pixel in the unused half of frame buffer 46. From step 140, the operation also proceeds to step 146 to determine if the end of the required processing for the particular scan line has been reached. As will be described in greater detail later, this occurs when all pixel points for the wedge W k surrounding the scan line R k at angle ϑ k have been looked at and the beam forming/scan conversion operation for all pixel points within the wedge W k have been completed. One easy way to determine this is to select a maximum radius Rmax for the operation and to, as shown for step 146, terminate the operation for the given scan line when d t >Rmax. Thus, if a "YES" output is obtained during step 146, then the operation is ready to look for pixel points 64 within the wedge-shaped section W m formed around the next scan line. The operation thus proceeds to step 148 to toggle the DMB to its other side, to reset X and Y to their original values (i.e. X i = 0,Y j = 0) and to set ϑ equal to the ϑ value for the last Write cycle. The reason for the last step is that reading during this next Read cycle will occur for values stored during the preceding Write cycle. Once step 148 has been completed, the operation returns to step 132 to wait for the next scan line to be generated so that a synced read operation for the new ϑ line may be commenced. If the end radius is not reached during step 146, the operation proceeds to step 150 to select a new pixel address. The procedure for selecting a new pixel address is illustrated in FIG. 3C, and is similar to the procedure for selecting pixel addresses for the wedge-shaped section between two scan lines in the beforementioned Patent 4,471,449. An alternative procedure for finding pixels within a wedge-shaped sector is taught in U.S. Patent 4,896,283 to Barry F. Hunt. FIG. 3C illustrates a general procedure for performing this operation when there is a negative ϑ angle. A fully equivalent procedure would be followed for positive ϑ angles. Prior to performing step 150, the select new pixel routine is initialized during an initialized step such as step 130 or step 148 so that Xi and Yj are both initially 0 and the direction in which X values are incremented is set in the direction of ϑ. For FIG. 3C, this is assumed to be the -1 direction. Thus, referring to FIG. 4A, X would initially be set to increment to the left for ϑ k values such as ϑ k . For ϑ k values on the other side of center line 67, the X direction would be set so as to initially increment to the right. The objective of the routine shown in FIG. 3C is to locate all points within the wedge-shaped section W₂ of width Δϑ with the scan line at the angle ϑ₂ at its center. This is accomplished by starting with the 0,0 point and then scanning pixel points in a zigzag pattern to find pixel points within the wedge. Thus, from 0,0, X would be incremented and a test made to determine if the resulting point was within the wedge. If the point was outside the wedge, then Y would be incremented and the direction of X reversed. X is then incremented in the opposite direction along the new Y line and each successive point is tested to determine if it falls within the wedge. If the X value falls within the wedge, it is utilized, if it does not fall within the wedge, X is incremented again and a new test made. Since it is possible that no pixel on a given Y line may fall within the wedge, at least for early values of Y j , it may also be necessary to test after incrementing X to see if the new value is on the opposite side of the wedge from the preceding value. Each time a pixel value looked at is either on the opposite side of the wedge from the preceding value or is outside the wedge where the preceding value is inside the wedge, the value of X is incremented one more time, the value of Y is incremented and the X direction is reversed to begin another scan across a new Y line. This process is repeated until the end of state count is reached, or in other words until the end of the highest Y line of interest is reached. Referring to FIG. 3C, these operations are accomplished by initially incrementing X i from its previous value, step 152. From step 152, the operation proceeds to step 154 to determine the ϑ′ angle for the new point X i ,Y j being looked at (step 154). The angle ϑ′ is equal to tan⁻¹(Y j /X i ). Once ϑ′ has been determined, the operation proceeds through steps 156-170 to determine the relationship of the angle ϑ′ to the wedge being looked at and to take certain actions based on this determination. As previously indicated, the wedge of interest for the angle ϑ k is bounded on one side by a line at the angle (ϑ k -Δϑ/2) and is bounded on the other side by a line at the angle (ϑ k +Δϑ/2). Thus, during step 156, a determination is made (a) if the direction is the minus direction, and (b) if ϑ′ is greater than the left-hand wedge boundary line (ϑ k -Δϑ/2). If this condition is true, referring to FIG. 4A, it means that the pixel being looked at is to the left of the left-hand one of the lines 66 with incrementing of X values being to the left. Thus, the point being looked at is outside of the wedge W k of interest and further incrementing of X in the minus direction will also yield points outside of the wedge. Thus, the operation proceeds to step 158 under these conditions to change the direction of the scan, in this case changing the direction to the +1 direction, and to increment the value of Y j to Y j +1. When step 158 has been completed, the operation returns to step 154 to compute the ϑ′ value for the new pixel point. From step 154, the operation then proceeds again to step 156. Assuming this time that a negative output is obtained during step 156, as would be the case if step 158 had been performed, causing the direction to now be the +1 direction, the operation would proceed to step 160. During step 160, a determination is made as to whether the direction is the positive direction and whether ϑ′ is still less than or to the left of the left-hand boundary of the edge W k . Assuming that the new point is still outside of the wedge, the operation proceeds to step 162 to increment X in the appropriate direction, in this case the plus direction, so that X i becomes X i +1. From step 162, the operation returns to step 154 to determine the ϑ′ angle for the newly selected pixel point and then proceeds to step 156. Under the previous assumption where the operation is in the plus direction, a no output would be obtained during step 156, causing the operation to proceed to step 160. Assume now that ϑ′ is not less than the angle for the left-hand boundary of the wedge so that a "no" output is also obtained during step 160. This causes the operation to proceed to step 164 during which a determine is made as to whether the direction is the -1 direction and whether the ϑ′ angle is equal to or greater than the angle (ϑ k +Δϑ/2), which angle is the right-hand boundary of the wedge W k . Since under the assumptions being made, the direction is in the +1 direction at this time, a "no" output would be obtained during step 164. However, if a "yes" output were obtained during step 164, it would mean that the search was proceeding to the left along the given Y line and was currently outside of the wedge and on the right side thereof. Therefore, to get into the wedge, the proper procedure would be to increment X by 1, in the negative direction as indicated by step 166. Since a no output was obtained during step 164, the operation proceeds to step 168 to determine if the scan is proceeding in the positive direction (i.e., from left to right as viewed in FIG. 4A) and the angle ϑ′ is greater or equal to ϑ k +Δϑ/2. If this occurs, it means that the scan is proceeding to the right and that the point being looked at is outside the right boundary of the wedge W k . If a "yes" output is obtained during this step under the conditions previously discussed, it means that there is no point or pixel 64 within wedge W k for the given Y line Y j . This might occur for a Y j line close to the origin, for example, line Y l , but should not otherwise occur. In any event, when a "yes" output is obtained during step 168, it means that the scan must advance to the next Y line and the direction of scan changed. This is accomplished during step 170 which causes the direction of scan to be changed, causes X i to be incremented by 1 in the proper direction (incremented by 1 in the new direction), and Y j to also be incremented by 1. If a "no" output is obtained during step 168, it means that "no" outputs have been obtained during steps 156, 160, 164 and 168. Under this condition, the point being looked at is determined to be within the wedge W k . The operation thus proceeds to step 172 to generate an indication that the value X i , Y j is a valid pixel value which may be utilized during step 134 (FIG. 3B) to perform beam formation and scan conversion in the manner previously described. From step 172, the operation proceeds to step 174 to increment the X value in the direction currently being scanned and the operation then returns to step 154 in preparation for the next time step 150 is to be performed. Since the pixel points 64 are displaced from the scan lines by some ϑ angle, and since the received signal is optimum for the ϑ angle and drops off slightly for points off this angle, some gain correction may be required to compensate for the detected points being off angle based on ϑ′ and d t . FIG. 5 is a flow diagram of the operation for an alternative embodiment of the invention. Reference will also be made to FIG. 6, which illustrates the operations being performed during a scan and is useful in understanding the flow diagram of FIG. 5. Referring first to FIG. 6 the transducer head 10 is shown as having 128 elements, with all 128 elements being utilized in the scan aperture. Thus, there are 128 channels N in the system. The scan direction is indicated by the line 60 projecting at an angle ϑ from the center of the array 10. The points of interest are the points 61 where the line 60 crosses a Y boundary of the X-Y matrix grid on which the scan line 60 is to be displayed. A pixel 64 of the display appears at the junction of each Y line of the grid with each X line. However, while the points of interest for line 60 are the points 61 at which Y-crossings occur, sampling for the line 60 normally occurs at a much higher rate and normally at points other than Y-boundary crossing points 61. Assume initially that, for a given sample, all of the transducer elements are focused to the point P along line 60. Because of the location of point P, it is seen that the path to this point from element number 1 is shortest, and that the length of the path increases for successive transducer elements, being longest for element 128. Thus, assuming that echoes from the point P travel at a uniform rate to all of the transducer elements, an assumption which is generally valid so long as all of the beams are passing through substantially the same medium, the echo signal from the point P will arrive earliest at transducer number 1 and will arrive at successively later intervals at the succeeding transducer elements, arriving last at transducer element 128. However, if the point P is closer in along line 60, the beam would arrive earliest at some intermediate transducer element, with the duration increasing for transducer elements on either side of such element. The time of arrival pattern along a scan line having an angle ϑ other than the angle ϑ shown for the line 60 would also have different arrival time patterns from those for the line 60. Since it is necessary to sum the echo signals arriving at all 128 transducer elements for the point P to determine the value for this point, beam forming is required to compensate for the varying times of arrival of the echoes from the point. Referring again to FIG. 5, the first step in this operation, step 70, is to initialize scan line and depth. Thus, ϑ is set to an original ϑ angle, for example the ϑ angle for the left-most scan line which might typically be -45°, and depth is set for some Y-origin value. Y-origin is limited by the close-in resolution of the transducer, but is normally determined by the depth of the organ or other item of interest for the scan. For example, if a scan of the heart is desired. Y-origin could be set so the sampling begins at a depth just above where the heart is located. Once step 70 has been completed, the operation proceeds to step 72 to determine if a scan line, for example the scan line 60, has been generated. Assuming the scan aperture includes all of the transducer elements, all 128 elements would be energized to generate the scan line. If a scan line has not been generated, nothing further happens until a scan line is generated. When a scan line is generated, the operation proceeds to step 74 to sample values for echo signals received at each of the transducer elements, with M evenly spaced samples being taken along each of the lines. As is illustrated in FIG. 6, the transducer elements are steered at angle ϑ and focussed at some desired target depth along ϑ, for example, point P along the line 60 at the desired angle ϑ. The beams for transmission purposes can be focused to any point along the line 60, and would normally be focused to a point at the center of the area of interest. This results in maximum energy being received by the transducer elements for points along the desired scan line in the area of interest. The transmit focus and receive beam forming operations assure that the echoes which are utilized are, in fact, primarily along the desired scan line. The M samples times N elements (for a total of MXN samples) which are taken for the ϑ scan direction are then stored in N channel dual memory buffer 45 during step 76. Before the data can be used, the front end processor performs an operation on each of the N channels data to convert the real samples into complex samples. The manner in which this conversion takes place has previously been discussed. The memory 45 must have room for the complex samples in order to store the data after processing. During step 78, the next step in the operation, processor 40 interpolates the stored values to obtain values for each channel (transducer) at each Y-boundary crossing of a scan line (i.e., the value for a line at the point where the line intersects a Y-boundary line). It is during this interpolation step that the beam forming operation is started. For example, for the scan line received at transducer number 3, the crossing with the Y3 grid line might occur between samples 10 and 11. By the same token, the crossing with the Y3 grid line for signals received at transducer 128 might, for example, be between samples 23 and 24. The appropriate samples for each channel for each Y-crossing to be utilized for performing the interpolation may be determined in a number of ways using known dimensions and standard geometry formulas. One way is to draw a line 80 from the point P perpendicular to phased array 10 and to determine the length of this line to the array. The distance from the center of each transducer element to this line along the array direction can also easily be determined. These values then provide two legs of a right triangle from which the hypotenuse can be determined. Simple ratios can then provide the distance along this hypotenuse to each Y-boundary crossing. This distance, divided by the sample density (samples/distance) provides the sample numbers or times to be utilized for interpolation purposes. Thus, if for a given Y-boundary crossing on a given line, it is determined that the Y-boundary crossing was at sample 10.4, the sample value at the Y-boundary crossing would be equal to the value of sample 10 +.4 of the difference between samples 10 and 11. Step 78 is initially performed for the first point 61 of interest along line 60 and is then repeated for successive points 61 along line 60 until interpolation has been performed for all the points 61 of interest along this line for all channels on a particular scan direction with the results stored in working memory 44. Thus, while for purposes of generating the ultrasonic signal, the beam is steered and focussed at some predetermined point along angle ϑ (i.e. point P along the line 60), the received signal is processed in a manner so as to be focused at each successive point 61 along the line 60 which is of interest. For example, the line lengths and angles for the point P′ are different than those for the point P, meaning that different samples would be utilized for interpolating the Y crossings for the received echo signals for point P′ than were used for determining the Y crossings for the point P. This is the equivalent of modifying the delays for an analog delay line as the depth of scan increases. However, unlike a tapped delay line, digital compensation can be continuous to any desired degree of accuracy. At this point it should be noted that, as mentioned earlier, there are at least two samples for each point, a real sample and an imaginary sample. During the interpolation operations the real values and imaginary values are separately interpolated so that real and imaginary values are obtained for each Y-crossing. During step 82, the next step in beam formation, for each Y-boundary crossing (i.e., for each Y-boundary line Y0-YP, where P is the total number of lines Y) the N real samples determined and stored during step 78 for that Y-boundary crossing and the N imaginary samples determined during step 78 for the boundary crossing are separately added together. This sums the contributions from each of the N elements of the array in a phase coherent manner. The computed real and imaginary values are then stored during step 84 as the magnitude of the complex sample at the crossing in the dual frame buffer 46. During step 86, a determination is made as to whether there are more Y-boundary crossings. If there are, the operation returns to step 88 to increment the Y-boundary counter to a value Y = X + 1, and the operation returns to step 82 to add real and imaginary Y-boundary crossing samples for the new Y-boundary crossing to determine the magnitude of the complex sample at such crossing. When during step 86 it is determined that all Y-boundary crossings of interest have been computed for the given scan line, the operation proceeds to step 90 to determine if there are more scan lines of interest. If there are more scan lines of interest, then the operation proceeds to step 92 to initialize the Y-boundary counter to Y = Y origin and to step 94 to increment the scan line by a desired Δϑ angle, ϑ = ϑ + Δϑ. Since the ϑ shown in FIG. 4 is a minus angle, for example -45°, assuming a Δϑ of 3/4°, the new ϑ would be -44.25°. From step 94, the operation returns to step 72 to await the generation of the scan line at the new angle. When the scan line at the new angle is generated, sampling is performed during step 74. The samples are stored during step 76. The stored samples are interpolated during step 78 to obtain Y-boundary crossings, and the Y-boundary crossings are added and stored as a magnitude of a complex sample at the crossing during steps 82 and 84, all in the manner previously described. These operations are repeated as a result of steps 86 and 88 until operations on the new scan line are completed. The entire operation is then repeated for successive scan lines until, during step 90, a determination is made that all scan lines for a given scan have been processed. When a "NO" output is obtained during step 90, the operation proceeds to step 96 to perform X interpolation on the stored samples as the output display is raster scanned. This is a fairly straightforward operation which can be performed, for example, in the manner described in the two previously-mentioned patents of the assignee. In particular, the Y-boundary values along a given Y line which are on either side of each X-boundary line are determined, and these values are then interpolated to determine the sample value at the junction or pixel point 64. This X-interpolation compensates for over-sampling in the X direction which occurs at shallow depths and under-sampling in the X direction which occurs at greater depths, this under- and over-sampling being apparent from FIG. 2B. More particularly, there may be two or more Y-crossing sample values between adjacent X-grid lines for the lower numbered Y-grid lines, while there may be two or more X-grid lines between successive Y-crossing values for the higher numbered Y-grid lines. In either event, the Y-crossing values which are on either side of the X-grid line are utilized for determining the sample value at the desired point 64. While successive scan lines are writing into one side of the dual frame buffer with Y boundary beam formed results, the other side of the dual frame buffer is outputting the previous frame's data on a Y boundary basis for doing X-direction interpolation on the fly with the output display, 48, raster scan. On the completion of step 96, the operation returns to step 70 to initialize the system for a new scan cycle. FIG. 7 is a flow diagram for an alternative embodiment of the invention wherein samples are initially taken at Y-boundary crossings, eliminating the need for the interpolation step 78. In FIG. 7, the same numbers have been used as in FIG. 5 for common steps. Thus, initialize step 70 is the same for the alternative embodiment as is step 72 which involves waiting for a scan line to be generated. However, in FIG. 7, once a scan line is generated, the operation proceeds to step 100. During this step, sampling control circuit 36 generates timing controls to A/D converters 14 such that sampling signals are generated for each channel at the points where such channel crosses a Y-boundary. Again, real and imaginary samples would be obtained at each point using one of the techniques mentioned earlier. In order to implement this embodiment of the invention, it is necessary that a dedicated timing chip or the equivalent be provided for each of the N elements of array 10 which form part of the aperture. The timing signals for each element or channel would be based on the element number, the scan angle and the depth of the Y-boundary crossing for which the timing signal is being generated. In particular, for a given channel, the distance r Ni from the transducer element for the given channel to the point 61 where the scan line at the angle ϑ crosses a given Y-boundary line is given by the equation: r Ni = d 2 N +R 2 i -2d N R i sinϑ where d N is the distance to the center of the transducer measured from the center of the array (see FIG. 6), R i is the distance along line 60 to the point 61 at which the calculation is being made, ϑ is the angle as shown in the figure. The time at which the sample should be taken for a given channel and Y-crossing may be determined from the equation: t Ni =K(R i + d 2 N +R 2 i -2d N R i sinϑ ) where K = 1/velocity of sound in medium through which beam is passing. Assuming the apparatus is being utilized to scan the human body, K would be approximately equal to 1/velocity of sound in water. The t Ni values calculated for each channel for each Y-crossing point are utilized to clock the corresponding A/D converters 14. The resulting samples are then stored in N channel dual buffer memory 46 during step 102. From step 102, the operation proceeds to step 82 to sum the real and imaginary samples at the Y-boundary crossing points, to step 84 to store in dual frame buffer 46 the magnitude of the complex sample at each crossing which results from step 82 and to step 86 to determine if there are more Y-boundary crossings. These steps are all performed in exactly the same manner as for FIG. 5. The remaining steps in the operation are also performed in the same manner previously described in conjunction with FIG. 5 to determine values for the intersections or pixel points 64. The advantage of the approach described in conjunction with FIG. 7 is that it eliminates the need to interpolate data for Y-boundaries. It is also advantageous in that, with the embodiment of the invention shown in FIG. 5, the A/D converters are running at high speed, for example 20 mhz; however, only about 1/10 of the samples are used for purposes of display. For example, 400 samples are typically displayed along a 200 microsecond scan line yielding a 2 mhz display rate. Thus, the technique of FIG. 7 results in much lower speed requirements on the A/D converters, permitting lower cost converters to be used. Alternatively, analog signals from different channels may be multiplexed onto a single A/D converter, reducing the number of converters required by as much as a factor of 10. This may result in substantial cost savings. However, this approach is disadvantageous in that parallel received lines could not be processed without a whole new bank of A/D converters and associated timing controls. In addition, each A/D converter is clocked in general at a different rate adding additional timing and control circuitry. The complexity of the clocking for this embodiment of the invention would normally mitigate against its use. The embodiment of FIGS. 3A and 3B is thus the preferred embodiment because it offers simultaneous beam formation and scan conversion with the beam being formed at pixel locations in order to minimize scan artifacts. This embodiment of the invention is also relatively simple to implement, particularly compared to the embodiment of the invention shown in FIG. 7, and permits parallel beams to be formed straddling a main angle ϑ by just adding more calculating paths leading from the same dual memory buffer. While the invention has been particularly shown and described above with reference to three embodiments, it is to be understood that these are merely illustrative of techniques which could be utilized to perform beam formation and scan conversion in a single (or near-single) operation using a digital front end, and that other techniques might also be utilized to accomplish the same function. For example, while for the embodiments of FIGS. 5 and 7 X-crossings have been determined during step 96 by interpolation, it is possible, with only a slight decrease in accuracy, to use the closest Y-boundary crossing value as the pixel or junction value rather than interpolating to determine this value. Further, it is possible to start determining X-crossing values after Y-boundary crossings for two or more scan lines have been determined and to continue to determine X-boundary crossings as additional scan line Y-boundary crossings are determined, rather than doing the X-boundary determinations after all scan line Y-boundaries have been determined as for these embodiments. Similarly, the specific hardware shown and sequences of steps have also been provided primarily for purposes of illustration and other suitable hardware or sequences of steps could also be utilized to achieve the desired objective.

Claims: A phased array ultrasonic scanning system, which comprises: means to utilize N channels of the array to generate successive scan lines (R1, R2 .. RN) at predetermined angles (ϑ) with respect to a normal axis, means adapted to control a pixel matrix display (48) such that echo signals, reflected from within a medium back to said array, are displayed on said display, from which array said signals having been transmitted, and received by channel elements of the array (10), said system being characterised in that it is operative to simultaneously perform digital beam formation and scan conversion and further comprises a digital front end (14,36,40,44,45) which front end in turn comprises: sampling means (14,36) to obtain samples by sampling the echo signals from each of the N channels at selected points (xn,ym) along the echo signals for each scan line, said selected points corresponding to points within the medium which reflect ultrasonic signals transmitted from elements of the array; first utilizing means (78,140) to utilize the said samples at the selected points to determine sampling values for the N channels at points related in a predetermined way to the location of pixels within the pixel matrix; summing means (84,142) to sum the values for the N channels at each of said points to obtain a summed sample value for the point; second utilizing means (96,144) to utilize the sample values for the points to store summed sample values which summed values contain converted information relating the scan lines to the pixel matrix display. A phased array ultrasonic scanning system as claimed in claim 1 characterized in that said pixels (64) are located at the junctions of first (Yo,Yn) and second (Xo,Xn) grid boundaries; that said first utilizing means (78) stores values at crossings with the first of said grid boundaries; that said summing means (82) sums the values for the N channels at each first boundary crossing to obtain a sample value at the crossing; and that said second utilizing means (96) utilizes the sample values for the scan lines at the first set of boundary crossings to obtain values for the pixels (64) at the junctions of the first and second boundaries. A phased array ultrasonic scanning system as claimed in claim 2 characterized in that said sampling means (14,36) samples the signal for each channel at M substantially uniformly spaced points along each signal; that the first utilizing means (78,140) includes interpolating means (78) to interpolate at least the two samples closest on either side of each first boundary crossing for each channel to obtain the value for the boundary crossing for the channel, and storing means (78,44) to store the interpolated sample values; and that said second utilizing means (96) includes interpolating means (96) to interpolate the sample values at the first set of boundary crossings to obtain said pixel junction values. A phased array ultrasonic scanning system as claimed in claim 1 characterized in that the sampling means (14,36) samples real and imaginary values, and that said summing means (82,142) sums separately for real and imaginary values. A phased array ultrasonic scanning system as claimed in claim 1 characterized by: selecting means (150) to select pixel points (P m ) in a predetermined sequence for at least a given scan line; and determining means (136) to determine a transit time (T) for each channel for each selected point (p m ); wherein the first utilizing means includes means (140) to utilize samples for a channel at times straddling the time (T) to determine the sample for the corresponding point (p m ) for the channel; wherein the summing means (142) sums the values for each point (p m ) for the N channels; and wherein the second utilizing means (144) stores the summed output for each point (p m ) as the value for the corresponding pixel. A phased array ultrasonic scanning system as claimed in claim 5 characterized by: a dual memory buffer (45) having N channels on each of its ports; and wherein the samples for each channel from said sampling means (14) for a scan line at an angle (ϑ) are stored in corresponding channels on one port of the dual memory buffer (45), the port of the dual memory buffer (45) on which samples are stored being toggled for successive scan lines; and wherein the first utilizing means (140) utilizes samples from a preceding scan on one port of the dual memory buffer (45) while new samples from the current scan at the angle (ϑ) are stored on the other port of the dual memory buffer (45). A phased array ultrasonic scanning system as claimed in claim 5, characterized in that said transit time determining means (136) includes means (134) to determine for each channel N the time (d t ) for the scan line at the angle (ϑ) to reach the point (p m ) means (134) to determine for each channel the time (d rn ) for a reflection from the point (p m ) to reach the element for the channel, and means (136) to utilize said times (d t ,d rn ) to determine the transit time (T) in accordance with the relationship T=(d t +d rn ) (1/vel), where vel is the velocity at which sound propagates for the scan. A phased array ultrasonic scanning system as claimed in claim 5 characterized in that said selecting means (150) includes establishing means (156,160,164,168) to establish a wedge-shaped section for each scan line, the section extending between lines at angles ϑ±(Δϑ/2) where e is the angle between the scan line and said normal axis and Δϑ is the spacing between adjacent scan lines, and selecting means (158,162,166,170,174) to select pixel points within said wedge-shaped section in a predetermined pattern when samples for the scan line are being utilized.

Inventors: LEAVITT STEVEN C, LEAVITT, STEVEN C.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1992
Main classification: G01S7
IPC codes: G10K11, G01S7, G01N29, A61B8