Patent attributes
A position detecting device includes a position calculator that performs an optimization convergence calculation using an evaluation function that expresses an error between a measurement value and a theoretical value of magnetic field information of a detection target to calculate at least a position of the detection target; a storage unit that stores a final convergence result of the optimization convergence calculation performed by the position calculator; and a controller that determines whether a result of the optimization convergence calculation converges, suspends the optimization convergence calculation performed by the position calculator when the result does not converge, and performs, after a predetermined time has passed, a returning process of returning a state of the optimization convergence calculation to a converged state by causing the position calculator to perform the optimization convergence calculation based on the final convergence result.