Optimization, implementation, and performance of TMS coils with maximum focality and various stimulation depths

Transcranial magnetic stimulation (TMS) is a non-invasive method for brain stimulation widely employed in neuroscience to investigate and probe brain function and connectivity. Furthermore, TMS has received FDA approval for treating depression [1] as well as various other psychiatric and neurological disorders [2, 3]. During a TMS session, a coil placed on the scalp and driven by brief strong current pulses induces an electric field (E-field) in the brain. Enhancing the focality and depth of this induced brain E-field provides greater flexibility and selectivity in targeting deep brain regions. Consequently, prior studies have attempted to design coils with improved focus and penetration depth [419]. We previously developed a computational method for designing focal-deep (fdTMS) coils that achieve optimal trade-offs between focality, depth, and energy. Numerical studies demonstrated that coils designed using this framework can outperform the state-of-the-art figure-8 coils [20]. In this paper, we extend the fdTMS framework beyond its original numerical formulations by explicitly addressing practical implementation constraints. We present an optimization pipeline that turns theoretical windings into manufacturable coil geometries with adequate clearance for wire cross-sections and hybrid-layer builds, improving energy efficiency. We then benchmark the resulting designs against commercial figure-8 coils, showing superior depth–focality trade-offs. E-field simulations and bench experiments confirm that the optimized coils deliver significantly greater focality while remaining feasible for high-current TMS operation.

Figure-8 type coils consist of two circular coils placed side-by-side [21]. Until recently, these coils were considered to provide an optimal depth–focality trade-off [21]. Computational coil design methods employing the stream function approach [22] have recently been used to design coils that improve energy efficiency [11, 19, 2332], reduce sound artifact [33], and produce more focused and deeply penetrating E-fields [11, 20]. These studies have also revealed that to achieve a more focal stimulation, increased coil energy is required [11]. Additionally, coil supports that better conform to the head will better achieve energy trade-offs than non-conformal ones [11, 23]. However, perfectly conformed coils cannot be used across individual head shapes or different cortical targets, leading to ‘hat’ shaped coils [23]. This study describes an optimized hat-shaped coil support that outperforms flat supports in energy efficiency while providing ergonomic adaptability across head sizes, cranial morphologies, and scalp positions.

The half-maximum E-field threshold—defined relative to the peak and therefore scale-independent—is commonly used as a figure of merit for benchmarking coil focality and stimulation depth [21]. We tested the sensitivity of this choice by analyzing alternative thresholds and by designing coils to optimize depth–focality trade-offs under these thresholds. Designs based on the half-maximum criterion were nearly indistinguishable from those based on other thresholds, indicating that the half-maximum region is a robust figure of merit for ranking coils by E-field distribution shape despite reasonable variations in activation threshold.

The optimized fdTMS coils concentrate smaller windings near the center and adopt more intricate patterns than conventional figure-8 designs. A typical fdTMS coil comprises a compact figure-8 core augmented by four ‘cancellation’ loops and two larger lateral ‘biasing’ loops. Because the figure-8 loops are small and the wire cross-section is constrained for energy efficiency, meeting driver-compatible inductance would otherwise require multilayer windings that increase energy demand. We developed a winding-synthesis method that applies multiple layers only in critical regions and single layers elsewhere, limiting the energy penalty while achieving the target inductance. We also created a semi-automatic workflow to generate a 3D coil former with integrated grooves for the windings and features that enhance subject safety and comfort. Performance was quantified and benchmarked against commercial coils using E-field simulations, bench measurements, and human motor mapping.

In summary, this paper contributes (i) a manufacturability-aware pipeline that converts Pareto-optimal surface currents into realizable multilayer windings under explicit constraints on wire cross-section, winding spacing, and inductance; (ii) a hybrid multilayer discretization strategy that preserves the targeted intracranial E-field while satisfying manufacturing constraints; (iii) a ‘hat’ support that improves placement flexibility over practical cortical targets while remaining partially conformal; and (iv) experimental validation including E-field mapping and human motor mapping, which has not been previously demonstrated for focal-deep designs derived from optimal-current theory.

In this section, we describe our proposed approach for designing and fabricating fdTMS coils. Firstly, we introduce the coil design parameters and figures of merit used to assess coil performance. Detailed methodologies for optimizing these parameters were previously presented [20]. Secondly, we describe the methods used to modify the optimal design, making it compatible with our coil fabrication procedures. In the third part, we outline the procedures for coil fabrication and provide details about the validation measurements of the coil’s E-field. Lastly, we provide additional details about figures of merit used for computational comparisons with conventional coils.

2.1. Coil design parameters

The coil windings were assumed to reside on a surface $}$ that is approximated by a triangle mesh consisting of $$ nodes and $$ flat triangle cells. The winding paths were chosen such that when driven by a TMS coil driver they will approximate the E-field generated by a surface current on $}$ (this process is given in the next section). To determine the optimal current, it was assumed that it is in the span of the $$ seed currents $}_i}\left( } \right) = - \widehat } \times \nabla \left( } \right)$, where $i } \ldots }$, $}} = \left(  \right)$ denotes Cartesian position, and $\left( } \right)$ are nodal finite elements on the triangle mesh [22]. In other words, surface current distributions $}\left( },t} \right)$ are defined on a coil surface $}$ (figure 1) as

