Apparatus and associated methods relate to a linear variable differential transformer (LVDT) having at least one a flexible element attached to a bobbin, where the bobbin is made from thermoplastic material having a coefficient of thermal expansion (CTE) matched to a coil wire of the LVDT. In an illustrative example, the flexible element may include a flexible substrate located between the bobbin and an enclosure of the LVDT. The flexible element provides temperature compensation by absorbing mechanical stresses and/or electro-thermal stresses for the LVDT, while the thermoplastic bobbin provides thermal stability to the LVDT by mitigating breakage of the LVDT coils due to expansion of the bobbin in response to temperature variations.