r/PrintedCircuitBoard • • 2h ago

How can I optimize my layout? for EMC testing.

Thumbnail
gallery
3 Upvotes

Hi, when testing this buck converter at low loads it generates audible noise and as far as I know (I don't know much tbh) this means it's an EMC problem.

at high loads the noise dissappears.

Now I know that at low loads the buck works in DCM mode, but I can't seem to be able to relate that to why it's generating noise.

would love your input on this, thanks in advance.

  1. 2L board
  2. L2 = GND
  3. L1 = (GND pour) + (+3V3 pour)

r/PrintedCircuitBoard • • 17h ago

[Schematic Review Request] STM32-based Mixed-Signal Oscilloscope (2 Analog / 8 Logic Channels, Streaming via USB)

Thumbnail
gallery
4 Upvotes

Hello all, I am trying to build an oscilloscope board which uses the internal ADCs of an STM32H743 and streams to a PC over USB high-speed for processing and display. The board also includes an expansion header with I2C, SPI and spare GPIO for future add-ons. The design is at the schematic stage and I would greatly appreciate any comments and criticisms.

2 Analog Channels:

  • DC/AC coupling and x1/÷10 attenuation by latching relays
  • Firmware selectable gain ×2 / ×4 / ×8 / ×20
  • ±30 V survival on both inputs
  • 12-bit and 8-bit modes with possibility for dual-interleaved mode on channel B
  • Anti-alias filtering selectable depending on mode, targeting bandwidth up to 4 MHz with interleaved mode
  • External comparator per channel for hardware trigger
  • Signal output from STM32's DAC for calibration or as a low-frequency source

8 Digital Channels:

  • One comparator and threshold per channel, set by external DACs, about 100mV hysteresis
  • STM32's DCMI as an 8-channel sampler (targeting 60 MSPS), sample clock from a timer or channel 7's signal for state capture
  • Channel 7 can also be used as a external trigger for analog capture

Power:

  • Powered over USB with possibility of alternate power input through power header
  • Protection against backfeeding the supply rails through the inputs in case a live circuit probed with the scope unpowered
  • Inrush limit and overvoltage cutoff

This is my first design of this kind and I'm not confident in any block, so comments on any part are welcome.