Equation (1)

Figure 1. Coil current density parameters and E-field figures of merit definition. (A) Each seed current corresponding to internal nodes of the coil support triangle mesh is linearly combined to generate surface current distributions. (B) The E-field generated in a spherical head model by each coil is computed, and stimulation depth and volume figures of merit are extracted.

Standard image High-resolution image

where $\lambda = ,, \ldots ,}}} \right)^}}$ is a vector of weights, each $$ (where $ \ldots }$) is a real number, and $p\left( t \right) = }\left(  \right)$ and $\omega = 3000}}^} \cdot 2\pi $. Note that $p\left( t \right)$ was assumed to be time-harmonic to simplify the exposition. However, because of the relatively low-frequency content of TMS pulses, the results apply to other current waveforms as well.

The above seed currents are known to span all piecewise linear currents with zero divergence on the triangle mesh [34], which thereby forms an adequate basis for approximately including all admissible E-fields generated by non-dissipative surface current distributions on $}$.

2.2. Coil performance figures of merit

The fdTMS coil optimization takes as input a triangle mesh (or parametrization) of the surface $}$ and a set of seed current distributions $}_i}\left( } \right)$, where $} \ldots }$. Then, it finds Pareto optimal currents $}\left( },t;}}}} \right)$ that achieve optimal trade-offs with respect to stimulation energy, depth, and volume. The coil figures of merit are defined as follows:

(i)  

Minimum stimulation volume: the stimulated volume $V$ was defined as Equation (2) where $}\left( };\lambda } \right)$ denotes peak E-field at location $}$ induced by the surface current $}\left( },t;\lambda } \right)$, $\left\| \cdot \right\|$ denotes vector magnitude, $}u\left( x \right)$ is a unit step function, the integration is over the brain region (denoted $Brain$), and $}}}$ is the E-field at the targeted depth location. The value of $u\left( }\left( };}} \right) - }} \right)$ is one if $}\left( };}} \right)$ is above the stimulation threshold and zero otherwise. As a result, equation (2) measures the volume of the region above threshold.

(ii)  

Maximum depth of stimulation: the depth of stimulation $d$ was defined along a line $}\left( l \right)$ chosen as a line that intersects at and is perpendicular to the center of the surface current support, i.e. $}\left( l \right) = }_}} + l}_}}$, $}_}}$ is the head unit normal pointing inwards at the point nearest to the coil center. In accordance, the stimulation depth is Equation (3) where $}\left( C \right)$ denotes the point on the cortex closest to $}_}}$. For example, figure 1(B) depicts the coil placed centered about and oriented perpendicular to the z-axis. In this case, the line in blue denotes $}\left( l \right)$ = $\left(  \right)}\widehat }}mm$. Furthermore, markers were included at $}\left( C \right) = - 20}\widehat }}mm$ and the lowest point with E-field above threshold $}\left( \left( \lambda \right)} \right)$. The value of $\left( \lambda \right)$ is the distance between these two points and the choice of $}_}}$ pointing toward the brain results in $}\left( \left( \lambda \right)} \right)$ being the deepest point stimulated.

(iii)  

Minimum energy: TMS pulses have relatively low-frequency temporal variation and their induced magnetic field is negligibly affected by the presence of the head. The magnetic energy stored in the current distribution can be computed using the Biot–Savart law [35] as Equation (4)

where $$ is the permeability of free space.

In addition to the aforementioned figures of merit, we combined $V$ and $d$ to define spread ($S)$ as the average transverse surface area of the stimulated region, calculated as $S = V/$ [21, 36].8 Reducing either $V$ or $S$ is equivalent to an increase in focality. Moreover, safety considerations impose limits on the maximum E-field strength. For a given $\alpha $, we assumed that E-field strength exceeding $\alpha }}}$ in the brain is unacceptable. Therefore, currents in the span of the modes that result in an E-field that exceeds $\alpha }}}$ in the brain were excluded from the admissible designs. Throughout, we used thresholded spread metrics, $}$, where $}\alpha > 1$. In prior research, a common selection was $\alpha = 2$. In this scenario, $V$, $$, and $S$ are equal to the figures of merit $}$, $}$, and $} = }/}$, respectively [20, 21, 36, 37]. Consequently, this led to $V$ representing the sub-volume of the brain where the E-field equals or exceeds half of its peak value, and $$ representing the greatest depth where the E-field equals or exceeds ½ of its peak value.

In many instances the peak E-field on the cortex was less than twice $}}}$. Furthermore, TMS pulse current could be increased or decreased, thereby allowing for the coil to stimulate deeper or shallower regions. As such, the energy and spread of a fixed coil is not a constant but a function of targeted depth. To account for this in the coil benchmarks we additionally considered the stimulation volume, spread, and energy for each coil as a function of targeted depth, i.e. $\left( d \right)$, $\left( d \right)$, and $\left( d \right)$, respectively, where $d \in (0,]$. $\left( d \right)$ and $\left( d \right)$, and $\left( d \right)$ were computed by driving the coil with a current that results in an E-field of $}}}$ at $d$. Furthermore, targeted depths that result in a peak cortical E-field above $\alpha }}}$ were considered unreachable and excluded from the evaluation of $\left( d \right)$, $\left( d \right)$, and $\left( d \right)$.

