Popis: |
With the rapid advancement of digital processors, filters have been commonly implemented using microcomputers. In this study, a low-cost and compact Arduino Uno development board was used to realize digital lead and lag compensators. Arduino boards are very affordable. Consequently, they were investigated to see if they were capable of preserving the frequency response of continuous-time compensators. The experiments required a set of equipment including a function generator, an Arduino Uno development board, a PC-based oscilloscope, and a laptop. The signal frequency was varied from 0 to 500 Hz. Two discretization methods were employed, namely bilinear transformation and matched pole-zero mapping. The results showed that an Arduino Uno board can be utilized to implement lead and lag compensators to some extent. The discrete-time compensator preserved the capability of filtering out certain frequencies. The change in DC gain was negligible, however, there was a significant difference in the cut-off frequency and transient slope. For both discretization methods, the frequency responses at high frequency experienced a rippling profile. |