The conventional hysteresis current controller is simple to implement, has inherent peak current-limiting capability, fast dynamic response etc. However, it suffers from the drawback of variable switching frequency, which may be prohibitively high, increasing the stress levels on the switches. Although a ramp controller may be used to achieve a constant switching frequency, the selection of frequency of the triangular carrier waveform plays a crucial role in maintaining the frequency of operation same as that of the carrier. If an appropriate frequency of the carrier is not chosen, the actual current may encounter undesirable effects of over-crossing and under-crossing. This paper proposes an analytical method for proper selection of the carrier so that the above-said effects are eliminated. The method is also extended to a ramp controller with hysteresis to achieve a reduced value of the constant switching frequency. Detailed simulation has been carried out through MATLAB to validate the proposed method.