Finally, we considered the design of coils with the alternative choice of $\alpha = \sqrt 2 $ used in some publications [11]. We found that $\left( d \right)$, $\left( d \right)$, and $\left( d \right)$ for designs with either $\alpha = 2$ or $\alpha = \sqrt 2 $ achieve similar trade-offs for shallow depths, and the ones designed with $\alpha = 2$ achieved superior performance for larger depths. As such, we used and recommend $\alpha = 2$ to design fdTMS coils.

2.3. Coil winding generation

Here we discuss how we converted the current density $}\left( },\lambda } \right) = \mathop \sum \nolimits_^} }_i}\left( } \right)$ into coil windings. Our approach started by adopting the standard coil winding generation approach that defines the stream function of the current $}\left( },\lambda } \right) = \mathop \sum \nolimits_^} \left( } \right)$, where $}\left( },\lambda } \right) = - \widehat } \times \nabla }\left( },\lambda } \right)$. The contour lines of the stream function point in the direction of the surface current and trace out regions of constant current. Furthermore, since the current is dependent on the gradient of the stream function, an approximation of the surface current was made by placing wires on contour lines that are an equal elevation distance apart (i.e. equispaced contour intervals). For example, if we choose $M$ equispaced contour intervals, then, the wires are placed at contour elevation levels of

Equation (5)

where $i = 1, \ldots ,}M.$ These wires were then typically connected serially to generate a coil design. This approach has been shown to yield coil designs that match the surface current distribution and by proxy E-fields. For a fixed capacitor capacitance and voltage, the peak current and resonant frequency are inversely proportional to the square root of the coil inductance. The value of $M$ is typically chosen to result in a coil design that matches a desired inductance that results in a specified TMS pulse width and peak current.

For fdTMS coil designs, the contour lines typically concentrate near the coil center, and it is difficult to attain the TMS driver required inductance ($ \ge 8.5\,\mu }$) without using multiple layers of wire. Adding multiple winding layers results in a design that is less energy efficient than a single layer design. To achieve the desired inductance while accommodating enough contour intervals to achieve a desired inductance we adopted two strategies.

One evaluated strategy was to add constraints to the optimization to ensure that the stream function would allow enough concentric loops to fit the required number of turns of the windings. For a given choice of $M$, the closest any two windings can theoretically be is $dis} = }_}\left( M \right)\max \left\| }\left( },}} \right)} \right\|$. Following established practice [38], we set the additional constraints to our fdTMS design framework to guarantee that $}}_}}} \ge }}}$, where $}}}$ is the wire width. This was done by enforcing $}_}\left( M \right)\max \left\| }\left( },}} \right)} \right\| \le }$, i.e. by constraining the maximum value of the L-infinity norm and as such ensuring fit for wires of width $}}}$. Note that this approach differs from previous optimizations that used the L-infinity norm as the cost function, which have been shown to yield designs with more spread-out concentric windings [24], or from alternative winding-spacing optimization approaches [39, 40] since our results only needed to satisfy a fixed constraint to fit a prescribed wire size. Correspondingly, outside this region, the optimization is unconstrained and may generate currents where it best supports deep focal stimulation.

We iteratively implemented this constraint by first running the fdTMS framework and adding constraints where the condition was violated. The value of $}_}}}\left( M \right)$ was determined using the stream function of the previous design iteration. The constraint of $\max \left\| }\left( },}} \right)} \right\|$ was approximated by 16 linear constraints by using the same approach that was used for the E-field constraint in [11]. This procedure converged after 2–5 iterations for all cases tested here. For any given $M$, $}}_}}}$ could only be reduced marginally while maintaining the same performance. As a result, these additional constraints still required the use of multiple layers.

The second evaluated strategy adopted a hybrid approach where the coil has multiple layers only on critical regions where the concentric windings are densest. This strategy exploited the fact that the induced E-field is relatively insensitive to small perturbations of the winding layout. Instead of using uniformly spaced stream-function contours, we selected non-uniform contour levels as winding locations and chose them to minimize the mismatch between the ideal fdTMS E-field and the E-field produced by the hybrid-layer coil implementation. Specifically, the majority of fdTMS coils consisted of three distinct types of sub-coils: figure-8, biasing, and cancellation windings. The biasing and cancellation windings allowed enough space to be implemented using one layer, while the figure-8 winding required three layers. We first partitioned the coil surface $}$ into the three subregions containing the figure-8, biasing, and cancellation loops, respectively. For each part, we specified the number of concentric loops in our implementation and number of layers. Each concentric loop consisted of wire placed at a contour line. As a result, the design was specified by the contour line elevation levels and layers for each coil sub-region. The contour line height levels were determined by running an optimization to minimiz

Comments (0)

No login
gif