I want to design Double Active Bridge bidirectional converter, to control MOSFET I need 18V but arduino only produce 5v

Hi, I just want to ask regarding to my problem. I got an issue on Arduino controller when it only produce 5v into my MOSFET WHILE i need to perform maximum PWM 15v.

  • What is your load current requirements ?

  • Use a Logic level MOSFET.

  • Use a driver transistor to drive your so called 15v MOSFET.

  • The Arduino is not a power supply.

  • Always show us a good schematic of your proposed circuit.
    Show us good images of your ‘actual’ wiring.
    Give links to components.

2 Likes

I moved your topic to an appropriate forum category @izzul_97.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Use a low side switching mosfet (n-channel).

That is what the Arduino should do. Realize it is a controller device not a power device. It an control most any electronic part but it cannot create power or voltage unless you use a DAC or PWM with a low pass filter but again no power. Follow these guidelines they should help.
Gil's Crispy Critter Rules, they apply to processor hardware:
Rule #1. A Power Supply the Arduino is NOT!
Rule #2. Never Connect Anything Inductive to an Arduino!
Rule #3 Don't connecting or disconnecting wires with power on.
Rule #4 Do not apply power to any pin unless you know what you are doing.
LaryD's Corollary's
Coro #1 when first starting out, add a 220R resistor in series with both Input and Output pins.
Coro #2 buy a DMM (Digital Multi-meter) to measure voltages, currents and resistance. Violating these rules tends to make crispy critters out of Arduinos.
Hint: It is best to keep the wires under 25cm/10" for good performance.


Thank you for your comments, here is my proposed circuit, my circuit called ad Double Active Bridge. this circuit is DC-DC Converter. my problem is I try to program it using Arduino but only produce low output voltage., I'm using MOSFET C3M0280090D Silicon Carbide Power MOSFET
N-Channel Enhancement Mode with maximum vgs -8/+18V but Arduino only produce 5v. My load current requirements for this circuit are only 10A. Here is my code using Arduino Mega to control switching of my DAB converter, any suggesting to improve my converter efficiency to produce my converter with output voltage 60vdc and 10A ?

#define MOSFET1 5
#define MOSFET2 6
#define MOSFET3 9
#define MOSFET4 10

void setup() {
  pinMode(MOSFET1, OUTPUT);
  pinMode(MOSFET2, OUTPUT);
  pinMode(MOSFET3, OUTPUT);
  pinMode(MOSFET4, OUTPUT);
}

void loop() {
  // Fade in MOSFET1 and fade out MOSFET2
  for (int i = 0; i <= 255; i++) {
    analogWrite(MOSFET1, i);
    analogWrite(MOSFET2, 255 - i);
    // analogWrite(MOSFET3, i);
    // analogWrite(MOSFET4, 255 - i);
    delay(10);
  }
  
  // Reset i to 0
  int i =0;

  // Fade out MOSFET1 and fade in MOSFET2
  for (i = 0; i >= 255; i--) {
    analogWrite(MOSFET1, i);
    analogWrite(MOSFET2, 255 - i);
    // analogWrite(MOSFET3, i);
    // analogWrite(MOSFET4, 255 - i);
    delay(10);
  }

Thank you sir

1 Like

yes, currently I'm using N-channel MOSFET to control my converter. My converter is Double Active Bridge. I'm using MOSFET C3M0280090D Silicon Carbide Power MOSFET
N-Channel Enhancement Mode with maximum vgs -8/+18V but Arduino only produce 5v.

Thank you for your Guidelines. right now, I want to design DC-DC converter controlled by Arduino MEGA. To produce DC-AC (inverter) for Half Bridge 1, I need to control switching for 4-unit N-Channel MOSFETs. and another is AC-DC (rectifier) for Half Bridge 2 that need another 4-unit of N-channel mosfet.

Often such converters use a transformer with a middle contact. The middle is connected to 12V (or whatever) and the sides are taken low by two alternating N channel low side switching mosfets...
The upper mosfets in your drawing should be p-type mosfets (with an npn transistor driver).
To me it is not clear why you have 2 transformers...

Thank you for reply. I not clear how to put upper MOSFET of P channel. do you mean as example below?. for the transformer I used 2 unit of transformer which are 24 to 240 (step up) and step down back 240 to 24. because I want output only DC voltage sir. it their mistake from my design sir?

Yes, the ones in the red circles are high side switches.
You could have bought a 24V to 24V transformer, but it might be more difficult to get one of those than to get 2 of your type :grinning:.

1 Like

There are devices called "Gate Drivers" that can be used to drive N-channel MOSFET in the high-side of an H-bridge (or to provide greater than 5V, needed for many N-channel MOSFETS, even in the low-side.
See, for example: https://www.microchip.com/en-us/products/power-management/gate-drivers-mosfet-igbt

I don't think that it going to do what you think it will do, since analogWrite() normally generates a PWM waveform. Also, "fading in" is usually a bad idea for power MOSFETs - if they spend much time in between FULL ON and FULL OFF, power dissipation goes up dramatically.

Please re-post your code using code tags. Caution on the MOSFETs, there is a potential problem with 'shoot through' that happens when both upper and lower MOSFETs are on at the same time. You must be sure one off before the other is on. Generally this happens because the designer does not take into account the minimum Vgs of the MOSFET and the capacitance of the gate connections. You will have to leave some dead time (time when neither the upper or lower MOSFET is on.) Good Luck.

Thank You Sir

I already report my code , Thank you for your comment . I will try it to improve my code

Thank You. The comment was to post it as you now have, I did not study the code. Take a few moments and read this: https://www.ti.com/lit/an/slva882b/slva882b.pdf?ts=1659274643749 It is an application report on Multiphase Buck Design From Start to Finish (Part 1). Look at the timing, they have a dead time gap where none of the MOSFETs are on. This is to prevent shoot through which generally destroys MOSFETs.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.