The paper proposes an innovative model able to predict the output signals of resistance and capacitance (RC) low-pass filters for machine-controlled systems. Specifically, the work is focused on the analysis of the parametric responses in the time- and frequency-domain of the filter output signals, by considering a white generic noise superimposed onto an input sinusoidal signal. The goal is to predict the filter output using a black-box model to support the denoising process by means of a double-stage RC filter. Artificial neural networks (ANNs) and random forest (RF) algorithms are compared to predict the output of noisy signals. The work is concluded by defining guidelines to correct the voltage output by knowing the predictions and by adding further RC elements correcting the distorted signals. The model is suitable for the implementation of Industry 5.0 Digital Twin (DT) networks applied to manufacturing processes.