Author Topic: Layout Advices for a beginner  (Read 511 times)

0 Members and 1 Guest are viewing this topic.

Offline niclatriqueTopic starter

  • Newbie
  • Posts: 5
Layout Advices for a beginner
« on: March 20, 2024, 07:57:09 pm »
Hi,

Passionate woodworker, I work on a small project to automate the dust collector. The PCB I'm designing will be located at each tool, in series with the power cord. The goal is to "measure" current flow, then trig two signals to open a blastgate and stat/stop the dust collector. I made a proto on a breadboard and it works just fine. I started laying out and routing my components. 45mm x 68mm (It has two fit inside a single gang wall outlet).

The signal gets picked up by a 30A current transformer, goes to a precision rectifier using an op-amp then to a PIC16F18426 for current levels analysis. Then 2 outputs will drive 2 relays using 2 single NPN transistors.

My main concern is about my layout not really emitting EMI but more being susceptible on picking some heavy EMF from the mains power supply of the tool at about 12mm from the top of the PCB.

I will go with a 4 layer design having top and bottom as signal and layer 2 and 3 as ground. By looking at the pictures attached, does anyone sees a monstrous evidence of a bad design here ?

Let me be very clear : It is not meant to go on the moon. We're not talking about high precision triple digit resolution current reading. I'm only worried on strong signals getting picked up by the board and creating such a disturbance that it would lead to erratic behavior. As for en example, the high inrush current of starting a 4HP motor on 240V.

All advices are really appreciated.

Thanks you so much
 

Offline Picuino

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: 00
    • Picuino web
Re: Layout Advices for a beginner
« Reply #1 on: March 21, 2024, 12:59:07 pm »
High-Speed Layout Guidelines: https://www.ti.com/lit/an/scaa082a/scaa082a.pdf?ts=1711025269392

High Speed PCB Layout Techniques: https://www.ti.com/lit/ml/slyp173/slyp173.pdf

CHAPTER 12: PRINTED CIRCUIT BOARD (PCB) DESIGN ISSUES: https://www.analog.com/media/en/training-seminars/design-handbooks/Basic-Linear-Design/Chapter12.pdf

Op Amps for everyone (Chapter 17 Circuit Board Layout Techniques): https://web.mit.edu/6.101/www/reference/op_amps_everyone.pdf

Microstrip and Stripline Design: https://www.analog.com/media/en/training-seminars/tutorials/MT-094.pdf

ANALOG-DIGITAL CONVERSION. HARDWARE DESIGN TECHNIQUES: https://www.analog.com/media/en/training-seminars/design-handbooks/Data-Conversion-Handbook/Chapter9.pdf

Audio Power Amplifier Design Handbook, Fifth Edition. Chapter 14 "Grounding and practical matters". (search in google)



Knowledge about transmission lines can also be useful.

Transmission Line Characteristics: https://www.ti.com/lit/an/snoa746/snoa746.pdf

Data Transmission Lines and Their Characteristics: https://www.ti.com/lit/an/snla026a/snla026a.pdf

-------------------


2. POWER SWITCHING APPLICATION NOTES
2.1. TI Switching Regulator Fundamentals
2.2. TI Five steps to a great PCB layout for a step-down converter
2.3. TI AN229. Simple Switcher PCB Layout Guidelines
2.4. ROHM PCB Layout Techniques of Buck Converter
2.5. EDN Bandwidth of a signal from its rise time
2.6. Powder Material for Inductor Cores
2.7. LT AN137. Accurate Temperature Sensing with an External P-N Junction


3. PCB DESIGN AND NOISE REDUCTION
3.1. TI. AN-1149 Layout Guidelines for Switching Power Supplies
3.2. NXP AN10912 Switched-mode power supplys EMC and layout guidelines
3.3. TI AN2155. Layout Tips for EMI Reduction in DC/DC Converters
3.4. CUINC Electromagnetic Compatibility Considerations for Switching Power Supplies
3.5. Fairchild Electromagnetic Interference (EMI) in  Power Supplies
3.6. Pericom EMI Reduction Techniques
3.7. AVX Parasitic Inductance of MultiLayer Ceramic Capacitors
3.8. EETimes The 13-Step EMI Mitigation Program for Switching Power Supplies
3.9. ROHM PCB Layout Techniques of Buck Converter
3.10. TI Minimizing Buck-Boost High-Frequency Switching Noise
3.11. LT AN139. Power Supply Layout and EMI
3.12. LT AN136. PCB Layout Considerations for Non-Isolated Switching Power Supplies
3.13. LT AN70. A Monolithic Switching Regulator with 100µV Output Noise
3.14 PCB Design Guidelines For Reduced EMI

4. BOOST CONVERTERS
4.1. TI Basic Calculation of a Boost Converter's Power Stage
4.2. TI Understanding Boost Power Stages in Switchmode Power Supplies
4.3. TI Five Steps to a Good PCB Layout of a Boost Converter
4.4. TI Reducing Radiated EMI in TPS61088 Boost Converter
4.5. TI Minimizing Ringing at the Switch Node of a Boost Converter
« Last Edit: March 21, 2024, 01:11:08 pm by Picuino »
 
The following users thanked this post: slothsd

Offline Picuino

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: 00
    • Picuino web
Re: Layout Advices for a beginner
« Reply #2 on: March 21, 2024, 01:02:25 pm »
I'm sorry. Perhaps a list that is too offtopic, but it can be useful for those looking for how to improve their layouts.
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9508
  • Country: gb
Re: Layout Advices for a beginner
« Reply #3 on: March 21, 2024, 01:17:27 pm »
...
My main concern is about my layout not really emitting EMI but more being susceptible on picking some heavy EMF from the mains power supply of the tool at about 12mm from the top of the PCB.
...

One thing that comes to mind is that fast moving dust (and other particulates) is very good at generating ESD discharges, as I'm sure you know. Be very careful of your ground routing in the system as a whole, so that there is no danger of ESD currents passing through the board ground. Extra filtering of inputs and outputs is probably advisable too, especially as you have a microcontroller on the board.
Best Regards, Chris
 
The following users thanked this post: Someone

Offline ArdWar

  • Frequent Contributor
  • **
  • Posts: 373
  • Country: sc
Re: Layout Advices for a beginner
« Reply #4 on: March 22, 2024, 09:37:36 pm »
Unrelated to the actual circuit, but one potential problem is your bottom left mounting hole may risk a short if its two sides are at different net. Make it a pad instead, with pad size large enough to cover the fastener head. There's also question whether you want the fastener to be isolated or for it to connect the ground.
 

Online shapirus

  • Super Contributor
  • ***
  • Posts: 1370
  • Country: ua
Re: Layout Advices for a beginner
« Reply #5 on: March 22, 2024, 09:56:22 pm »
It sounds like a bit of overengineering to me. Why do you need a PIC at all? Maybe no need for the current transformer, either.

If I were to design something like this, I'd probably use a simple wire shunt followed by a differential (or instrumentation) amplifier followed by a rectifier, an RC filter, and a comparator (with hysteresis), or, if the voltage drop on the shunt is sufficient, only filter+comparator. No need for a precision rectifier then, either (as long as you have, say, at least a volt or two across the shunt), just clip the negative half of the wave using a Schottky diode from ground to shunt output, and adjust the RC filter accordingly to have a decent level on the output suitable to feed into the comparator.

As far as EMI-induced false positives, it won't be an issue with the shunt approach, at least if you keep the signal traces short. Probably not even with the CT. What voltages are you getting on the CT's output?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf