2 Arduino - Dual Channel - Triple AND Gate (Perfect Pulse Driver)
Arduino Code: https://bitbucket.org/cbake6807/dualtripleseq/src/master/
Libraries Required: Encoder
Parts List
(1)External Signal Generator: 0-5Vppk output.(1)Power Supply:(ATX isideal)ideal,havingproviding +55V REG and +12VREGREG.(6)2N7000 SignalMosFETs.MOSFETs: Quantity 6.(2)IRFP460 orsimilarSimilarpowerPower N-channelMosFETMOSFET:(AnyQuantitypower mosFET can be used thanks to the gate chip)2.(10) 56R56Ω 1/8W Resistors: Quantity 10.(2) 100R100Ω 1/2W Resistors: Quantity 2.(2)4.7kR7kΩ Resistors: Quantity 2.(2)2N3906 PNPGeneral;General Purpose Transistor: Quantity 2 (maycan be substitutedforwith any generalPNP)PNP transistor).(2)IR2110PB Gate Driver Chip14pin14-pin: Quantity 2.(2)ArduinoNANONano (orsimilarsimilar):-Quantity 2 (must support hardware PCNT).(1)Rotary Encoder: Quantity 1.- Arduino IDE: Ensure it is installed and updated to the latest version.
- Encoder Library: Install via the Arduino Library Manager.
-
Upload Script
PlugOpen the Arduino IDE.- Connect the first Arduino (PulseCounter)
intototheyourPCPC. - Open
upload the PulseCoutner.PulseCounter.inofrom the provided BitbucketscriptReporepository. - Upload the script to the Arduino.
andabove -
Connect the Encoder
- Connect the encoder's VCC to the Arduino's 5V pin.
- Connect the
Encoderencoder's GND to the Arduino's GND pin. - Connect the encoder's CLK and DT pins to two digital pins on the Arduino (e.g., D2 and D3).
-
Verify
outputEncoder Output- Open the Serial Monitor in the
IDE'sArduinoConsoleIDE. - Rotate the encoder and check the output to confirm
Encoderit is functioning correctly.
log - Open the Serial Monitor in the
- Upload Script
PluginDisconnect the PulseCounter Arduino and connect the second Arduinointo(Sequencer) to your PC.- Open
Sequencer.inofrom the provided Bitbucket repository. - Upload the script to the Arduino.
AllPulseCounterresistancesArduino to Sequencer Arduino- PulseCounter D4 (Output) → Sequencer D4 (Input)
- PulseCounter D5 (Output) → Sequencer D5 (Input)
- Shared Connections
- Both Arduinos' GND pins should be connected together to ensure a common ground.
-
Power Connections
- VCC (Pin 3) → +12V REG
- VSS (Pin 12) → GND
-
Input Connections
- LIN (Pin 11) → Arduino PWM pin (as per script)
- HIN (Pin 10) → Arduino PWM pin (as per script)
-
Output Connections
- LO (Pin 1) → Gate of the IRFP460 MOSFET
- HO (Pin 7) → Gate of the second IRFP460 MOSFET
- VS (Pin 6) → Source of the high-side MOSFET
-
Bootstrap Capacitor
- Connect a 0.1µF capacitor between VB (Pin 8) and VS (Pin 6).
-
Other Components
- D2: Place a 1N4001 diode between VB (anode) and VCC (cathode).
- R2: Connect a 10Ω resistor between LO and the gate of the MOSFET.
- Resistor Tolerances: The resistors can have a large tolerance. The
56R56Ω value ischosenselected to preserve signal clarity.AnythingAny<=220Rvalue ≤220Ω should befine to use.acceptable. - Merged Outputs: The Arduino Channel Sequencer has 2
outputs,outputs shown mergedheredue to Scheme-It limitations.
Software Requirements
Instructions
Setup
Install
Arduino IDESetup
Designate / label each Arduino as either: Pulse Counter or Sequencer
Pulse Counter Arduino
Sequencer Arduino
Pin Mapping and Connections
Notes:Connecting the Two Arduinos
Gate Driver Chip Connections
IR2110PB Gate Driver Chip
Schematic Overview
Refer to the schematic image to visualize these connections. The IR2110PB gate driver chips control the IRFP460 MOSFETs, enabling high-power switching of the VIC (Voltage Intensifier Circuit) primaries.
