When building a half-wave rectifier with a capacitor filter for my electronics lab, there was significant clipping at the peaks of the input signal. When looking at the .csv file pulled from the oscilloscope, these "clippings" are filled with #'s. I interpret this as the oscilloscope isn't getting any data at these peaks and is just attempting to fill in the blanks on the trace. What is the reason for this?
The setup is a simple half-wave rectifier using a 1N4148 diode, a load resistance of 2.2kΩ, and 500Ω. The input signal is a 5V peak-to-peak sine wave with a frequency of 60Hz. The goal is to adjust the capacitance from 100μF to obtain a ripple factor of less than 5%. I have noticed the most significant clipping when using a 500Ω paired with a 669μF capacitor. I attached an image below of the traces and LTSPICE schematic as well as probe locations.
As you can see, the clipping is around ~0.75 volts at the peaks. Is there any decent explanation for this? The oscilloscope is a 4-channel Keysight DSOX variant (I don't have access to the exact model right now but it is similar to the DSOX2024a). The function generator is a Siglent technologies waveform generator (likewise, don't have access to the exact model).