<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Simulation-Informed Power Budget Estimate of a Fully-Implantable Brain–Computer Interface</title></titleStmt>
			<publicationStmt>
				<publisher>Springer Nature</publisher>
				<date>08/01/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10526481</idno>
					<idno type="doi">10.1007/s10439-024-03528-7</idno>
					<title level='j'>Annals of Biomedical Engineering</title>
<idno>0090-6964</idno>
<biblScope unit="volume">52</biblScope>
<biblScope unit="issue">8</biblScope>					

					<author>Claudia Serrano-Amenos</author><author>Frank Hu</author><author>Po T Wang</author><author>Payam Heydari</author><author>An H Do</author><author>Zoran Nenadic</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[This study aims to estimate the maximum power consumption that guarantees a thermally safe operation for a titaniumenclosed chest wall unit (CWU) subcutaneously implanted in the pre-pectoral area. This unit is a central piece of an envisioned fully-implantable bi-directional brain-computer interface (BD-BCI). To this end, we created a thermal simulation model using the finite element method implemented in COMSOL. We also performed a sensitivity analysis to ensure that our predictions were robust against the natural variation of physiological and environmental parameters. Based on this analysis, we predict that the CWU can consume between 378 and 538 mW of power without raising the surrounding tissue's temperature above the thermal safety threshold of 2 • C. This power budget should be sufficient to power all of the CWU's basic functionalities, which include training the decoder, online decoding, wireless data transmission, and cortical stimulation. This power budget assessment provides an important specification for the design of a CWU-an integral part of a fully-implantable BD-BCI system. Keywords Brain-computer interface (BCI) • Electrocorticography (ECoG) • Chest wall unit (CWU) • Finite element method (FEM)]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Introduction</head><p>RECENT technological advancements have led to significant improvements in implantable medical technology and have spurred the development of novel active implantable devices. These systems are crucial in tackling medical conditions for which pharmacological or surgical approaches are deemed inadequate. Examples include next-generation pacemakers <ref type="bibr">[1]</ref>, implantable cardioverter-defibrillators <ref type="bibr">[2]</ref>, vagus nerve stimulators <ref type="bibr">[3]</ref>, deep brain stimulators (DBS) <ref type="bibr">[4]</ref>, and responsive neurostimulators <ref type="bibr">[5]</ref>. Active, electrically powered implants pose significant safety risks for the human body, including current leakage and thermal injury. Excessive heat dissipation from an active implant can lead to irreversible damage of cells and tissues, including necrosis <ref type="bibr">[6]</ref>. Therefore, the Food and Drug Administration (FDA) imposes stringent limitations on the thermal impact of active implants.</p><p>Many of these systems employ an enclosure made out of titanium and other biocompatible materials, which is subcutaneously implanted in the pre-pectoral area. These chest wall units (CWUs) typically house a battery, an electrical stimulator, as well as control and communication modules. Inspired by this common design, our group has been developing a fully-implantable electrocorticogram (ECoG)-based bi-directional brain-computer interface (BD-BCI) system (see Fig. <ref type="figure">1</ref>). This system is intended to restore walking and leg sensation in people with paraplegia due to spinal cord injury (SCI). Specifically, we envision this system to decode leg motor intentions, actuate the leg prosthesis, sense the movement, and deliver artificial leg sensation by cortical electrostimulation. Our group has been working on such a system for several years, developing custom analog Associate Editor Stefan M. Duma oversaw the review of this article. ultra-low-power (ULP) front ends for recording <ref type="bibr">[7]</ref><ref type="bibr">[8]</ref><ref type="bibr">[9]</ref>, a lowpower transceiver for wireless communication <ref type="bibr">[10]</ref>, and a benchtop prototype of the overall system <ref type="bibr">[11,</ref><ref type="bibr">12]</ref>.</p><p>The CWU processes motor and sensory data, controls all auxiliary BCI components, and communicates wirelessly with an end effector; therefore, it is the most "power-hungry" component of the system. Thus, we must evaluate its thermal impact on the surrounding tissues to ensure thermal safety. To this end, we propose to use computational models to estimate CWU's maximum power budget that guarantees its thermally safe operation. While previous studies have used computational models to analyze the thermal impact of active implants, to the best of our knowledge, there are no studies on the long-term thermal impact of CWU-like implantable devices. Researchers have used numerical models to simulate the thermal behavior of pacemakers <ref type="bibr">[13]</ref> and deep brain stimulators <ref type="bibr">[14,</ref><ref type="bibr">15]</ref> under transient overheating conditions, like MRI scanning. Others have used simulations to analyze the thermal effects of specific operations, like biotelemetry for head and chest implants <ref type="bibr">[16]</ref>, deep neural implants <ref type="bibr">[17]</ref>, and cortical implants <ref type="bibr">[18]</ref>. On the other hand, the studies that have modeled the long-term thermal effects of active devices have mainly focused on head implants. For example, researchers have used software like COMSOL Multiphysics to study the thermal impact of active intracortical microelectrode arrays <ref type="bibr">[19]</ref>, deep brain stimulator leads <ref type="bibr">[20]</ref>, retinal implants <ref type="bibr">[21]</ref>, and a BCI skull implant <ref type="bibr">[22,</ref><ref type="bibr">23]</ref>. Therefore, addressing the thermal impact of implantable BCI components remains an under-researched problem, which is further exacerbated by BCI implants consuming significantly more power than commonly used active implants <ref type="bibr">[24]</ref>. For example, unlike pacemakers which may draw 1 mW, BCI components, such as implantable neural data acquisition systems, can consume up to 100 mW <ref type="bibr">[25]</ref>. Additional operations such as data telemetry, transcutaneous energy transfer, and power regulation can add tens of milliwatts <ref type="bibr">[24]</ref>. These estimates are consistent with our BCI prototype that on average consumed &#8764; 150 mW to perform the required functions <ref type="bibr">[11]</ref>.</p><p>Motivated by this knowledge gap, we sought to evaluate the thermal impact of a subcutaneously implanted CWU on adjacent pectoral area tissues. To this end, we used the Finite Element Method (FEM) implemented in COMSOL Multiphysics (COMSOL Inc., Stockholm, Sweden) to simulate the temperature of nearby tissues in response to various CWU power consumption levels. We refer to this model as the bio-heat model. Furthermore, we performed a sensitivity analysis to assess the robustness of this bio-heat model against the natural variations of the physiological and environmental parameters. This analysis also yielded the prediction of a thermally safe CWU power budget range. Our ultimate goal is to verify these predictions in vivo and will be pursued in our future studies. In the interim, to validate our modeling approach we performed benchtop experiments. Specifically, we built a thermal prototype of CWU and measured its temperature under different power consumption levels. We then designed a COMSOL model of the thermal prototype (benchtop model), simulated its thermal behavior, and compared these results to those obtained experimentally.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Materials &amp; Methods</head><p>In this section, we first present the details of our computational bio-heat model, including its geometry and mathematical description. We also present a sensitivity analysis of the bio-heat model and a benchtop validation of our computational approach.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Bio-heat Model</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Geometry</head><p>The simulated geometry represents a rectangular region (150 &#215; 150 &#215; 72 mm) of the thoracic cavity (see Fig. <ref type="figure">2</ref>). The skin was assumed to be in direct contact with the air. We further assumed that the CWU is placed below the clavicle (pre-pectoral implantation), under the skin and fat tissues, but above the pectoral muscle, similar to implantable pulse generators (IPGs) for pacemakers <ref type="bibr">[26]</ref> and DBS <ref type="bibr">[27]</ref>. This model also included the ribs, surrounded by intercostal muscle, and lung tissue. Each tissue's thickness was taken from literature with specific values listed in Table <ref type="table">1</ref>.</p><p>The CWU was modeled as a rectangular prism (59 &#215; 50 &#215; 12 mm) made out of a 1-mm-thick titanium (Ti) shell (Fig. <ref type="figure">2</ref>). Note that these dimensions are well within the range of common IPG enclosures <ref type="bibr">[27]</ref>. We envision the CWU to contain a battery and an electronics layer consisting of a printed circuit board (PCB) with the necessary electronic components. We modeled the battery and electronics as adjacent 8-mm-thick blocks of equal size, surrounded by 1-mm air gap on top and bottom. This arrangement of the battery and electronic components as well as their overall volumes were inspired by the design of commonly used IPGs <ref type="bibr">[27,</ref><ref type="bibr">32]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Bio-heat equation</head><p>Heat transfer through biological tissues is typically described by Penne's bio-heat equation <ref type="bibr">[33]</ref>:</p><p>where (kg/m 3 ) and C (J/(kg K)) are the tissue's mass density and specific heat capacity, respectively, and T (K) is the temperature at a position (x, y, z) and time t. The first term on the right-hand side is the heat conduction, where k (W/(m K)) is the tissue's thermal conductivity. The second term models the effect of blood perfusion, where ((ml/s)/ ml) is the volumetric flow rate of the perfusing blood per unit volume and the subscript, b , refers to arterial blood. Finally, the term Q m (W/m 3 ) is the metabolic heat pro- duced by the tissue, and Q ext (W/m 3 ) is the heat produced by external sources (e.g., the CWU). Note that Q ext = 0 for all layers except for the electronics layer. It is defined as Q ext = P CWU &#8725;V elec , where P CWU (W) is the CWU's power consumption and V elec (m 3 ) is the volume of the electron- ics layer. The software applied the partial differential equation (PDE) given by Eq. ( <ref type="formula">1</ref>) to all tissue layers and CWU components, setting to 0 those terms that do not apply and enforcing temperature continuity at the layer interfaces. To study the long-term thermal effects of the CWU, we solved the steady-state solution of Eq. <ref type="bibr">(1)</ref>.</p><p>The thermal parameters for each tissue layer are given in Table <ref type="table">2</ref>. The tissue's thermal conductivity can vary by as much as 50%; therefore. we took the average values as reported in <ref type="bibr">[34]</ref>. Similarly, we computed the tissues' metabolic heat as the average of the values found in <ref type="bibr">[35]</ref> and <ref type="bibr">[36]</ref>. Since the tissues' blood perfusion significantly depends on physical activity, we used the values corresponding to light exercise or slow walking (1 mph, 80 bpm). Specifically, the fat and ribs' blood perfusion values were estimated from <ref type="bibr">[37]</ref> and <ref type="bibr">[38]</ref>, respectively. For the muscle's blood perfusion, we first estimated the oxygen consumption corresponding to light exercise (0.4 l/min) <ref type="bibr">[39]</ref> and then used this information to estimate the blood perfusion from <ref type="bibr">[40]</ref>, which provides a link between oxygen consumption and blood perfusion. Likewise, for the lungs' blood perfusion, we first estimated the mean pulmonary artery pressure associated with light exercise (17 mmHg) <ref type="bibr">[41]</ref> and then used this value to estimate blood perfusion from <ref type="bibr">[42]</ref>, which gives the relationship between blood perfusion and pulmonary artery pressure. Finally, (1)  we estimated that during light exercise the skin's blood perfusion increases 9% with respect to resting state <ref type="bibr">[43]</ref>, and we computed the blood perfusion at rest as the average of the values found in <ref type="bibr">[43]</ref><ref type="bibr">[44]</ref><ref type="bibr">[45]</ref><ref type="bibr">[46]</ref><ref type="bibr">[47]</ref><ref type="bibr">[48]</ref><ref type="bibr">[49]</ref>.</p><p>The thermal conductivities of the titanium shell and air were 19 W/(m K) <ref type="bibr">[50]</ref> and 0.03 W/(m K) <ref type="bibr">[51]</ref>, respectively. Due to its internal multi-layer structure, the battery has a highly anisotropic thermal conductivity, with k xy = 15 and k z = 1 (W/(m K)) [52]. For the electronics layer, we assumed that its thermal properties are similar to those of the PCB. Similar to the battery, the PCB's thermal conductivity is also anisotropic and depends on the number of layers. For a six-layer PCB, as used in our preliminary benchtop CWU prototype <ref type="bibr">[11]</ref>, we estimated the thermal conductivity as k xy = 28.15 and k z = 0.31 (W/ (m K)), based on formulas provided in <ref type="bibr">[53]</ref>.</p><p>We applied the following boundary conditions to the boundary value problem <ref type="bibr">(1)</ref>. Consistent with <ref type="bibr">[19]</ref> and <ref type="bibr">[21]</ref>, we assumed that heat transfer occurred through free convection at the skin-air interface:</p><p>where n is the outward normal vector, h (W/m 2 K) is the convection heat transfer coefficient ,and T ext (K) is the room temperature. For this model, we used h = 5 W/(m 3 K), which corresponds to free airflow in the environment <ref type="bibr">[54]</ref> and T ext = 20 &#8226; C. Consistent with other studies, we omitted the effect of radiation from the skin surface to the outside air <ref type="bibr">[19]</ref>. For the innermost boundary, we assumed the temperature to be equal to the body core temperature <ref type="bibr">[19,</ref><ref type="bibr">20]</ref>, with T = 37 &#8226; C <ref type="bibr">[55]</ref>. Finally, we assumed that there was no heat transfer across the lateral boundary:</p><p>This assumption is justified given the relatively large distance between the lateral boundary and the CWU heat source. Therefore, the temperature gradients at the lateral boundary are negligible. We will refer to the parameters described here and Sect. "Geometry" as the nominal parameters.</p><p>(2)</p><p>To estimate the maximum power consumption of the CWU that guarantees thermal safety, we first computed the steady-state solution ( T&#8725; t = 0 ) of Eq. ( <ref type="formula">1</ref>) by iterating over values of P CWU within our range of interest (defined below). Based on ISO 14708-1 (the FDA-recognized standard), which states that active implants must not increase surrounding tissues' temperature by more than 2 &#8226; C, we then defined P max CWU as the maximum value of P CWU that satisfies this con- dition. Specifically, to find P max CWU , we first ran the simulation model assuming P CWU = 0 (i.e., inactive implant) and stored the resulting temperature field, T(0), for all tissues. Then, we ran the simulation by iteratively increasing the values of P CWU (up to 500 mW, with a step size of 100 mW). For each simulation result, T(P CWU ) , we defined the temperature increase as &#916;T(P CWU ) = T(P CWU ) -T(0) . For the first value of P CWU whose &#916;T violated the 2 &#8226; C constraint, we decreased and locally refined P CWU with a step size of 1 mW. Finally, P max CWU was defined as the maximum value that guaranteed</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Sensitivity Analysis</head><p>We performed a sensitivity analysis to ensure the robustness of our prediction against the natural variations of physiological and environmental parameters. To this end, the nominal parameters introduced in the previous section were perturbed in both directions based on their physiological and environmental variance. Specifically, we considered the effect of perturbing the following 21 parameters: all those in Tables <ref type="table">1</ref> and <ref type="table">2</ref>, T ext , T core , and h. We omitted perturbing the parameters pertaining to the geometry and materials of CWU, given that the CWU's design is fixed.</p><p>Table <ref type="table">3</ref> lists these parameters with their nominal and perturbed values. The upper and lower values for the tissues' thickness, l, were taken from <ref type="bibr">[28]</ref><ref type="bibr">[29]</ref><ref type="bibr">[30]</ref><ref type="bibr">[31]</ref>. For the thermal conductivity, k, the negative and positive perturbation values were estimated from <ref type="bibr">[34]</ref>. For the metabolic heat, Q m , the perturbation bounds for the fat and muscle tissues were taken from <ref type="bibr">[36]</ref>. Since physiological ranges for the skin and lungs were not available, we estimated their variance at &#177;10% (the average perturbation from fat and muscle). On the other hand, the lower bounds of blood perfusion were estimated from values at rest, while the upper bounds were estimated from values at double the nominal walking speed (2 mph, 90 bpm). The skin's blood perfusion at rest was estimated as the average of the values from <ref type="bibr">[43]</ref><ref type="bibr">[44]</ref><ref type="bibr">[45]</ref><ref type="bibr">[46]</ref><ref type="bibr">[47]</ref><ref type="bibr">[48]</ref><ref type="bibr">[49]</ref>. Similarly, the fat's blood perfusion value at rest was estimated from <ref type="bibr">[37,</ref><ref type="bibr">[46]</ref><ref type="bibr">[47]</ref><ref type="bibr">[48]</ref><ref type="bibr">[49]</ref>, and the muscle's blood perfusion at rest was estimated from <ref type="bibr">[44]</ref><ref type="bibr">[45]</ref><ref type="bibr">[46]</ref><ref type="bibr">[47]</ref><ref type="bibr">[48]</ref><ref type="bibr">[49]</ref><ref type="bibr">56]</ref>. The ribs' resting blood perfusion was taken from <ref type="bibr">[49]</ref>, and the lungs' blood perfusion (4) P max CWU = arg max value at rest was taken from <ref type="bibr">[42]</ref>. The upper bound values for blood perfusion for the skin, fat, muscle, ribs, and lungs were estimated from <ref type="bibr">[37,</ref><ref type="bibr">38,</ref><ref type="bibr">40,</ref><ref type="bibr">42,</ref><ref type="bibr">43]</ref>, respectively. Additionally, the range for the heat transfer coefficient, h, was taken from <ref type="bibr">[54]</ref>. Finally, we approximated the natural variations of the temperatures T b and T ext .</p><p>Our sensitivity analysis was based on calculating the sensitivity coefficient, S i , defined as the relative change of &#916;T(P CWU ) over the relative change of the parameter i <ref type="bibr">[57]</ref>:</p><p>In other words, S i quantifies the impact that the variation of the parameter i has on the tissue's temperature increase in our bio-heat model. In Eq. ( <ref type="formula">5</ref>), &#916;T(P max CWU , &#920; 0 ) is the maxi- mum temperature increase across all tissues corresponding to P max CWU and &#920; 0 , where &#920; 0 = [ 0 1 , 0 2 , &#8943; , 0 21 ] is the vector of perturbed nominal parameters as shown in Table <ref type="table">3</ref>. Likewise, &#916;T(P max CWU , &#920; * i ) is the maximum temperature increase across all tissues corresponding to P max CWU and &#920; * i , where</p><p>] and * i is the perturbed value of the ith parameter. To quantify sensitivity in both directions, ( <ref type="formula">5</ref>)</p><p>.</p><p>for each parameter i , we calculated S + i , corresponding to * i = + i (positive perturbation), and S - i , corresponding to * i = - i (negative perturbation), as shown in Table <ref type="table">3</ref>. Based on these sensitivity coefficients, we defined critical parameters as those whose perturbations considerably affected the bio-heat model, i.e., |S i | &gt; 10 -4 . In other words, the parameters whose relative change of 1% resulted in a relative change of &#916;T &#8804; 10 -4 % were considered non-crit- ical. Since Eq. ( <ref type="formula">5</ref>) considers the perturbation of a single parameter at a time, we also sought to investigate the effects of perturbing multiple parameters simultaneously. This is necessary to account for the interactions between parameters and to get a more realistic idea of the potential variations that the bio-heat model could experience. For this reason, we re-estimated P max CWU while simultaneously perturbing all the critical parameters. Specifically, we ran simulations for the worst-case scenario (WCS) and best-case scenario (BCS). In the WCS, we perturbed the critical parameters in the direction that would lead to an increase in &#916;T , which, in turn, would reduce the CWU's power budget. On the other hand, for the BCS, we perturbed the critical parameters in the direction that would lead to a decrease in &#916;T , which would result in a higher power budget. In both scenarios the non-critical parameters were held at their nominal values. We will refer to the re-estimated power budgets for each scenario as P WCS CWU and P BCS CWU .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Benchtop Validation</head><p>We used benchtop open-air experiments to validate our modeling approach. Ultimately, our power budget predictions will be confirmed using in vivo testing and will be pursued in our future studies (see Sect. "Discussion"). An alternative approach would have been to perform in vitro experiments using phantom tissues. For example, we made skin, fat, and muscle phantom tissues to test the wireless communication capabilities of our CWU prototype <ref type="bibr">[10]</ref>.</p><p>Unlike electrical conductivity and permittivity, which we could easily manipulate in phantom tissues, metabolic heat production and blood perfusion effects cannot be easily replicated <ref type="bibr">[58]</ref>. Furthermore, our sensitivity analysis shows that blood perfusion is among the most critical parameters of the bio-heat model. Thus, our bio-heat model could not be accurately reproduced in vitro, and as an alternative, we chose to validate our modeling approach using benchtop open-air experiments. To this end, we built a thermal replica of the CWU with a Ti enclosure whose dimensions and power consumption levels match those of the bio-heat model. We then measured the surface temperature of this thermal prototype in an open-air experiment and compared these experimental results to those obtained via simulations. Specifically, we fabricated the thermal prototype as a rectangular-shaped prism (59 &#215; 50 &#215; 12 mm), assembled from two clamshell Ti alloy (ASTM B265 Grade 2) parts, which were laser welded in a hermetic fashion. This alloy is a commonly used material for medical implants due to its biocompatibility <ref type="bibr">[59]</ref>. The Ti case (1-mm-thick shell) encloses a PCB with resistors to mimic the CWU's electronic layer and a battery connected to external switches (see Fig. <ref type="figure">3A</ref> and <ref type="figure">B</ref>). With these switches, the prototype could be powered and set to operate at one of four power consumption levels (300, 400, 500, and 600 mW). The prototype also had a connector to enable the battery to be charged externally. Note that the thermal prototype dimensions, enclosure material, wall thickness, and power consumption levels closely match those of the bio-heat model described in Sect. "Bioheat Model." With the exception of the connector cables, the arrangement of the battery and resistors also mimics the arrangement of the battery and electronic layer within the CWU.</p><p>For each power consumption level, we conducted an open-air experiment, as described below. We placed the thermal prototype on a laminate wood benchtop, turned the prototype on with a certain power consumption configuration, and waited for one hour for heat to reach a quasi-steady state. Next, we measured the prototype's top surface temperature using both a thermocouple, T p,t and a thermal cam- era (FLIR C2, Teledyne FLIR, Wilsonville, OR), T p,c (x, y) . To minimize reflection and accommodate more accurate temperature measurements with the thermal camera, we painted the top surface of the prototype black. We also took periodic measurements of the room temperature, T ext , the battery's voltage, V b , and its current, I b , since these variables changed over time, thus affecting the prototype's surface temperature. Specifically, the room-temperature measurements were taken with a thermocouple in close proximity to the air surrounding the prototype and repeated every 10 min for about an hour. Moreover, we measured the battery's voltage and current every 10 min from the moment the prototype was powered until the end of the experiment. These measurements were taken using a digital multimeter (Tenma 72-8400, Tenma Test Equipment, Springboro, OH). Note that as the battery discharges over time, V b decreases, which, in turn, lowers the prototype's instantaneous power consumption.</p><p>We then created a COMSOL model of the CWU thermal prototype in an open-air environment, which we refer to as the benchtop model. Its dimensions precisely matched those of the thermal prototype, including the 1-mm Ti shell, battery (36 &#215; 29 &#215; 4.7 mm), resistors (2.5 mm diameter, 6.5 mm length), and board (43 &#215; 38 &#215; 1.6 mm), as shown in Fig. <ref type="figure">3C</ref> and <ref type="figure">D</ref>. The prototype was modeled sitting on top of a rectangular laminate wood benchtop (600 &#215; 600 &#215; 30 mm).</p><p>We modeled heat transfer using the same approach as in the bio-heat model (see Sect. "Bio-heat equation"). Given that metabolic heat and blood perfusion do not apply to the benchtop model, we set Q m and from Eq. (1) to 0. Analo- gous to the bio-heat model, the software applied this PDE to each component of the benchtop model and computed its steady-state solution. To do so, we first chose the parameters of the benchtop model as follows. We set the thermal conductivity, k, of Ti (ASTM B265 Grade 2) and the benchtop's laminated wood to be 21.8 W/(m K) <ref type="bibr">[60]</ref> and 0.12 W/ (m K) <ref type="bibr">[61]</ref>, respectively. We also set the thermal conductivity of the resistors and board to be 1.88 W/(m K) <ref type="bibr">[62]</ref> and 0.29 W/(m K) [63], respectively. Additionally, we kept the thermal conductivity of the battery and air the same as in the bio-heat model (see Sect. "Bio-heat equation"). Finally, we defined the heat source as Q ext = P b &#8725;V R , where P b is the battery's power usage and V R is the overall volume of the selected resistors, as determined by the combination of switches. The battery's power was estimated as P b = V b &#215; I b , where V b and I b were measured throughout the benchtop experiments, as described above.</p><p>For this boundary problem, we enforced temperature continuity at the benchtop-prototype interface and all other internal interfaces. We also assumed that the heat transfer occurred through free convection on all external boundaries, similar to the skin-air boundary of the bio-heat model, Eq. (2). In this equation, we estimated the room temperature, T ext , as the time average of the temperature measurements taken throughout the benchtop experiment. Another critical parameter of this equation is the heat transfer coefficient, h, which is sensitive to local air flow and temperature, and can vary greatly across environments <ref type="bibr">[54]</ref>. Therefore, we estimated h experimentally using Newton's law of cooling. Specifically, a 306 &#215; 52 &#215; 10-mm Ti (ASTM B265 Grade 2) bar was placed in the oven and heated to at least 40 &#8226; C above the room temperature. Then, the bar was removed from the oven and placed on the same benchtop as the thermal prototype to let it cool. The bar's temperature was recorded every 30 s for about an hour. These measurements were then used to fit a linear regression to the logarithmic form of the cooling equation:</p><p>where &#916;T(t) = T bar (t) -T r , T bar (t) is the time dependent- temperature of the bar, and T r is the room air tempera- ture, respectively. The parameters A, m, and c are the area (m 2 ), mass (kg), and heat capacity (J/(kg K)) of the Ti bar, respectively.</p><p>For each of the four experiments, we simulated the COM-SOL benchtop model twice and compared these results to the experimental measurements. This was necessary to reconcile a constant power consumption assumed by the steadystate solution of Eq. ( <ref type="formula">1</ref>) and a decreasing power consumption observed experimentally due to battery draining over the course of each experiment. Specifically, we simulated the model while assuming two extreme power consumptions, P max b and P min b , which were derived from the battery voltage and current measurements taken at the beginning and end of each benchtop experiment. For each case, we computed the average temperature of the modeled prototype's top surface, T m (P max b ) and T m (P min b ) , respectively. These values were then compared to the experimentally derived temperature T p , where T p is the average of the thermal image measurements, T p,c (averaged over space), and the thermocouple measure- ments, T p,t . The value T p was calculated every 10 min and compared to the simulated range [T m (P min b ) and T m (P max b )].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Bio-heat Model</head><p>We simulated the bio-heat model in Eq. ( <ref type="formula">1</ref>) using the FEM in COMSOL. To determine the appropriate mesh size, we used an adaptive physics-controlled mesh algorithm. Specifically, we solved Eq. ( <ref type="formula">1</ref>) using the following predefined COMSOL mesh sizes: coarser, coarse, normal, fine, finer, and extra fine. The difference in the resulting temperature going from coarser to extra fine mesh size kept decreasing, with the difference between the finer and extra fine mesh size being &lt; 0.001 &#8226; C. This suggested that the simulation had converged with respect to the mesh size <ref type="bibr">[19]</ref>. Therefore,</p><p>we chose the finer mesh size in our bio-heat model to balance accuracy and computational cost. We ran the simulations using the geometric parameters shown in Table <ref type="table">1</ref> and Sect. "Geometry," and the thermal parameters from Table <ref type="table">2</ref> and Sect. "Bio-heat equation."</p><p>We found P max CWU by the iterative procedure described in Sect. "Bio-heat equation." To simplify the interpretation of volumetric temperature data, we focused on the worstcase scenario line segment (marked by the red-dashed line in Fig. <ref type="figure">2A</ref>), where the thermal impact due to the CWU, judged by &#916;T(P CWU ) , is highest. Figure <ref type="figure">4</ref> shows the simu- lated &#916;T(P CWU ) along this segment for different values of P CWU within our range of interest. For all power consump- tion levels, we observed the highest temperature increase in the fat layer, followed by the muscle, skin, ribs, and lungs. We also observed that &#916;T peaked at the same depth, d * &#8776; 12.2 mm, for all power levels. This depth corresponds to the point where the worst-case scenario line is tangential to the implant. This figure also shows that &#916;T(500) violated the 2 &#8226; C threshold in the fat tissue layer. Therefore, we iter- ated the value of P CWU below 500 mW with a precision of 1 mW, and we found the maximum power consumption to be P max CWU = 458 mW. Figure <ref type="figure">4</ref> confirms that &#916;T(458) &#8804; 2 &#8226; C for all tissue layers.</p><p>Figure <ref type="figure">5</ref> shows the 2D distribution of &#916;T corresponding to the maximum power consumption, P max CWU = 458 mW, over the central cross-section. Consistent with Fig. <ref type="figure">4</ref>, the highest tissue temperature increase occurred in the fat tissue. Note that &#916;T exceeded the 2 &#8226; C thermal safety threshold in the interior of CWU (parts of the electronics layer and Ti shell). However, only the biological tissues are subjected to the thermal safety threshold.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Sensitivity Analysis</head><p>To quantify the robustness of the bio-heat model with respect to the nominal parameter values, we computed the sensitivity coefficient, S i , for all the parameters, i ( i = 1, 2, &#8943; , 21 ). Table <ref type="table">4</ref> shows the values of S i for the positive and negative perturbations as shown in Table <ref type="table">3</ref>. Based on the criteria |S i | &gt; 10 -4 , the simulation results were sensitive to 15 criti- cal parameters. The perturbations of the remaining 6 noncritical parameters did not significantly alter the simulation results.</p><p>Finally, we modeled the combined effect of all the critical parameters. We perturbed the 15 critical parameters simultaneously (while keeping the nominal values of the non-critical parameters) to simulate a worst and best-case scenario. We then re-estimated the maximum power consumption for each case, namely P WCS CWU and P BCS CWU , and found the power budget range to be between 378 mW and 538 mW.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Benchtop Validation</head><p>The benchtop experiments were performed in a dedicated room with minimal disturbance from external factors. As explained in Sect. "Benchtop Validation," we placed the CWU thermal prototype on the benchtop, turned the power on, and waited for one hour before taking temperature measurements from the device's surface. We also periodically measured the room temperature, as well as the battery's voltage and current throughout the experiment. We repeated the experiment for the nominal power consumption levels of 300, 400, 500, and 600 mW. Figure <ref type="figure">6A</ref> shows a representative example of the prototype's quasi-steady-state surface temperature for the 500-mW set-up.</p><p>We then simulated these experiments in COM-SOL, using our benchtop computational model (see Sect. "Benchtop Validation"). Consistent with the bioheat model, we used the predefined finer mesh setting for these simulations. The model used the parameters specified in Sect. "Benchtop Validation," except for the heat transfer coefficient, h. As explained earlier, this parameter critically depends on the environment and, therefore, had to be determined experimentally in the same dedicated room as above. To this end, we used the Ti bar temperature Table <ref type="table">4</ref> The sensitivity coefficients, S - i and S + i , for the respective perturbation of each parameter, as indicated in Table <ref type="table">3</ref>. The critical parameters are highlighted in gray i</p><p>decay experiment to fit a linear regression based on Eq. ( <ref type="formula">6</ref>) with A = 0.016 m 2 , m = 0.718 kg, and c = 523 J/(kg K) <ref type="bibr">[64]</ref>. This resulted in a heat transfer coefficient estimate h = 13 W/(m 3 K). Figure <ref type="figure">7</ref> shows the temperature decay measured experimentally, as well as the prediction based on this value of h. Note that the goodness-of-fit measure, R 2 =0.995, suggests a high concordance between experimental data and model prediction. Once h was found, we simulated the benchtop model at the four nominal power consumption levels. Figure <ref type="figure">6B</ref> shows an example of the simulated prototype's surface temperature distribution for the 500-mW power consumption.</p><p>From experimental data, we calculated the thermal prototype's average surface temperature, T p , every 10 min, and compared these values to the simulated range [T m (P min b ), T m (P max b )] (see Sect. "Benchtop Validation"). Figure <ref type="figure">8</ref> shows the results at the four nominal power consumption levels. For each power level, there is an overlap between the values of T p and the range [T m (P min b ), T m (P max b )] . As expected, higher power consumption levels led to a wider gap between the prototype's surface temperature and the room temperature, and this was consistently observed in both experimental and simulated data. Also note that power configurations drained the battery's voltage faster, which, in turn, widened the range of T m . Finally, we quanti- fied the agreement between the experimental and simulation results by calculating the correlation coefficient between T p and T m . Specifically, for each power level, we correlated the first and last value of T p with T m (P min b ) and T m (P max b ) , respectively, and obtained the correlation coefficient of 0.86 (p-value = 0.006).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Discussion</head><p>The thermal impact of fully-implantable BCI systems remains an under-researched topic <ref type="bibr">[24]</ref>. Our CWU design in particular, and implantable BCIs in general (Fig. <ref type="figure">1</ref>), bear some resemblance with commercially available IPGs. However, with an estimated range between 200 and 1600 W <ref type="bibr">[65]</ref>, IPGs' power consumption is about two orders of magnitude lower than that of implantable BCIs. This power gap is expected to be even larger for BD-BCIs. For this reason, we cannot assume that the thermal behavior of commercially available IPGs generalizes to fully-implantable BCIs.</p><p>To the best of our knowledge, this is the first thermal impact study of a CWU, envisioned as part of a fullyimplantable BD-BCI. Based on this study, we estimated   <ref type="formula">6</ref>), with the best linear fit, h = 13. the CWU's maximum power budget that guarantees a thermally safe operation. Specifically, we simulated the bioheat model with nominal parameters, and we predicted that the CWU's power budget cannot exceed 458 mW without violating the 2 &#8226; C thermal safety threshold. When perturb- ing 21 nominal parameters within their natural physiological and environmental range, 6 parameters had a negligible effect on the power budget. The remaining 15 parameters were critical and their simultaneous perturbation resulted in a power budget range between 378 and 538 mW. We believe that this power budget is sufficient for the CWU to perform its functions, such as training the decoder, online decoding, wireless communication and data transmission, and cortical stimulation. For example, our recently developed CWU benchtop prototype consumed on average 150 mW of power while performing all the BCI functions except stimulation <ref type="bibr">[11]</ref>. Our newest BD-BCI benchtop prototype showed that cortical stimulation may require up to an additional 230 mW <ref type="bibr">[12]</ref>. Taken together, these suggest that the power budget range estimated based on our simulations is sufficient to power an actual CWU and likely a fully-implantable BD-BCI.</p><p>Our bio-heat modeling approach makes several simplifying assumptions. However, most of these assumptions favored a more conservative power budget estimate, as described below. For example, we neglected the effects of radiative heat transfer. Since human skin is generally warmer than external room temperature, radiation would take heat away from the human body, and even more so when the CWU is powered. Therefore, the net effect of radiative heat transfer would be an even greater power budget. Another simplification of our approach is that we computed &#916;T by comparing the temperature resulting from the active CWU simulation to a model where the CWU is inactive. An alternative way to define &#916;T would be to compare the active simulation to a model where the CWU is not implanted. However, after comparing the two approaches, we conclude that the results presented here lead to a more conservative power budget estimate. However, after comparing our simulation results to those corresponding to a non-implant scenario, we conclude that the results presented here lead to a more conservative power budget estimate. Namely, in the absence of an implant, the fat and skin layers are closer to the body core and so their temperature is higher. This would, in turn, result in a lower value of &#916;T and, therefore, would yield an even higher power budget. Furthermore, our model neglected external clothing. However, our worst-case scenario simulations assumed a 2-cm-thick wool layer and showed the effect of clothing on the power budget estimation to be minimal (&lt; 2 mW). Additionally, we assumed a uniform electronics layer with thermal properties based on those of the PCB. Instead, a more detailed approach would be to split the electronics layer into the PCB and its electronic components (microcontroller core, H-bridge, current source, RAM module, NAND storage module, and radio TRX) <ref type="bibr">[11,</ref><ref type="bibr">12]</ref>. Given that the exact composition and arrangement of these components are currently unknown, we opted for a simpler approach. Once this information is known, such a detailed model could be used to rearrange the internal CWU components and further optimize the power budget. We also omitted a polymeric connection header that usually houses connectors and telemetry antenna in contemporary IPGs <ref type="bibr">[27,</ref><ref type="bibr">66]</ref>. However, since none of the elements in the header generate heat, we do not expect it to affect our power budget predictions. Additionally, the long-term heating of tissues can trigger adaptation mechanisms, such as angiogenesis, which increases blood perfusion and, in turn, reduces temperature. However, this process is poorly understood <ref type="bibr">[67]</ref> and therefore could not be easily incorporated into our model. Finally, scar tissue encapsulation could occur around the CWU implant. When we repeated the simulations while encapsulating the CWU with 2-mm-thick scar tissue <ref type="bibr">[68]</ref>, the nominal power budget increased to from 458 to 519 mW. This power increase is due to the higher thermal conductivity of collagen compared to nearby tissues, which helps reduce the temperature surrounding the implant. Table <ref type="table">4</ref> shows that the thermal conductivity of fat and muscle, as well as the muscle blood perfusion, were the three most critical parameters of our bio-heat model, followed by the skin thickness and the fat and skin blood perfusion. This conclusion is consistent with the findings reported by in vivo animal studies <ref type="bibr">[69]</ref>. Table <ref type="table">4</ref> also shows that the perturbation of the same parameter across multiple tissues may or may not have the same effect on &#916;T . For example, the increase of the fat's thickness led to a decrease in &#916;T , while the increase of the muscle's thickness led to an increase in &#916;T . (Note that from Eq. ( <ref type="formula">5</ref>), it follows that both S + i &gt; 0 and S - i &lt; 0 cor- respond to an increase in &#916;T ). For other parameters (e.g., blood perfusion), the perturbations in the same direction led to the same behavior across all tissues.</p><p>The main limitation of our study is the lack of in vivo validation. Nonetheless, FEM simulations are widely accepted in predicting active implants' behavior <ref type="bibr">[20,</ref><ref type="bibr">[70]</ref><ref type="bibr">[71]</ref><ref type="bibr">[72]</ref><ref type="bibr">[73]</ref>. This is especially true for preliminary studies, where it would be both unethical and cost ineffective to perform animal testing. Once an active implant prototype has been finalized, animal studies are appropriate to test both its function and safety. These include long-term functional tests and FDA safety requirements, such as thermal impact, biocompatibility, and current leakage (ISO 14708-1). Additionally, the risks associated with prolonged exposure to mild heat due to the CWU implant can raise concerns. However, given that similar devices, such as DBS <ref type="bibr">[20]</ref>, have been shown to be safe even when operating continuously for years, we expect the CWU implant, which will operate intermittently, to be safe as well.</p><p>In the absence of animal testing, we used a benchtop model to validate the general FEM approach presented here. For this model, the simulation results overlapped with the experimental results for all power configurations (see Fig. <ref type="figure">8</ref>), and therefore we conclude that the FEM reliably predicts experimental thermal behavior. The differences between the experimental and simulation results can be attributed to the model's simplifying assumptions. First, the model assumed constant parameters, like T ext and h. However, these param- eters could have changed during the course of experiments due to sudden fluctuations in room temperature and air flow, caused by external factors (door opening/closing, A/C turning on/off). Additionally, the benchtop simulation omitted smaller components, like the cables, switches and connector; however, we do not expect these elements to have a great influence on the heat distribution. Lastly, observational errors from the experimental measurements could also have been a source of discrepancy.</p><p>Our estimated power budget range (378 to 538 mW) provides an informative constraint for the future design of a fully-implantable CWU and a BD-BCI system, as outlined in Fig. <ref type="figure">1</ref>. This study focuses on the thermal analysis of the CWU because it is the most power-hungry component of the BD-BCI system. Other heat-dissipating components include the skull unit (SU) and sensory (stimulating) electrodes. Our preliminary power budget estimates for the SU are provided in <ref type="bibr">[22]</ref>, and efforts to incorporate the stimulating electrodes into this model are currently under way. Nevertheless, to ultimately validate the thermal safety of these components, in vivo animal testing must be done. However, animal testing is out of the scope of this work and will be pursued in our future studies, where the CWU and other components of the BD-BCI system will be implanted in a large animal model. Specifically for the CWU, a temperature sensor (e.g., thermistor) can be integrated within the implant to continuously measure its surface temperature at the hottest region. Note that this temperature is equal to the temperature of the adjacent tissues due to temperature continuity (see Fig. <ref type="figure">5</ref>). The CWU's wireless communication system could be exploited to obtain periodic measurements of the CWU's surface temperature. To validate the thermal safety of the device, its thermal impact can be assessed under different power consumption levels (generated by different operation modalities) and ensure that the 2 &#8226; C threshold is not violated under any circumstances.</p></div></body>
		</text>
</TEI>
