FIG. 1 illustrates a flowchart of an example method 100 of controlling the voltage at the device with a single cyclic measurement pattern and multiple cyclic PWM patterns (in this example, referred to as a steady-state cyclic control pattern and an oversampling cyclic control pattern). In method 100, a voltage controller measures the voltage at the electronic device (e.g., a computer processor) at block 102. This measurement may occur at the beginning of a measurement cycle in a cyclic measurement pattern. The measurement cycles in the cyclic measurement pattern may have a measurement period. The inverse of this measurement period may be referred to as the measurement frequency, and may be an expression of how often the voltage is measured in the cyclic measurement pattern.