In stochastic computing (SC) systems numbers are represented with mean values of random binary sequences. This paper introduces a novel fuzzy inference architecture, in which the computational mechanism is based on stochastic logic (SL). First, the basic concept of SL is described, then the architecture of the SL-based fuzzy logic controller (SFLC) is built up systematically using the derived stochastic elements. The second part of the paper demonstrates the application of the proposed techniques, where the SFLC-based control performance is evaluated on a real mechatronic system. The results show that the SL-based approach provides effective and robust control performance, simple architecture and high noise tolerance. The proposed method is also benchmarked against conventional FLCs indicating that the robustness of the stochastic architecture allowed to outperform the benchmark controllers in noisy environments.INDEX TERMS stochastic logic, fuzzy logic controller, fuzzy hardware, self-balancing robot.