A method of manufacturing an electromagnetic coil for use in a nuclear magnetic resonance imaging (MRI) system is provided. The electromagnetic coil is located in a non-uniform external magnetic field. The method forms a coil diagram of a coil surface for an electromagnetic coil, and sets a limit on the performance index for the electromagnetic coil, including a magnetic field shape index and at least one of an external torque index and an external force index The external torque index and the external force index are each based at least in part on the torque and force exerted on the electromagnetic coil by the non-uniform external magnetic field, and to generate a current density pattern across the coil surface Forming a performance function based on the coil diagram and the figure of merit, optimizing the performance function, generating a current density pattern based on the optimized performance function, and coil winding And including. [Selection] Figure 9核磁気共鳴画像化(MRI)システムに使用するための電磁コイルを製造する方法が提供される。電磁コイルは、不均一な外部磁場に位置している。本方法は、電磁コイル用のコイル表面のコイル図を形成することと、磁場形状指数と、外部トルク指数及び外力指数のうち少なくとも一方と、含む、電磁コイルについての性能指数に対する制限を設定することであって、外部トルク指数及び外力指数はそれぞれ、不均一な外部磁場により電磁コイルに及ぼされたトルク及び力に少なくとも部分的に基づいている、ことと、コイル表面にわたる電流密度パターンを生成するために、コイル図及び性能指数に基づいて、性能汎函数を形成することと、性能汎函数を最適化し、最適化された性能汎函数に基づいて、電流密度パターンを生成することと、コイル巻線を得ることと、を含む。【選択図】図9