Skip to main content

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. (1) External Signal Generator: 0-5Vppk output.
    2. (1) Power Supply: (ATX is ideal)ideal, havingproviding +55V REG and +12V REGREG.
    3. (6) 2N7000 Signal MosFETs.MOSFETs: Quantity 6.
    4. (2) IRFP460 or similarSimilar powerPower N-channel MosFETMOSFET: (AnyQuantity power mosFET can be used thanks to the gate chip)2.
    5. (10) 56R56Ω 1/8W Resistors: Quantity 10.
    6. (2) 100R100Ω 1/2W Resistors: Quantity 2.
    7. (2) 4.7kR7kΩ Resistors: Quantity 2.
    8. (2) 2N3906 PNP General;General Purpose Transistor: Quantity 2 (maycan be substituted forwith any general PNP)PNP transistor).
    9. (2) IR2110PB Gate Driver Chip 14pin14-pin: Quantity 2.
    10. (2) Arduino NANONano (or similarsimilar): -Quantity 2 (must support hardware PCNT).
    11. (1) Rotary Encoder: Quantity 1.

    Software Requirements

    • Arduino IDE: Ensure it is installed and updated to the latest version.
    • Encoder Library: Install via the Arduino Library Manager.

    Instructions

    Setup

    Install

    Arduino IDESetup

    Designate / label each Arduino as either: Pulse Counter or Sequencer

    Pulse Counter Arduino

    1. Upload Script

      • PlugOpen the Arduino IDE.
      • Connect the first Arduino (PulseCounter) intoto theyour PCPC.
      • and
      • Open upload the PulseCoutner.PulseCounter.ino script from the provided Bitbucket Reporepository.
      • above
      • Upload the script to the Arduino.
    2. 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).
    3. Verify outputEncoder Output

      • Open the Serial Monitor in the IDE'sArduino ConsoleIDE.
      • log
      • Rotate the encoder and check the output to confirm Encoderit is functioning correctly.

    Sequencer Arduino

    1. Upload Script
      • PluginDisconnect the PulseCounter Arduino and connect the second Arduino into(Sequencer) to your PC.
      • Open Sequencer.ino from the provided Bitbucket repository.
      • Upload the script to the Arduino.


    Pin Mapping and Connections

    Notes:Connecting the Two Arduinos

    • AllPulseCounter resistancesArduino 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.

    Gate Driver Chip Connections

    IR2110PB Gate Driver Chip

    1. Power Connections

      • VCC (Pin 3) → +12V REG
      • VSS (Pin 12) → GND
    2. Input Connections

      • LIN (Pin 11) → Arduino PWM pin (as per script)
      • HIN (Pin 10) → Arduino PWM pin (as per script)
    3. 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
    4. Bootstrap Capacitor

      • Connect a 0.1µF capacitor between VB (Pin 8) and VS (Pin 6).
    5. 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.

    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.

    Additional Notes

    • Resistor Tolerances: The resistors can have a large tolerance. The 56R56Ω value is chosenselected to preserve signal clarity. AnythingAny <=220Rvalue ≤220Ω should be fine to use.acceptable.
    • Merged Outputs: The Arduino Channel Sequencer has 2 outputs,outputs shown merged here due to Scheme-It limitations.


    image-1719410355447.png