I have a switching step-down power supply SCM1301A, from which the entire circuit is powered, namely the microcontroller, op-amp, RS-485. I digitize the signal coming from the microwave module, having previously amplified and filtered it. The signal band I need is 5-1000Hz. Everything works fine until I start the exchange via the RS-485 interface. When exchanging via the RS-485 interface, strong noise appears in the signal. I tried everything I could to combat this, but I still couldn’t find a solution... Next I will describe everything that I tried and how it affected:
- Noise if RS-485 does not work somewhere at the level of 10-15 units.
- If the power is 12 V and I start the exchange via RS-485 at a speed of 38400 Baud / s, then the noise will be 195-200 units. If the speed is 2400 baud/s, then the noise is 205 units. If the speed is 230400 Baud/s, then the noise is 45 units. Moreover, in the program I have a number of digital filters, where I divide the entire 5-1000Hz band into 5 200Hz bands. And I see how, as the exchange rate increases, the main noise peak also moves to a higher frequency.
- Next, I tried changing the supply voltage at the input of the switching stabilizer. The RS-485 exchange rate is always 38400 Baud/s. Power supply 10 V, noise 50 units. Power supply 12 V, noise 200 units. Power supply 24 V, noise 70 units. Power supply 30 V, noise 85 units.
- Moreover, if you look at what happens at the inductor of the switching stabilizer with a 12 V supply, there is no exchange via RS-485: Fig.1. The same thing only there is an exchange via RS-485: Fig. 2. It’s hard to see here, but there is a slight twitching of the signal in the area of the maximum amplitude swing.
- Stabilizer output in the absence of exchange via RS-485: Fig.2. The same thing only with exchange via RS-485: Fig. 3. Here I did not notice any changes...
- I tried to connect 470uF Low ESR capacitors in parallel with capacitor C2, but this had no effect.
- If the RS-485 microcircuit is written from a separate source, the noise during the exchange completely disappears.
- Next, I raised my 3.3V supply to 3.9V and powered the RS-485 chip through the LDLN025M33R linear regulator. 3.9V is supplied to the input of the LDLN025M33R, and I saw 3.3V at the output. And yet there was still noise when exchanging via RS-485. Next, I powered the LDLN025M33R chip from a separate external 4.5V source. And when exchanging via RS-485, the noise completely disappeared.
- If you install an RC filter R = 100 Ohm, C = 1000 μF in front of the power input of the RS-485 microcircuit, then the noise becomes much less, but does not disappear completely.
Perhaps I forgot something, if you have any additional questions, write.
Additional Information: I ran a series of tests and compiled a table. Columns on the right show noise on ADC with RS485 BPS when running (0 for not running)
LDLN025M33R, SSP7903: LDO ; SCM1301A: Buck
What is done | 0 | 1200 | 4800 | 19200 | 57600 | 230400 |
---|---|---|---|---|---|---|
MCU/ANALOG: input 9-36V -> SCM1301A 5V -> LDLN025M33R 3.3V. RS-485: external 3.3V | 2-3 | 3-4 | 5-6 | 4-5 | 3-4 | 2-3 |
MCU/ANALOG: input 9-36V -> SCM1301A 5V -> LDLN025M33R 3.3V. RS-485: input 9-36V –> SSP7903-3.3 | 3-5 | 18-20 | 30-32 | 17-18 | 9-10 | 4-5 |
MCU/ANALOG/RS-485: input 9-36V -> SCM1301A 5V -> LDLN025M33R 3.3V | 4-5 | 62-63 | 109-110 | 78-79 | 46-47 | 12-13 |
MCU/ANALOG/RS-485: input 9-36V -> SCM1301A 3.3V | 12-15 | 117-120 | 265-268 | 198-202 | 120-124 | 30-33 |
MCU/ANALOG/RS-485: input 9-36V -> SCM1301A 3.3V + 470µF solid capacitor in parallel with C2 | 13-15 | 124-127 | 280-285 | 210-215 | 130-133 | 37-39 |
MCU/ANALOG: input 9-36V -> SCM1301A 3.3V. RS-485: through a 10 Ohm resistor. 470µF solid capacitor in parallel with C2. LPF 34Hz. | 12-15 | 90-95 | 180-195 | 69-71 | 29-31 | 12-15 |
The voltage did not change in all tests and is equal to 12V.
I attached part of the PCB layout. The board is double-sided. The second side is completely filled with grounding.