So your program starts here in void loop. July 20, 2018. Buy an ESC, fit it into a little box with lots of open ended wires coming through the side of the box, fill the box with opaque potting compound. Its very easy to make professional VFD combining with Intelligent Power Module (IPM) or 3 Phase IGBT/MOSFET with Gate driver. I hope this helps you out a little bit. On the Forward/Reverse pin towards earth I get like 5 mVolts constantly, in spite of having 10kOhm pull-up resistors, just as the others for Start/Stop and Reset. I can found it on ebay.com and other online stores but it seems its an obsolete part. Concept. I am pretty tight for time and would greatly appreciate any insight. thanks for the reply, I have some background and experience on the electronics field : Once replicated one of your inverters, how to read the speed sensor and how to use it to maintain the required RPM under different load condition ? Sir Can you send the full circuit diagram of 3phase Inverter circuit for 415 v ie, 1phase should have 230v 50hz My email address is shubhamsamal27@gmail.com. So, it got a complex build with all sorts of sensors, and now Im waiting to place an order of some components, then itll get assembled and hopefully itll work as I intended. So if you drive the low side on the phase one, this will go to low on banana socket one. Hi, You can perhaps try the first circuit from this article: https://www.homemade-circuits.com/3-phase-induction-motor-speed/. Hi, are you sure it is for the above 3 phase Arduino circuit? JLCPCB have an online editor, in which you can import schematics and layouts from various formats. }); The south poles are marked with RED and the north poles are BLUE. as you can see, I was going in wrong direction, that is the reason of my questions, I need to understand how PWM must arrived at IRS2330. I'm trying to make a three phase motor controller. As I told I do have a 3 phases motor : 380 V max and 400 W : it is rated for 14000 RPM. fader arduino midi motor-controller pid-control potentiometer motorized capacitive-touch Updated Nov 21, 2022; C++ . It is easier and will require only one bootstrap capacitor. In these situations, it makes sense to design control systems that isolate the operator as far from the dangerous voltages as possible. Here this is the arduino and the sixth output is given through the resistor and and is connected to the mosfet gate. If a fault does occur, the MC3PHAC immediately disables the PWMs and waits until the fault condition is cleared before starting a timer to re-enable the PWMs. The inverter card comes with an inbuilt full bridge rectifier and filter capacitor. The 10k potentiometer is used to control the brushless DC motor speed, it is controlled using PWM technique (pwming high sides only). And also this project has reduced the harmonics and switching losses of the circuit. I have a washing machine 3 phases motor that is 400 w and 330 V. I would lake to build up an inverter to control it, I plan to read the speed sensor to maintain the rpm stady with the load. Hello Mathieu, you can refer to this article: https://www.homemade-circuits.com/three-phase-inverter-circuit/, you this text you say 1n4148 is recommended over 1n4007. Powered by Discourse, best viewed with JavaScript enabled, Brushless DC (BLDC) motor with Arduino Part 2. This project made using MC3PHAC from NXP Semiconductor. The circuit diagram has four stage: arduino driver circuit, mosfet, fridge and pldc motor here. One motor is connected to 1Y and 2Y, the other is connected to 3Y and 4Y. Circuit and Software - Electronics Blog, http://arduino.cc/forum/index.php/topic,120703.0.html, http://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=1129&context=eesp. Thank you. i have a logic such like inverter process, for example code can process 3 hall sensor counting and 6 mosfet switching. The poles are so marked in accordance with the commonly accepted naming convention. Brushless DC electric motors (BLDC), also known as electronically commutated motors (ECMs, EC motors) or synchronous DC motors, are synchronous motors powered by DC electricity via an inverter or switching power supply, which produces an AC electric current to drive each phase of the motor via a closed loop controller. Please I want to try this 3 phase arduino inverter but i would like to incorporate a three (3) phase AC voltage meter to display the AC voltages on the 3-phase outputs. Overbar means the specific pins become active when the input signal it LOW. Here this is the pldc motor six pole, chatter and a four pole rotor and look at this. It s not making sense to me. This makes the MC3PHAC a perfect fit for customer applications requiring ac motor control but with limited or no software resources available. hello Mr.Sawgatam Im designing a three phase inverter using ir2130 ic and how to connect the Arduino with the ic should i use 6 output form the Arduino or just three and i wanna know what should i edit in the code to have higher frequency or lower and based on what you calculate the delay time ? Theory [], [] Part 1 of the Project Build Part 2 of the Project Build Part 3 of the Project Build [], [] of the IC using 6 transistors wired as 3 Half-H-Bridges (look up an H-Bridge in google). hello i am finding 3- phase bridge to connect with arduino uno 3. the reason i will use 3-phase bridge to rotate bldc motor. Im wondering if anyone have had this problem with the MC3PHAC circuit? The only think I decided was the 800V mosfet that i already buy. We are sorry, we dont sell kits or ready products. In the second diagram the IC is not the same because the input is not complementary. pls tell me if i use PWM controller as your previous circuit to the bridge mosfet on the low side.. is it possible for controlling? These are the decoupling capacitors to hold the charge to give extra power to the motor when its turning. This would trigger the IGBT for a percentage of the waveform that changes depending on the sampled voltage, say from 50% to 100% of the waveform. . In standalone mode, the window thresholds are fixed at 4.47 volts (128 percent of nominal), and 1.75 volts (50 percent of nominal), where nominal is defined to be 3.5 volts. on Introduction. -invert the second one. You can use a 6 diode rectifier for rectifying a 3 phase AC, which will convert the 30 V AC back to 40 V DC, Hi Swagatam I just wanted to ask that the 3 phase output of the inverter will be square wave or sinusoidal in nature??? Did you receive the code? Hello Can i doing that on protues? This animation would cause a counter clockwise rotation of the motors for every step. Also, you should always have a 6 pin wiring with one floating wire to the motor so that you can read back emf and also the way you are doing it, as you admit, actually has sometimes one inductor pushing BACKWARDS so your circuitry is fighting itself causing tremendous inefficiency and waste of power, ruining torque, ruining speed, etc. For the drilling, I strongly recommend using drill bits that are made specifically for PCB drilling, and not ordinary (Youll thank me later, I promise!) Do you think its a good idea? I will assume that you already have the Arduino IDE downloaded and installed and you know how to upload sketches to your board. i am stuck in to design 3 phase VFD can you give me any Solution. The three phase Induction motor has the following Specifications: Power Rating : 0.37 kW or 0.5 HP. enable_b enables the 3&4 pair */. 24,00. How to control a 3 phase motor using the Arduino Nano and VFD 0033mer 28.2K subscribers Subscribe 117K views 5 years ago This video will describe how to control a 3 phase induction. Reply. And if it is square then how can I filter it to get sine wave, Hi Shuvam, the output will be square wave, it can be converted into sinewave by chopping the gates of low side MOSFEts or IGBTs with SPWM.thats a slightly complex process, Hi Swagatam Can I do the filtering of the square wave with some external circuit. So when you drive the high side on the second phase, that will come out on the second banana socket if you drive the optocouple on the third phase, that will come out on the third banana socket. Okay, thank you, hello friends. Arduino Motor Shield Rev3. Motor controllers Motor controllers are devices which regulate the operation of an electric motor. Just bought one, waiting for delivery, and some additional components, and Ill have to order some others too, but soon itll run my washing machine! The code below does not use any BLDC motor library. Search. this is not good for motors Is there any way that I can generate accurate three phase signal or , phase shift spwm signal which I have generated by comparing triangular and sine waves Thanks a lot sir. Hi, Unfortunately we dont have this IC on hand. A disassembled CD/DVD brushless DC spindle motor Potentiometer provided to control the Motor Speed, Default PWM Frequency 10.582 KHz , Can be Adjust between ( 5.291 kHz 164 kHz), VBS Input (Bus Voltage Feedback) Under Voltage Control, Fault In ( Over Current or Short Circuit Input), Digital signal processing (DSP) filtering to enhance speed stability, 32-bit calculations for high-precision operation, No user software development required for operation, 4-channel analog-to-digital converter (ADC), Phase-lock loop (PLL) based system oscillator, Low-power supply voltage detection circuit, Included in the MC3PHAC are protective features consisting of dc bus voltage monitoring and a system. I think its not. PCB files (Gerber) are available so you can manufacture your own PCB in your desired manufacture. Okay. hello sir, i need code to vary frequency and voltage of three -phase Inverter to keep v/f ratio constant. The MC3PHAC is a high-performance monolithic intelli gent motor controller designed specifically to meet the requirements for low-cost, variable-speed, 3-phase ac motor control systems. This really stumped me for a while until I realized that. Cause I am going to use it for my project I am making a PCB of it So I was just making sure Thanks. 3-Phase Induction Motor Protection and Condition DETEC System using Pic18 F452 Microcontroller. It is already given in some articles under this category: https://www.homemade-circuits.com/category/3-phase-power/. This is a good starting point for me. The two enable pins enable pairs 1 - 2 and 3 - 4 respectively. Ive got different code to run the arduino mega. Hi Shuvam, without scope we cant guess what is the situation of the oscillations, whether is it perfectly happening or not? Hello. Regards. Here the pldc motor is controlled by a ldc controller, three phase field controller and using arduino okay. What alterations must be made to the circuit to handle a current of up to 10A? So the logic depends on IC as I suspected from the beggining. Code: A000079 / Barcode: 7630049200371. Thanks a lot for your kind assistance. By the way I did not receive any email from you. The 3rd diagram in the following article shows an example how the low side devices of a 3 phase inverter can be controlled using SPM. If you have any further doubts or questions on this subject please feel free to comment and get the replies quickly. Also, since I feel confortable with arduino I want to avoid 555 timers etc and I want to generate spwm, ]pwm, whatever in it. There are a lot of different brushless motors, if you google it you will find a lot of examples like Brushless DC (BLDC) motor with Arduino Part 2. [content-egg module=Aliexpress template=grid], https://www.youtube.com/watch?v=8QxS0dKqnSc. Hello Swagatam, very nice your article! 3 Phase Motor Control using Arduino Uno 2,065 views Sep 13, 2021 31 Dislike Share Save Kash Patel 1.02K subscribers Circuit diagram and code for driving a 3 Phase Motor. So it can be very difficult to know the working status of the IC. So, if we upload this code to our Arduino, and then power up everything using the battery, then we can control the speed of the brushless . 3-Phase solid-state-relay can be used to operate AC motor. Required fields are marked *. What logic is used in the arduino here? Its a complex process which cannot be explained briefly here. This signal can be used to control a resistive brake placed across the dc bus capacitor, such that mechanical energy from the motor will be dissipated as heat in the resistor versus being stored as voltage on the capacitor. Hi Swagatam . Later maybe I can upgrade to this beauty. 54. If ican doing that what the steps? To get 220V you must use 310V DC for the IGBTs. The speed measured by infrared sensor and PIC16F877A . This is the circuit diagram for the whole circuit. Can we use this to drive 3phase BLDC motor. However in the listed parts you say IR2112 and I think the pinout in the diagram is for IR2112, because irs2608d has only 8 pins Please confirm that the irs2608d has nothing to do with this Also, you say this: if the mosfet IRF450 is used with a switching frequency of 100kHz. However, for most low cost ac drives, this energy is stored in the dc bus capacitor by increasing its voltage. Share it with us! This concludes our discussion on how to build an Arduino based 3 phase inverter circuit. I have explained the procedure comprehensively in the following article: Calculating Filter Capacitor for Smoothing Ripple, However calculating will give a very large value, so practically speaking, the approximate value could be anywhere between 100uF/1kv, 500uF/1kv The best solution to convert DC to DC is through buck converter circuit, hi dear sir do not be tired of good and practical circuit i have built many of your circuits so far and most of them have been practical,Regarding this circuit i must say that is not very suitable for the Ac motors i have connected a inverter output to a Osiloscope Each cycle consists of needle pulses that simulate sinusoidal wave by increasing and decreasing pulses width in a cycle at low frequencies to control the speed the amp goes up too high even at normal frequencies because sudden changes in voltage cause inrush current, when i connected a transformer with almost high current to the city electricity sometime when the connectin was made at the maximum voltage the power was cut off thgrogh a fuse i had to use from one moc 3063 with zero cross detector feature. If you are building a single VFD, then you can try the following code which is a tested one: https://www.homemade-circuits.com/arduino-spwm-generator-circuit/. That looks so unnecessarily complex. Im going to buy STW30N80K5 instead of IRF450 MOSFET. Pl mention the Approx Cost for 25 nos Board. another problem is that ,i made a DC bus using 680uf 400v capacitor .But when i connect with mosfet terminal. Once this threshold is reached, the MC3PHAC will continue normally, with any further under voltage conditions treated as a fault. It depends on the power stage you are going to use. Motors in this power range are very useful in any DIY workshop with easy speed and direction control a nice bonus. Dear sir, how can I vary the frequency of three-phase square wave .. thanks a lot.. Hello W.C.Jayashan, The frequency is programmed in the Arduino code so it cannot be varied continuously. I would like to buy ready made schematic and all the gerber files and step by step guidance. When the dc bus integrity is checked, an under voltage would be detected and treated as a fault, with its associated timeout period. After all spwm is rectangular wave with a complex frequency Please make a simplest as can be complete diagram of your sin wave 3 phase solution using only the arduino as timer because im totally lost at your site. The PWM input at the isolated LED control side of the opto determines the chopping ratio of the 3 phase AC input which is being processed by the MOC ICS. another way to do that is to upload the sketch into Atmega328P using arduino UNO board after that, remove the IC from the arduino board and then build the circuit on your own PCB or veroboard using 1414 (28pins) IC socket after which you can now socket your programmed Atmega328P IC into the IC socket. So stay tuned! External SPWM can be used at the low side mosfets for getting sinewave output Can you provide me a link for that? Whenever red and red are near, they repel. 3: Control the frequency with arduino or micro controller 4: DC-AC pwm And I have 2 question: Which capacitors in farad and volt is ideal to use for filter the peak voltage? Krushi Controls Savik SSR 16A, DC -AC,Three Phase Solid State Relay,440 VAC/ 16 A, 4 -32 VDC Quora User Long live the 8051, HC11 and 6805 Author has 4.1K answers and 6.3M answer views 5 y Related This is the logic used in the arduino and it is used placed for the pldc controller. You can use the contact us form on the menu above and we will handle communication with Ramkumar, what this is about? Any help would be appreciated though, I am pretty tight for time and would greatly appreciate any insight. I have managed to use the timers (3,4,5) on the Mega board to provide 3 different PWM signals and their inverse at various duty cycles and frequencies using the pwm function from the timer library (arduino.cc/timer1) found online. Now i am going to explain the motor and other details. The direction of the magnetic force is defined by the right hand rule: if the palm of the right hand follows the direction of the current (i.e. As you can see, I was not generating a complementary PWM, when Hi was active, Li was just zero.. and it is not ok,you use always Hi with PMW generated by microcontroler or Hardware and a complementary oh HI, Li. I also had an optocoupler that was connected so when I had the circuit connected it was activated and was pulling the For/Rev pin to ground. It just gets everyone upset. And then you get the same thing happening for brightness two, which is phase phase two, and then you get brightness three, which controls the third phase for the motor and theres a slight delay just to let the cycle work smoothly. Save my name, email, and website in this browser for the next time I comment. A dual channel brushless motor controller based on the RP2040 microcontroller, designed in Kicad. 19 thoughts on " Brushless Motor Controller Shield For Arduino " . Comment *document.getElementById("comment").setAttribute("id","acc0dcb73e5b858ee7d73545707187d0");document.getElementById("j59b69d984").setAttribute("id","comment"); Notify me via e-mail if anyone answers my comment. I really, REALLY need this crap to work this time so I can finally move on with my build and focus on the tricky part The programming! I have tried that with arduino sketches. Here the pldc motor is controlled by a ldc controller, three phase field controller and using arduino okay. I did not have the time nor energy on this quick project to delve into that subject, so I put those []. 50V 3-Phase BLDC Motor Driver. Hi Shuvam, Thats correct, the ground line common for the entire system, Hi At the last driver circuit the mosfet you used is IRF540 right??? My research shows the Arduino has 6 PWM outputs, 8 other digital I/O, plus 6 analog inputs. Working on developing efficient code for driving a BLDC 3-phase motor with BEMF feedback using Atmega328pb, The code is based (as a starting point) on this tutorial: Tutorial Link. To do this Use following components, R2 Should be 3.3Kohms, R4 4K7 Ohms, C6 0.1uF and close jumper between pin1 and pin 2. but i cant find i can any apply product. It contains all of the active functions required to implement the control portion of an open . I think it was something mentioned in the YT video, but my Indian English is a bit rusty (Very difficult to understand some parts due to heavy accent!). July 20, 2018. and does it take (cogs*maximum_no_attraction_point)12*4 = 48 steps to make one complete rotation ? Okay. If one button is pressed then the motors will run in one direction. Hi Swagatam Yeah I meant which IGBT did you use?? Typical fault conditions might be a dc bus over voltage, bus over current, or over temperature. And the motor speed is controlled by using the driver and three-phase inverter circuits. Sorry about it! Can this change at the input give you a sin wave at the output with your setup? Ok. Then one IC is active when hin is low because it has overbar and the other IC is active when hin is high because it does not have overbar. If you use a discretely built 3 phase oscillator circuit for feeding the H-bridge stage then it may be possible to vary the frequency with a pot. Hi Swagatam good to find your site and a person like you. Input and Outputs are terminated with PTB Connectors, All input and outputs are terminated with RMC Male Connectors. void setup() { // initialize digital pin 13,12&8 as an output. The basic understanding is to increase the speed we need to increase the duty of the PWM's. However, the code I currently have works fine BUT is . The three phases (wires) of the BLDC motor must be connected to the three output wires of the ESC controller - no matter what order. IGBT Gate is handle by IRS2130 and the incoming PWM from Arduino must be connected to Hi and Li, so I cant understand why you put this diode and the label too to Arduino. It contains all of the active functions required to implement the control portion of an open loop, 3-phase ac motor drive. All the best. The 3 trigger parts of the code are there just to trigger an osciloscope and check if all waves keep sync all over a long time And they do, I thought you have tested it. Arduino 3 Phase Motor Control - Bldc shield for arduino with tle9879qxa40 is designed to drive bldc . Could I also use it to control a three-phase motor with sine PWM? I will be using a simple h-bridge IC with some Arduino code that should be compatible with any Arduino or Arduino clone. You can drill by hand, but its easy to break the drill bits, so preferably you should use a drill press for this to get some better control. Hi I am Vijay Singh Jakhar from Faridabad Haryana India I am looking for ac induction motor controller vijsinjak2@gmail.com Whats app/phone call +91-7056611119 Thanks with best wishes Vijay. The pin #9, #10 and #11 are the PWM pins have the capability to produce analog voltage level as described before; it produces pulse at 490 Hz by default. These things need to be controlled via PWM [], [] for the fullrun-downon brushless motor control,click here. We can produce this board if order is > 25 pieces. Yes you can try it with the above project! Hi again. Since then, as I was about to assemble the machine I discovered that Id made a grave error of not separate the ground from the AC mains, so I ended up scrapping the PCB entirely and redid the entire design, so now its completely different and I did order the PCBs off JLCPCB this time as it got really complex with three ATMEGA processors (2560, 328 and 32), as well as an additional panel PCB with a dosage pump controller for washing detergents). External Fault Monitoring: The FAULTIN pin accepts a digital signal that indicates a fault has been detected via external monitoring circuitry. It worked, but was really not optimal since it was a 6 pulse system rather than a PWM one. It can however be found on Ali Express (Surely on eBay as well), but its very expensive, like ~$25, 200 SEK or 20 The arduino ive connected it to the arduino inputs here, which is the high side, low side drivers, and these are the three phase outputs for the motor. Arduino Uno programmed to output six PWM signals, to drive a 3 Phase motor. When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. Please provide link of the article, so that I can understand correctly. OK ALL FRIENDS! We also get your email address to automatically create an account for you in our website. ChatGPT instant C++ script for programming Great for Arduino beginners! I am running L293 on 3.3V, but it will work better on 5V and an Arduino is better for this experiment. Thank you sir, A filter capacitor should be ideally calculated using formulas. This relay can be activated by control voltage of 4V to 32V DC (with 4 to 16mA current). jkfromme: Your email address will not be published. Speed Control the synchronous motor frequency can be specified in real time to be any value from 1 Hz to 128 Hz by adjusting the PR2 potentiometer. So, okay, friends, if you like this project, please subscribe and press the bell button and also press the like button. So, itll be very interesting to see when Ill get this, and if the seller heeded my demands on proper ESD precautions and not just a clip-out from the reel in a mere ZIP-bag, like last time (from another seller!). Well I thought I would give a little update (I got a PM from an interested member) I was successful in building a VFD, but due to uni health and safety I couldnt use 340VDC in the labs and I built a low voltage prototype which drove a dummy RL load Heres my project upgraded to a 32 bit controller, its getting better all the time, http://arduino.cc/forum/index.php/topic,106477.0.html, The jump to mains voltage is the most difficult jump of all. CNC Files Free Gcode and SVG laser cut patterns, Arduino Code Tidbits #1 Declaring an Array with Pin Values, Blu-Ray Teardown HP CT10L BD-ROM / DVD Rewriter, Driving a three-phase brushless DC motor with Arduino Part 1. Please let me know why it is not making sensethe NOT gates are inverters, they will invert the input signal at their output, Because in the datasheet one IC has overscore over HIN an LIN and the other doesnt. The HIN/LIN complementary pins must never be high or low together at any instant that is perhaps the only criterion for implementing the IC successfully. If you get stuck somewhere you should be able to troubleshot it quickly. Just to be sure, can you recheck the bifurcation diagram? The table below summarizes the active Arduino pins according to . The speed variation can be viewed in the tachometer. A three phase inverter is designed for operating a brushless dc motor. Hi Swagatam For the 12v and 220v DC you have given a common ground point right??? Bus Voltage Integrity Monitoring ( Input Pin 10 of the CN3) The DC_BUS pin is monitored at a 5.3 kHz frequency (4.0 kHz when the PWM frequency is set to 15.9 kHz), and any voltage reading outside of an acceptable window constitutes a fault condition. Great page. The second diagram from above forms the bridge driver stage for the proposed Arduino PWM, 3 phase inverter design, using the IC IRS2330 bridge driver chip. That is why I designed the low side mosfet control method which is a great and an easy way to achieve pure sine in full bridge transformerless inverter. We will use two push buttons to control the direction of the motors. When not powered I get around 15 kOhms towards ground and similar around this pin to other pins, so its not shorted out. How can I send you the code? Switch the gallery buttons layout from 1-36 as such: 12V can be used, but then the output will be 8.5V AC. The loop is just a continuous function sets the PWM based off of the input from the potentiometer, then it checks the buttons. Show more. One of the unique aspects of this board is that although it is adaptable and configurable based on its environment, it does not require any software development. 3 Phase Sine Wave Generator Circuit - Arduino The circuit is very simple; it consists of an Arduino board and a 10k potentiometer for adjusting the frequency of 3-phase output. Sir how to control 3 phase motor by using this project. CD-ROM Sensored BLDC motor control with Arduino About L6234 three phase motor driver: The L6234 is a DMOSs triple half-bridge driver with input supply voltage up 52V and output current of 5A. Yes, as others have said, your animation is backwards. The board provides 6 PWM signals for the IPM or IGBT Inverter and also brake signal. The 1K preset is used for controlling the over current limit of the inverter by suitably adjusting it across the shut down pin of the I, the 1 ohm sensing resistor may be reduced appropriately if the current a relatively higher current is specified for the inverter. During this process the coil inside the motor is energised and hence the . I am sorry I did not explain this in the last diagram. Your email address will not be published. Does this circuit have pre-driver stages? Stepdelay is the number of milli-seconds to wait before switching. This looks fairly easy to understand, however for calculating the current rating, we may have to do some math by multiplying the gate charge magnitude with the switching frequency. Teen Patti Gold Hack & 3 Patti Chips Code Extra Bonus 2017 Sat Apr 29, 2017 10:50 am by ubedullah Group hackers Sat Apr 15, 2017 2:37 pm by Group Hackers Hacker Needed Sat Apr 15, 2017 3:57 am by Group Hackers Hacker Needed Sat Apr 15, 2017 1:45 am by Group Hackers Hacker Needed Thu Apr 13, 2017 11:10 pm by Group Hackers . Another thing that daunts me, is that this circuit is super high tech, has its own RS232 interface, yet it doesnt have any tachometer input. Can you please help me how to correct the distorted part . I know im being a pain to you Thank you for supporting me. BLDC Motor control using Arduino | Speed control with potentiometer The brushless dc motor is a three-phase dc motor which requires a controller to power its 3 phases. So this is like a puzzle where your professor wants you to do it the hard way? I ended up having some problem that wasnt related to the actual circuit, but rather the potentiometer that was setting the voltage for the DC rails. Power quality in distribution network(statcom), Field oriented control of induction motor. enable_a enables the 1&2 pair. Not the most easy thing to do, given its double sided and need some thinking of how do get it right. The two push buttons are connected to digital pins 2 and 3 on the Arduino as shown in the poorly drawn Fritzing image.The two motors are connected to the Y pins on the H-Bridge. In such circumstance the diode will need to be a ultra fast recovery type to minimize the magnitude of charge from being forced back from the bootstrap capacitor towards the supply rails of the IC.