A typical solid-state quantum sensor can be developed based on negatively charged nitrogen-vacancy (NV−) centers in diamond. The electron spin state of NV− can be controlled and read at room temperature. Through optical detection magnetic resonance (ODMR) technology, temperature measurement can be achieved at the nanoscale. The key to ODMR technology is to apply microwave resonance to manipulate the electron spin state of the NV−. Therefore, the microwave field characteristics formed near the NV− have a crucial impact on the sensitivity of ODMR measurement. This article mainly focuses on the temperature situation in cellular applications and simulates the influence of structural parameters of double open loop resonant (DOLR) microwave antennas and broadband large-area (BLA) microwave antennas on the microwave field’s resonance frequency, quality factor Q, magnetic field strength, uniformity, etc. The parameters are optimized to have sufficient bandwidth, high signal-to-noise ratio, low power loss, and high magnetic field strength in the temperature range of 36 °C to 42.5 °C. Finally, the ODMR spectra are used for effect comparison, and the signal-to-noise ratio and Q values of the ODMR spectra are compared when using different antennas. We have provided an optimization method for the design of microwave antennas and it is concluded that the DOLR microwave antenna is more suitable for living cell temperature measurement in the future.