Envelope detector and distortions

I am attempting to design an envelope detector, however, I'm having problems with regards to diagonal clipping and negative peak clipping of a certain input.

While trying to follow this video's simulation file, without modifying its input, I noticed that there isn't a lot of hassle when picking for the RC values since the modulation index was okay for the input wave.

Input: (modulation index: 0.5)

Output:

However, I am unsure of what RC values to choose when my input is: $$f_m = 10kHz\quad f_c=600kHz \quad \text{amplitude}=1V \quad \text{modulation index}=0.5$$

I first tried getting the geometric mean of my messenger frequency and my carrier frequency but the plot shows that these values large

Input:

Output:

I then tried lowering my RC value in an attempt to fix the diagonal clipping, but as seen on the plot, the output still isn't a clean sine wave (compared to the very first output. Decreasing the RC values further would then result to negative clipping and ripples on the upper portion of the output.

Some questions I want to ask are:

1. How do I get the RC values that would still maintain the shape of the envelope given the input? Is it possible to do so without adding components to the envelope detector?
2. If it is not possible to get the optimal RC values, is it still possible to retrieve the message in later stages? (i.e. inputting the output to a high pass filter/low pass filter or amplifier)
• You appear to talk about two plots where you're trying stuff, but only show one -- I assume it's the "negative clipping" one. Jan 7 at 19:58
• Decrease R1 and/or C1, allowing C1 to discharge faster. (A separate LPF after a buffer amplifier can be used to remove the sawtooth if you need to). There are also tricks, like returning R1 to an -ve supply.to eliminate the -ve peak clipping you see. Jan 7 at 20:00
• I'm not sure you mean "clipping" Jan 7 at 23:16
• Why did you change from 5 volts to 1 volt amplitude? Jan 8 at 10:40