Displacement sensor and electronic musical instrument
A displacement sensor includes: a detectable portion: including a first coil; and being disposed on a movable member that is displaceable in response to an operation; and a signal generator: including a second coil that opposes the first coil; and being configured to generate a detection signal based on a relative position between the first coil and the second coil. A first distance from a first end of the first coil to a second end of the first coil in a first direction differs from a second distance from a third end of the first coil to a fourth end of the first coil in a second direction perpendicular to the first direction when the first coil is viewed in plan view.
1 . A displacement sensor comprising:
a detectable portion:
including a first coil; and
being disposed on a movable member that is displaceable in response to an operation; and
a signal generator:
including a second coil that opposes the first coil; and
being configured to generate a detection signal based on a relative position between the first coil and the second coil, wherein:
the first coil includes a first part and a second part that generate opposite magnetic fields from each other in response to a current being received by the first coil,
the second coil includes a third part and a fourth part that generate opposite magnetic fields from each other in response to a current being received by the second coil, and
a first distance between a center of the first part and a center of the second part is greater than a second distance between a center of the third part and a center of the fourth part.
2 . The displacement sensor according to claim 1 , wherein L 2 <L 1 ≤1.4×L 2 , where L 1 is the first distance between the center of the first part and the center of the second part, and L 2 is the second distance between the center of the third part and the center of the fourth part.