본문 바로가기
  • Home

A Study on the Time Constant Measurement of an RC Circuit Using a Microcontroller

  • Journal of Software Assessment and Valuation
  • Abbr : JSAV
  • 2024, 20(4), pp.135-143
  • Publisher : Korea Software Assessment and Valuation Society
  • Research Area : Engineering > Computer Science
  • Received : November 14, 2024
  • Accepted : December 20, 2024
  • Published : December 31, 2024

Hyo-Young Yeom 1

1청주대학교

Accredited

ABSTRACT

In this paper, a time constant measurement device was developed using a microcontroller with an embedded web server to facilitate measurement control and data collection via the web. In the RC circuit, the voltage change over time during the charging or discharging process was measured and recorded at regular intervals using the internal interrupt of the microcontroller. To test the measurement device, experiments were conducted using two resistors and two capacitors, and two analysis methods were used to determine the time constant. The first method involves calculating the capacitor voltage at five multiples of the time constant and reading the corresponding time to determine the time constant from the time vs. time constant multiple graph. This method aims to help students understand the concept of the time constant more easily. The second method involves calculating the voltage for the charging or discharging time based on the predicted time constant and finding the time constant that minimizes the sum of squared errors between the calculated voltage and the voltage obtained from the experiment. Comparing the sum of squared errors for the two analysis methods shows that the second method is 5 to 17 times smaller, indicating that a very accurate time constant can be obtained.

Citation status

* References for papers published after 2023 are currently being built.