{'fraction_non_alphanumeric': 0.029060570495484002, 'fraction_numerical': 0.01416033066285656, 'mean_word_length': 4.728588132125109, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Study of the electrochemical dissolution behavior of Nitinol shape memory alloy in different electrolytes for micro-ECM process

Nickel-titanium alloy (Nitinol) is an excellent shape memory alloy (SMA) for microelectro-mechanical systems (MEMS) particularly in biomedical applications owing to its three excellent features shape memory effect (SME), superelasticity, and biocompatibility. The temperature-dependent material transformation properties of Nitinol SMAs make conventional machining difficult. Micro-ECM, a non-conventional machining process for conductive materials regardless of their strength and hardness, has the potential to fabricate microfeatures on Nitinol. This study presents the investigation on the electrochemical dissolution behavior of Nitinol in different electrolytes for micro-ECM. The influence of electrolytes on the nature of dissolution of Nitinol was studied by fabricating microchannels in three levels of parameters containing applied voltage and electrolyte concentration. The first three electrolytes were all aqueous neutral electrolytes, i.e., NaCl, NaNO3, and NaBr. The aqueous NaNO3 was successful in fabricating microchannels at all levels of process parameters. However, aqueous electrolytes form relatively a huge amount of sludge on the machined surface reducing both dissolution efficiency and machining accuracy. Thus, ethylene glycol-based NaNO3 was used to fabricate microchannels with lower depth overcut (DOC), width overcut (WOC), and length overcut (LOC) with respect to aqueous NaNO3 electrolyte. The potentiodynamic polarization (PDP) tests of Nitinol through cyclic voltammetry (CV) shows passive dissolution in aqueous electrolyte and active dissolution in non-aqueous electrolyte.


Introduction
Nickel-titanium alloy or NiTi belongs to a class of smart materials that show shape memory effect (SME) and pseudoelasticity and have the composition of Ni x Ti 1−x , where 0.47 ≤ x ≤ 0.51 [1]. It is popularly known as Nitinol, which is derived from the nickel titanium naval ordnance factory where it was discovered in the 1960s by Kauffman and Mayo [2]. The shape memory effect is the transition of a material from a deformed state to an undeformed state when heated above its transition temperature. The transition is called martensitic transformation which happens due to the solid-state phase transformation where simple cubic austenitic crystal structure transforms to monoclinic martensite crystal structure [3]. Nitinol also exhibits pseudoelasticity otherwise named superelasticity where a large strain can be induced during mechanical loading [4]. NiTi forms a titanium-rich oxide layer on the surface, hence showing excellent biocompatibility [5]. The above three features, i.e., SME, superelasticity, and biocompatibility, makes NiTi the preferred SMA for MEMS particularly in biomedical applications [6]. These MEMS devices perform significant tasks in a scaled-down miniaturized volume. Sensing and analyzing light and mechanical signals, sequencing biomolecules, mixing, processing, and analyzing the ultra-little volume of chemicals are some of the regular activities realized by these miniaturized machines [7]. The MEMS has various advantages like quick response time (e.g., airbag sensors), usage of fewer consumables (e.g., Lab-on-a-Chip), high resolution and efficiency (e.g., inkjet printer head, microchemical reactor), and portability [8]. The actuators form the fundamental system in the MEMS and SMAs are now extensively used as a material of choice for actuators. Nitinol MEMS devices such as microvalves, micropumps, microgrippers, actuated microendoscope, spaces, nerves clamp, and tactile displays are some of the examples that were reported over the last decade [9]. These devices often require the fabrication of microfeatures on Nitinol SMAs, and there are both traditional and non-traditional ways to manufacture these microscale features [10]. Traditional manufacturing processes such as turning [11], milling [12], and drilling [13] and non-traditional machining processes like laser processing [14], electrodischarge machining (EDM) [15], abrasive water jet machining (AWJM) [16], chemical etching [17], and electrochemical machining [18][19][20] were used in the past for Nitinol microfabrication.
Microelectrochemical machining (micro-ECM) is a promising method for microfeature fabrication due to advantages like defect-free surface generation, negligible tool wear, and the capability to machine any conductive material regardless of its strength and hardness [20]. Micro-ECM was used to manufacture microfeatures on some of the advanced materials like stainless steel [21], titanium and its alloys [22], nickel alloys [23], tungsten [24], and tungsten carbide [25]. Micro-ECM has various potential applications in a wide range of industrial sectors [20]. Micro-ECM can provide an alternative machining method for the fabrication of microfeatures on Nitinol surface by anodic dissolution. Takashi Mineta performed masked pulsed electrochemical etching of Nitinol with 1 mol l −1 LiCl-ethanol electrolyte to fabricate microgrooves on the surface. He had obtained etched microgrooves with 20-µm in-depth [26]. Ma et al. performed confined etchant layer technique to manufacture intricate 3D microfeatures on Nitinol with an etched pattern having micrometer accuracy. However, the microstructures obtained were having a depth of less than 1 µm [27]. Lee et al. used pulse ECM for the fabrication of microgrooves on NiTi SMA and studied the parametric influence on the rate of material dissolution and groove depth. They used an electrolyte that generated NaNO 2 and tartarate for anodic dissolution, where tartarate prevents the formation of Ni (OH) 2 on the surface [19]. Maurer et al. used electrochemical micromachining (EMM) with pulsed DC power supply to machine microstructures of 3-µm depth on NiTi SMA using 1 M methanolic-LiCl [28]. Ao et al. fabricated microgrooves on NiTi SMA through EMM with nonaqueous ethylene glycol (EG)-based NaCl electrolyte with a concentration of 40 g/L and an applied voltage of 14 V with 10-kHz pulse frequency. They added ethanol in the range of 0-30 vol% to the solution to improve the surface quality of the microstructures and found the lowest Ra of 0.417 µm at 20 vol% of ethanol. Also, they obtained the lowest average groove width of 249.3 µm at 10 vol% ethanol mixed EGbased NaCl electrolyte with the use of a 100-µm-diameter microtool. They concluded that the addition of ethanol to EG NaCl solution can reduce the formation of oxide films [29]. However, the surface roughness and the accuracy of the microchannel can further be improved. Mouliprasanth and Hariharan fabricated microholes in NiTi SMA using nonpassivating electrolyte (NPE) of aqueous NaCl and passivating electrolyte (PE)of aqueous NaNO 3 through the micro-ECM process. They concluded that to get a better MRR, NPE electrolyte can be used, and for better surface integrity, PE electrolyte can be used [30].
The abovementioned investigations promoted the fabrication of microstructures on Nitinol SMA through chemical etching and micro-ECM where the process parameters, machining accuracy, and surface integrity were studied. The electrolytes that are used are ethanol-based lithium chloride (LiCl) which is costly and hydrofluoric acid (HF) with nitric acid (HNO 3 ) which is toxic in nature. Also, there were very limited attempts made that are aimed at exploring the dissolution behavior of Nitinol in aqueous neutral solutions which are commercially used in ECM. Thus, further research on the machining performance of the micro-ECM technique for Nitinol SMA in the aqueous neutral electrolyte is required. Therefore, in this paper, a thorough investigation was done to evaluate the performance of aqueous neutral electrolytes like sodium chloride (NaCl), sodium nitrate (NaNO 3 ), and sodium bromide (NaBr) to find out the effective dissolution of Nitinol in the microdomain by fabricating microchannels. Also, EG-based non-aqueous electrolyte was used to fabricate more accurate microchannels through the micro-ECM process. Moreover, to understand the electrochemical dissolution behavior of Nitinol in these electrolytes, potentiodynamic polarization tests were conducted.

Experimental setup
Experimentation for fabrication of microchannel by micro-ECM was conducted in TTECM-10 (table-top-type micro-ECM CNC machine tool) of Synergy Nanosystems, Mumbai. The machine consists of a computer, pulsed DC power supply, machining chamber, digital camera, and electrolyte circulation and filtration unit. Figure 1 shows the machine and its components. The machine has the provision of three CNC linear stages in the X, Y, and Z axes. The resolution for each stage is 0.1 µm/step, and the control of stepper motors is governed by a computer with the help of Hyper 2GUI software. The machine chamber is provided with horizontal X and Y motions, and the Z motion is given to the microtool holder perpendicular to the machining chamber along with the rotational motion. The machine has a power supply that can generate a maximum of 500-kHz frequency voltage pulses for microfabrication purposes. A digital camera is attached to the machine for online monitoring and measurement of microtools for successive experiments without removing them from the tool holder.
The potentiodynamic polarization experiments were conducted in an electrochemical cell having three electrodes with the help of Biologic SP 150 potentiostat as shown in Fig. 2. The three electrodes used for the experiments are a reference electrode (saturated Ag/AgCl), an auxiliary electrode (platinum wire), and a working electrode (Nitinol sheet). Every one of the given potentials was determined against the standard hydrogen electrode (SHE). All the electrodes were connected with a PC-controlled potentiostat Biologic SP150. The exposed surface area of the working electrode Nitinol sheet was kept to 1 cm 2 .

Materials and methods
For the microtool fabrication process, cylindrical rod of tungsten carbide (WC-Co) having 500-µm diameter was used. The process is in situ as the TTECM-10 was used for the fabrication process by using the reverse polarity, and the same machine was used for the microchannel fabrication by straight polarity without removing the microtool. The diameter of the cylindrical WC rod is first reduced by electrodischarge grinding (EDG) with a brass block as cathode and a WC microrod as the anode. Then with the help of the wire electrochemical process (WECM), the surface of the fabricated microtool is improved by taking a 250-µm diameter of brass wire as cathode and the EDG fabricated microtool as the anode [25]. There are two microtools with diameter 108.254 µm and 94.309 µm that have been used in the microchannel fabrication through the micro-ECM process. The images of the microtool obtained through a scanning electron microscope (SEM) are given in Fig. 3.
For this study, commercial Nitinol (52% Ni and 48% Ti) sheets of 1-mm thickness were used. For microchannel fabrication in micro-ECM, the samples were ultrasonically cleaned using acetone. For potentiodynamic polarization (PDP) analysis, the samples were prepared on a Buehler-Phoenix 4000 machine through grinding and polishing using SiC papers down to 2500 grit and diamond pastes (9, 3, then 1 µm) from Struers. After that, ultrasonic cleaner was used to clean the samples with acetone and deionized water. The prepared samples for microchannel fabrication through the micro-ECM process and PDP tests are shown in Fig. 4 along with their surface composition obtained from energy-dispersive spectroscopy (EDS) analysis.  The electrolytes were used for the possibility of electrochemical dissolution of Nitinol by trying to generate microchannels, applying mask-less micro-ECM technique, that are aqueous neutral solutions of NaCl, NaNO 3 , and NaBr. Also, ethylene-based NaNO 3 non-aqueous electrolytes were studied for their effect on the electrochemical dissolution of Nitinol. The electrolytes and their concentrations used for both the fabrication of microchannel as well as PDP tests are given in Table 1.
The layer-by-layer material removal by scanning method was employed to fabricate a microchannel of 2-mm length on the surface of a 1-mm-thick Nitinol sheet. The microchannels were fabricated with a downward feed (V 1 ) of 0.1 µm/s and a scanning feed (V 2 ) of 0.5 µm/s with 5-µm layer thickness. A total depth of 10 µm is given for microchannel fabrication with a 5-µm layer thickness. The schematic view of microtool movement during the generation of the microchannel is given in Fig. 5. The experiments were conducted in three levels of parameters with each level containing a combination of electrolyte concentration and applied voltage. The three levels of parameters are low levels containing 0.1 M concentration and 8 V applied voltage, mid-level with 0.15 M concentration and 12 V applied voltage, and high level of parameters with 0.2 M concentration and 16 V applied voltage whereas other parameters were kept constant for each level. A range of trial experiments was conducted to find out the suitable input process parameters like electrolyte concentration, applied voltage, and tool feed rate. All the micro-ECM parameters that were used to fabricate the microchannels are given in Table 2.
After completion of the experiment, high-resolution images and the energy-dispersive spectroscopy (EDS) data of all the samples were taken through a scanning electron microscope (SEM). The machining of Nitinol through micro-ECM generates reaction products that are attached to the surface. These reaction products also called sludge containing oxides of either Ni or Ti or sometimes both. Thus, to understand the dissolution mechanism, SEM and EDS analysis of the samples with sludge were carried out. Then, all the samples were cleaned and SEM images were taken for surface integrity analysis. The average surface roughness of the machined sample was calculated at the midline along the length of the workpiece using a CCI non-contact-based surface profilometer to study the dissolution efficiency. The profile depth was obtained from the 3D profile which was generated through the profilometer.
Further, the effect of electrolytes on the accuracy of the fabricated microchannel was evaluated based on width overcut (WOC), depth overcut (DOC), and length overcut (LOC). The schematic showing width, depth, and length of a microchannel are given in Fig. 6. The WOC, DOC, and LOC are the excess material removed across the width, depth, and length of the microchannel, respectively, and are calculated according to the following formulas. where i = 1, 2, … … ..n and " n " is the number of locations where channel width was measured, w = channel width, d = microtool diameter, H 1 = depth given to the micro tool during microchannel fabrication, H 2 = actual depth obtained, L 1 = length given to the micro tool during microchannel fabrication, and L 2 = actual length obtained.

Effect of aqueous neutral electrolytes on anodic dissolution of Nitinol
One of the major problems related to the electrochemical dissolution of Nitinol is surface oxidation in atmospheric conditions. When exposed to a medium-containing oxygen, Nitinol forms a passive oxide film on its surface [29] which is also confirmed by the EDS analysis in Fig. 4a. According to the electrochemical Pourbaix diagram of Nitinol in aqueous solution, it forms oxide film which consists of TiO 2 and NiO as per the equations below [31].
Some studies suggest that the oxide film is dual in nature with TiO 2 on the top which is in contact with the NiO sublayer [31,32]. However, resistance of this NiO sublayers to pitting is much lower, resulting in Ni dissolution through pores in the outermost TiO 2 film. In the case of aqueous NaCl solution, it can be seen that from the SEM images in Fig. 7 at all levels of parameters, a solid sludge layer is developed on the machined surface. The energy-dispersive spectroscopy (EDS) analysis of the sludge layer is given in Table 3 which shows the presence of titanium, nickel, and oxygen at all level parameters indicating the presence of oxides of both titanium and nickel. Also, with the increase in electrolyte concentration and applied voltage, the amount of oxygen increases and then decreases. Moreover, the amount of Ni content of the sludge decreases and  The aggressive Cl − ions in case of aqueous NaCl solution attack the oxide layer, causing NiO to dissolve from the surface. The decrease in Ni content of the sludge confirms the higher dissolution of NiO than TiO 2 . As the TiO 2 is dense and sticky in nature, it restricts the metal dissolution. The process of dissolution of Nitinol in an aqueous solution follows two processes. First is the adsorption of OH − ions which leads to passivity, and then, the second process corresponds to the adsorption of anions (Cl − , NO 3 − , Br − , etc.). The adsorption of anions occurs most frequently in oxide defects such as minor cuts, dips, cracks, or pores, where the oxide layer is thin and the electric field is strong. The adsorption of anions on the oxide layer creates soluble salts with cations from the oxide which creates nucleation of dissolutions otherwise called pits. Once these pits are created, they continue to activate local dissolution by the autocatalytic process. According to the reference [33], Ni 2+ and Ti 4+ ions from Eqs. (2) and (4) react with Cl − from the solution to form NiCl 2 and TiCl 4 , respectively, which thereafter reacts with H 2 O to form again NiO and TiO 2 as shown in the equations. NiCl 2 is easily soluble in water, and most of the NiCl 2 dissolves into the electrolyte. However, TiCl 4 is very sticky and attaches to the surface of the anode. Also, the formation of TiO 2 again on the anode has a strong binding force on the surface of the Nitinol workpiece. Thus, the formation of TiCl 4 and subsequent TiO 2 prevents the uniform dissolution of Nitinol in the aqueous NaCl solution.
In aq. NaCl solution: In the case of neutral electrolyte aqueous NaNO 3, it could be observed from Fig. 7 that at the low level of parameters,   Table 3 shows that for all the levels of parameters, Ni, Ti, and O are present in the sludge. However, the amount of oxygen in the sludge is low in comparison to NaCl. Moreover, the amount of Ni and Ti content of the sludge remains almost equal suggesting a uniform dissolution of both NiO and TiO 2 . At the midlevel parameters, the amount of oxide formation is high, and thus, it prevents a uniform dissolution. NaNO 3 is a known passivating electrolyte that is used to achieve better accuracy in the case of ECM-based micromachining. According to the Pourbaix diagram for the titanium-water system, the dissolution of TiO 2 happens in the alkaline range [34]. NaNO 3 reacts with water to form NaOH which increases the pH of the solution and TiO 2 reacts with NaOH to form a soluble complex Na 2 TiO 3 [35]. Once the outermost TiO 2 gets dissolved, the lower Ni layer gets dissolved through the formation of Ni(NO 3 ) 2 . The above dissolution mechanism enhances not only the uniform electrochemical reaction but also the localized dissolution. In aq. NaNO 3 solution: Further experiments were conducted with the aqueous electrolyte of NaBr. From Fig. 7, it can be seen that a large amount of sludge is generated on the surface of Nitinol for all the levels of parameters. The EDS analysis of sludge from Table 3 shows that a high percentage of oxygen is present due to the formation of titanium and nickel oxide during the machining process. At the low level of parameters, the quantity of Ti is more than Ni. However, for the mid-and high-level parameters, amount of Ni is more in the sludge compared to that of Ti. The oxide layer NiO and TiO 2 forms complexes like NiBr 2 and TiBr 4 in the aqueous NaBr solution [34,36]. Thus, the dissolution of Nitinol in aqueous NaBr solution is governed by the solubility of these two complexes. Br − ions have the strongest ability to penetrate TiO 2 leading to local dissolution otherwise called pitting. The clusters of TiBr 4 molecules serve as nuclei of pits, and these are generated on the sites with increased electronic conductivity of oxide film [34]. At the high level of parameters, the concentration of anodic product TiBr 4 is very high at the metal surface and would exceed the solubility product, thus precipitating the salt on the surface as a thick layer which subsequently hinders the dissolution.
In aq. NaBr solution, the following reactions may take place: After cleaning the workpiece, the SEM images were taken and are given in Fig. 8. Also, the high magnification SEM images of the surface of microchannels for all the parameters are given in Fig. 9. The average surface roughness (R a ) of the machined surface of the Nitinol was calculated at the midline along the length of the workpiece using a CCI non-contact 3D surface profilometer. Also, the depth of the microchannels was obtained at different regions from the 3D surface profile, and then, the average depth was considered. The accuracy parameters like average surface roughness (R a ), width overcut (WOC), depth overcut (DOC), and length overcut (LOC) were calculated and are given in Table 4. From Fig. 8, it can be seen that in the case of aqueous NaCl solution at low-level parameters, a channel is fabricated with WOC, DOC, and LOC at 113.72 µm, 36.78 µm, and 213.98 µm, respectively. However, in the case of mid-level and high-level parameters, the anodic dissolution of Nitinol is uncontrolled with an uneven and irregular surface, and thus, the channel formation was unsuccessful. If the high-resolution SEM images in Fig. 9 are referred, the surface shows highly non-uniform dissolutions, and with the increase in the level of parameters, the non-uniformity of the surface increases. To study the surface integrity, the relationship between average surface roughness (R a ) and the level of process parameters for different electrolytes is given in Fig. 10. The R a is found to be 2.155 µm for aqueous NaCl electrolyte at the low level of parameters, increases up to 3.795 µm at mid-level parameters, and slightly decreases to 3.675 µm at high level. The higher R a value in the case of aqueous NaCl electrolyte may be due to the formation of TiCl 4 on the surface which results in the variation of dissolution of Nitinol.
In the case of an aqueous NaNO 3 solution, a controlled dissolution can be seen at all levels of parameters (Fig. 8).
The R a values of 1.17 µm, 8.906 µm, and 0.846 µm are measured for low, mid, and high levels of parameters, respectively; thus, a uniform dissolution of Nitinol can be assumed. At the mid-level parameters, the R a value is high due to the (13) NaBr(s) + H 2 O → Na + (aq) + Br − (aq) waviness nature of the surface. The 3D profile of the microchannel fabricated in NaNO 3 electrolyte with 0.2 M and 16 V parameters is given in Fig. 11. In the case of NaNO 3 for the high level of the parameters, the lowest surface roughness of 0.848 µm was obtained confirming a better uniform dissolution of Nitinol in the NaNO 3 electrolyte. The high magnification SEM images, in the case of NaNO 3 , show a smoother surface in comparison to NaCl electrolyte. From Table 4, it can be seen that the accuracy parameters like WOC, DOC, and LOC increase with the increase in the level of the parameters. As the dissolution rate increases with the increase in electrolyte concentration and applied voltage, the overcut increases.
However, in the case of aqueous NaBr at all levels of parameters, the channel fabrication was not successful. From Fig. 8, it can be observed that there is uncontrolled and The high magnification SEM image of these pits in Fig. 9 shows facets and linked cavities with a porous structure that decreases surface roughness. The several pit formation  NaBr without any localized dissolution for Nitinol in NaBr solution led to an irregular surface profile and subsequent failure in microchannel formation. The R a values were measured at 4.523 µm, 8.743 µm, and 9.721 µm, respectively, for the low, mid, and high level of parameters indicating a non-uniform dissolution Nitinol in the case of NaBr solution. Figure 10 shows that the average surface roughness in the case of NaBr is on the higher side with respect to both NaCl and NaNO 3 electrolytes, and the best possible dissolution was obtained in the case of NaNO 3 electrolyte.

Effect of ethylene glycol-based NaNO 3 electrolyte on anodic dissolution of Nitinol
Among the three aqueous neutral electrolytes that were used for the generation of microchannel in Nitinol, only NaNO 3 was able to successfully machine Nitinol with better dissolution efficiency. However, the aqueous environment generates a large amount that hinders the further dissolution of metal anode reducing the efficiency of dissolution. Also, in an aqueous electrolyte, the sludge gets deposited on the cathode surface which seriously affects the process quality and efficiency. The water-based electrolyte is known to form an oxide layer on the surface of titanium and its alloys which impairs the machining accuracy and produces a rough machining surface. Therefore, to overcome the above drawbacks, an alternative electrolyte was proposed for micro-ECM of Nitinol. The use of ethylene glycol instead of water can help to avoid the generation of oxygen on the anode and prevent the contact between oxygen and Nitinol. As water is a source of passivating oxygen, EG solutions are less effective passivator, and hence, a smooth surface will always be available for machining [37]. The experiments were repeated at three different levels with three different combinations of concentration and voltage for the EG + NaNO 3 electrolyte. Figure 12 shows the optical and SEM images of the fabricated microchannel in three different  Table 5. From the optical images, it is observed that a bright surface was obtained at the machined region for all levels of parameters. The EDS data shows that no oxygen is present on the machined surface for all levels of parameters which implies that there is no passivation of the Nitinol surface in the EG + NaNO 3 electrolyte. Also, the average ratio of Ti and Ni is found to be around 43.5:55.5 for all the parameters which is nearer to the base material composition. This infers that there is a uniform dissolution of the machined surface in the case of the EG + NaNO 3 electrolyte. Figure 13 shows a relationship between average surface roughness (R a ) and the level of process parameters for aqueous NaNO 3 and EG + NaNO 3 electrolytes. The surface roughness of the machined surface obtained was 0.891 µm, 0.25 µm, and 0.424 µm for low-, mid-, and high-level parameters which is less in comparison to that obtained in the case of aqueous NaNO 3 solution. Thus, a smoother surface was obtained in the case of EG-based NaNO 3 electrolyte.
According to Liu et al. EG-based electrolytes exhibit a better machining performance due to their mass transfercontrolling dissolution, which is also known as the anode polishing effect [37]. The polishing zone is formed on the anode surface which greatly improved the machined surface integrity and subsequently forms a bright surface as shown in Fig. 13. Also, other authors like Yusen et al. suggested that the dissolution process in EG solution is a mixed process of charge transfer and diffusion in comparison to only the charge transfer process in the aqueous solution [38]. In the case of EG-based electrolyte, the fluidity of the diffusion layer is low that slows the diffusion of ions, and hence, the rate of dissolution is relatively uniform Fig. 12 Machined specimen obtained in EG + NaNO 3 solutions through micro-ECM in three different parameters: a-c optical images, d-f SEM images, and g-i zoomed view of the microchannel  . 13 Relationship between average surface roughness (R a ) and the level of process parameters for NaNO 3 and EG + NaNO 3 electrolytes producing a smoother surface. Wang et al. found out that the diffusion layer that forms in the case of EG-based electrolytes is metal glycolates which are less conductive and viscous film that develops on the anode surface [39]. The liquid film that developed on the surface is colloidal in nature, and upon saturation, it tends to give faster dissolution at microprojections and slower at microrecess features, thus levels the surface for excellent surface integrity [40]. Both Ni and Ti components of Nitinol once anodically dissolved may form Ni and Ti glycolate complex directly with EG, stepwise according to the following equations. In EG + NaNO 3 solution: Thus, a uniform dissolution of Nitinol was obtained in the case of EG + NaNO 3 electrolyte. The use of EG-based electrolyte in lieu of aqueous electrolyte helps to avoid the generation of oxygen on the anode and prevents the contact between oxygen and Nitinol. As water is a source of passivating oxygen, EG solution is a much less effective passivator. Hence, the passive film is rarely generated after the smooth anode surface is exposed, and as Nitinol continues to dissolve, the machinability of Nitinol is better. Due to the polishing effect of EG + NaNO 3 on Nitinol, the lowest R a value of 0.25 µm of the machined surface was obtained which is better than the surface roughness obtained by Ao et al. using EG + NaCl + ethanol electrolyte. Figure 14 shows the variation of DOC, WOC, and LOC with respect to three levels of parameters for both aqueous NaNO 3 and ethylene glycol-based NaNO 3 electrolytes. From the figure, it can be observed that in comparison to aqueous solutions, ethylene glycol-based NaNO 3 produces lower DOC, WOC, and LOC. This is attributed to the low conductivity of ethylene glycol which produces low current density reducing the stray current effect thus minimizing the overcut. Also, the EG solution produces soluble complexes in ambient conditions and hence can be easily removed from the IEG [29]. These effects form a stable machining condition, and the conductivity of the electrolyte remains constant throughout the process, causing a reduction in overcut in depth, width, and length in comparison to aqueous solutions. However, from the SEM images in Fig. 12, it can be seen that the surface surrounding the microchannel in all three parameters is affected by bubble marks. These bubble marks on the surface of Nitinol decrease the surface integrity of microfeatures. The bubbles are the hydrogen gas that is being generated at the cathode during the electrochemical reaction according to Eq. (22) [37]. During the dissolution process, these hydrogen gas bubbles do not affect the machining due to the rapid formation and explosion. However, when the IEG is too low, the machining process is continued with the proximity of bubbles to both the surface of the cathode and Nitinol. Due to the bubbles, the dissolution is uneven, and partial bubble marks are generated on the Nitinol surface [41]. Thus, for efficient machining, a suitable IEG is preferred. Also, proper insulation of the sidewall of the microtool is required to check the stray current that affects the accuracy of the fabricated microchannel. From the SEM images in Fig. 12, it is observed that with the increase in level, the bubble marks decrease. This is due to the increase in IEG as the concentration of the electrolyte increases.

Potentiodynamic polarization analysis of Nitinol
To understand the dissolution behavior of Nitinol, the PDP tests were performed in aqueous NaCl, aqueous NaNO 3 , and aqueous NaBr solutions. The PDP test that is conducted here is cyclic voltammetry (CV). CV is one of the most popular methods for the quantitative analysis of an electrochemical reaction. CV gives data on redox reactions, adsorption processes, and heterogeneous electron transfer reactions [42]. This technique also locates the rapid changes of redox potentials of electroactive species in a solution. During the CV process, the potential of the stationary working electrode is scanned using a triangular waveform. The resulting current due to the electrochemical reaction at the electrode-electrolyte interface is then recorded by the potentiostat. The current response then plotted as a function of applied potential is called a cyclic voltammogram.
The first cyclic voltammogram of Nitinol in aqueous NaCl solution was recorded between 0 and 2 V (SCE) with 3 repetitive cycles at a scan rate of 20 mV/s at room temperature. The cyclic voltammogram of Nitinol in 0.1 M aqueous NaCl solution is given in Fig. 15a. It is apparent from the figure in cycle 1 that the current density increases rapidly as the potential increases from 0 V. However, at 0.8 V, the rate of increase in current density decreases. This may be due to the passivation of the working electrode as Nitinol forms an oxide layer composed of NiO and TiO 2 in the aqueous solution. At 1.6 V, the current density again starts to rise rapidly and linearly indicating the adsorption of Cl − ion onto the passive oxide film which leads to the formation of soluble complex and (22) subsequent breakdown of the film with initialization and propagation of pitting. The maximum current density achieved is 13.33 mA cm −2 . In cycle 2, the current density decreases after 0.79 V indicating the passivation of Nitinol and again the current density linearly increases after 1.6 V breaking the passivation layer and a maximum current density was achieved is 9.25 mA cm −2 . It can be observed from the voltammogram that in subsequent cycling up to cycle 3, the maximum current density gradually decreases to 8.92 mA cm −2 . As discussed earlier, NiO in the oxide layer is more prone to dissolution compared to TiO 2 in the case of aqueous NaCl solution. The remaining TiO 2 , which is dense and sticky in nature, becomes more protective and stayed unreduced with successive cycling. Hence, it reduces the current and subsequent dissolution efficiency. Figure 15b shows the cyclic voltammogram of Nitinol in 0.1 M aqueous NaNO 3 solution measured between 0 and 2 V. With the increase in the potential, the current density increases gradually up to 1.5 V. After 1.5 V, the current density increases very steeply up to 2 V. In the first cycle, the maximum current density achieved 8.39 mA cm −2 . However, with subsequent cycles, the maximum anodic current decreases from cycle 1 to cycle 3 up to 8.08 mA cm −2 . However, the rate of decrease of current density upon successive cycling is very less in the case of aqueous NaNO 3 in comparison to aqueous NaCl. This shows that upon successive cycling, the passive layer does not get protective, and subsequently, a uniform dissolution of both NiO and TiO 2 is achieved. Figure 15c shows the cyclic voltammogram of Nitinol in 0.1 M NaBr solution. From the figure, it can be seen that at a forward scan at 0.84 V, there is a sudden decrease in current density and it remains constant up to 0.96 V. This region can be attributed to the passivation region. Beyond this potential, which is much higher compared to both aqueous NaCl and NaNO 3 solutions. The Br − ions form a soluble titanium complex on the surface thus exposing the NiO sublayer of the oxide film. As the resistance of pitting of NiO is much lower, it facilitates the frequent breakdown of the passive film resulting in a large number of pits on the surface. The cyclic voltammograms of Nitinol in EG + NaNO 3 are given in Fig. 16. It shows an active dissolution without any passivation, and the current density obtained for cycle 1 at 2 V is 0.502 mA cm −2 , which is very low in comparison to 8.39 mA cm −2 for cycle 1 in aqueous NaNO 3 . Also, upon successive cycling up to 3 cycles, the maximum current decreases to 0.472 mA cm −2 suggesting negligible oxide formation on the surface. As there is no passivation, a smooth surface is always available and Nitinol continues to dissolve producing excellent surface integrity.

Conclusions
The present study successfully investigated the dissolution behavior of Nitinol in different aqueous and nonaqueous electrolytes for micro-ECM by means of machining microchannels in Nitinol. The aqueous electrolytes like NaCl, NaNO 3 , and NaBr and non-aqueous electrolyte like EG + NaNO 3 were used for the study. Moreover, the potentiodynamic polarization analysis gives insight into the nature of the dissolution of Nitinol in both aqueous and non-aqueous electrolytes. The following conclusions were drawn from the experimental results.
• The average surface roughness of 0.848 µm of the machined microchannel in the case of NaNO 3 is found to be the lowest at the high level of parameters in comparison to that obtained with NaCl and NaBr electrolytes.
In the case of NaNO 3 electrolyte, the oxide layer successfully dissolves into the electrolyte forming a soluble complex. Thus, a uniform dissolution is achieved. In the case of NaCl and NaBr, microchannel fabrication was not successful due to excessive passive layer formation that hinders the uniform dissolution of Nitinol. • To overcome the passivation that arises due to the aqueous electrolyte, EG-based NaNO 3 was used to fabricate the microchannel. The electrolyte EG + NaNO 3 produces a polished bright surface with R a value values 0.891 µm,0.25 µm, and 0.424 µm for low, middle, and high levels of the parameters. As there is minimum or no passivation on the surface, Nitinol actively dissolves in the EG + NaNO 3 electrolyte to create a smooth surface. • A more accurate microchannel was fabricated in EG + NaNO 3 electrolyte as lower WOC, DOC, and LOC were measured in comparison to aqueous NaNO 3 . This is due to the low conductivity of the non-aqueous0based electrolyte which minimizes the stray current resulting in better accuracy. • The cyclic voltammetry reveals that Nitinol shows passive dissolution in all three aqueous solutions.
In the case of NaCl, the current density gradually decreases in the repetitive cycle as the oxide layer developed on the surface could not be dissolved hindering a uniform dissolution. In the case of NaNO 3, the reduction of current density in three repetitive cycles is very low confirming that the oxide layer gets dissolved subsequently in a uniform manner improving the dissolution efficiency of Nitinol. Nitinol in aqueous NaBr solution shows a higher current density in comparison to NaCl and NaBr, but rapid fluctuation in the voltammograms confirms the pitting of the surface in NaBr solution. Further, the voltammograms for EG + NaNO 3 solution show an active dissolution of Nitinol as there is no passivation of the machined surface thus producing a smoother surface in comparison to aqueous NaNO 3 .
Author contribution All authors contributed to the study conception and design. Material preparation, data collection, and analysis were performed by Mr. Abhijeet Sethi, Mr. Biswesh Ranjan Acharaya, and Dr. Partha Saha. The first draft of the manuscript was written by Mr. Abhijeet Sethi, and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.