PCB Design Review

Hey everyone,

I've learned so much from this awesome forum—my earlier designs that got reviewed here are performing great out in the field! Huge thanks especially to @jim-p —you've been a game-changer, and I'm truly grateful.

Could really use your eyes on my latest PCB design—details below! Please!

The output from the screw terminal VFD connects to a DELTA VFD-L 0.2kW 1 Phase. The three connections are AVI, M0 and GND on the VFD.

The output from the screw terminal Pump drives a 12V DC water pump.

The rest of the components are common with my previous designs. Hence, I am confident of their workings.

What was the intended purpose of the OPA197.
Can you please post the datasheet for the VFD

Relay voltage?

Delta VFD Manual Link below

Page 12 - Connection diagram

The ideal is to amplify the output voltage from Arduino to upto +10V.

So you are trying to generate a 0-10V signal from a PWM output of the nano, is that correct?

Yes sir. That’s right

OK, I'll give you the PWM circuit but both the relay and pump circuits have problems that you should be able find out on your own.

Use the 980Hz PWM.

Thanks for sharing the circuit. I understood how it works, but didn't get why this is preferred. I will study and reply by tomorrow.

Second, with the relay, I made a silly mistake. The relay is 12VDC, and I was powering it with 5V. Apologies, I have corrected it.

Sir,

I review everything over and over again. The schematic you shared has two advantages:

1. Smaller-sized capacitor
2. Two op-amps for better regulation output

If it’s feasible, can you share the source of the schematic you provided? Just for reference, and to study further.

Second, I couldn’t find any issue with the relay module apart from the supply of 5V by mistake.

Third, I don’t see any issue with the pump controller. I did a small prototype here also, worked well. The pump consumes 250mA at 12VDC, and the MOSFET's max capacity is 50A. Are you directing me to use a relay module instead?

Three, it works.
It's my design. C1,R1,C2,R2 are two low pass filters used to "smooth out" the PWM. R3, R4 provide a gain of 2, so for 5V PWM you get 10V out. The second opamp is just a unity gain buffer to provide isolation.

RE Relay circuit:
Are you sure that Q2 is in saturation when on?

RE pump:
What about a diode?
Are you using PWM for the pump?

Sir, I could be wrong.

I(BE) = (5V - 0.7V)/1kohm = 4.3mA

I(C) = (12V - 0.28)/400ohm = 29.3mA

B(forced) = 6.8

Coil Resistance has been taken from the relay’s datasheet (at 12VDC and 30mA).

Yes. Will correct.

:smiling_face:

Are you using the 12V relay or the 5V relay?
In either case you should use the current listed in the datasheet as the minimum collector current.

B(forced) seems a little low, I normally use B/5 but many people say to use B/10 which I think is a little to low.

Add a kickback diode, and move R16 on the right side of R6.

Thanks for pointing it out.

Sorry sir, I don’t follow your terminology.

By B/5 you mean B(forced) = 5?

Theoretically, all tutorials I have read suggest that Beta Forced should be close to 10. Some suggest between 10 and 20. That's why I thought B(F) of 7 would be a safe bet.

Simply by changing R10 I can vary Beta forced.

R10 of 800ohm - B(Forced) = 5.4

R10 of 400ohm - B(Forced) = 11 approx

What to do?

B forced is the transistor Beta (Hfe), given in the datasheet, divided by some scale factor, I use 5 for the scale factor.

If Beta is 50 then Bforced = 50/5 =10