The GMS Board Replication and DB37 in out connector Convert

securesupplies

Re: The GMS Board Replication and DB37 in out connector Convert
« Reply #501,  »Last edited
Understanding the Setup

WFC Nano Bubble Water Fuel Cell:

A Nanp water fuel cell (WFC) typically generates hydrogen and oxygen through Voltrolysis or resonant frequency excitation, often using a VIC transformer to intensify voltage across electrodes.
The "positive electrode" likely refers to the anode, where oxidation occurs, producing oxygen bubbles and potentially a PLL signal for frequency synchronization. 2 tube cell in series with blocking diode
A "PLL pickup" suggests a signal (e.g., voltage or frequency) derived from the electrode to lock a Phase-Locked Loop circuit, possibly for controlling the WFC's resonant frequency.

Teensy Microcontroller:

The Teensy (e.g., Teensy 3.2, 4.0, or 4.1) is a versatile microcontroller with multiple analog and digital pins, suitable for reading signals like PLL outputs.
Pin assignments depend on the model and your project’s code (e.g., using Arduino IDE with Teensyduino).


VIC Transformer and Secondary PLL:

The VIC transformer steps up voltage for the WFC, with a secondary PLL pickup monitoring the output or resonant frequency.
A "2ndary PLL pickup" a second PLL signal,  from the transformer’s secondary coil, used for feedback or synchronization.

THE Best Way is on the TUNER  Receiver the WFC
keep that SWR   low power reflection

PLL Pickup from Positive Electrode

Signal Characteristics: The PLL pickup from the positive electrode is  a low-amplitude AC or pulsed DC signal reflecting the WFC's resonant frequency (e.g., VLF 5  kHz, based on Meyer’s WFC designs). This requires conditioning (e.g., amplification, filtering) before input to the Teensy.
Teensy Pin Recommendation:

Analog Input Pin: Use an analog pin (e.g., A0–A9 on Teensy 3.2/4.0) to read the PLL signal’s voltage level, which can be converted to frequency using an interrupt or timer in code.
Digital Input Pin with Interrupt: Alternatively, use a digital pin (e.g., 0–23 on Teensy 3.2) with an interrupt (e.g., pin 2 or 3) to detect rising/falling edges of the PLL signal for precise frequency measurement.
Recommended Pin: Pin A0 (analog) or Pin 2 (digital with interrupt) on a Teensy 3.2/4.0, as these are commonly used for external signal inputs. Check your Teensy model’s pinout (e.g., Teensy 4.0 has A0–A19) and avoid pins reserved for other functions (e.g., I2C, SPI).
Precautions: Add a voltage divider or Zener diode to limit the signal to 0–3.3V (Teensy 3.2/4.0 logic level) and a capacitor for noise filtering, as the electrode signal may be noisy.

Second PLL Pickup from VIC Transformer (Secondary)
Signal Characteristics: The secondary PLL pickup from the VIC transformer’s secondary coil is  a higher-voltage,5 kHz  reflecting the transformer’s output. This requires isolation and conditioning to protect the Teensy.
Teensy Pin Recommendation:
Analog Input Pin: Use a separate analog pin (e.g., A1) to monitor the secondary PLL signal’s amplitude, adjusted via a step-down circuit (e.g., 100:1 voltage divider).
Digital Input Pin with Interrupt: Use a digital pin (e.g., 3) with an interrupt to count pulses or edges for frequency tracking.
Recommended Pin: Pin A1 (analog) or Pin 3 (digital with interrupt) on a Teensy 3.2/4.0, distinct from the primary PLL pin to avoid interference. Ensure the pin supports the signal frequency (Teensy 4.0 handles up to 600 MHz).
Precautions: Use an optocoupler (e.g., 4N35) or transformer isolation to protect the Teensy from high voltages. Limit the signal to 3.3V and filter noise with a 0.1 µF capacitor.
General Guidelines
Pin Assignment:
Primary PLL (positive electrode): Pin A0 (analog) or Pin 2 (digital).
Secondary PLL (VIC transformer): Pin A1 (analog) or Pin 3 (digital).
Avoid overlapping pins (e.g., A10–A14 on Teensy 4.0 may be ADC-specific or reserved).

Circuit Design:
Connect the PLL pickups through a buffer amplifier (e.g., op-amp like LM358) and a low-pass filter (e.g., 10 kHz cutoff) to clean the signal.
Ground the Teensy to the WFC’s common ground to reduce noise.

Code Example (Arduino/Teensyduino):
cpp
void setup() {
  pinMode(2, INPUT); // Primary PLL digital input
  pinMode(3, INPUT); // Secondary PLL digital input
  attachInterrupt(digitalPinToInterrupt(2), primaryISR, RISING);
  attachInterrupt(digitalPinToInterrupt(3), secondaryISR, RISING);
  Serial.begin(9600);
}

volatile unsigned long primaryCount = 0;
volatile unsigned long secondaryCount = 0;

void loop() {
  noInterrupts();
  unsigned long pCount = primaryCount;
  unsigned long sCount = secondaryCount;
  interrupts();
  Serial.print("Primary Freq: "); Serial.print(pCount); Serial.print(" Hz\t");
  Serial.print("Secondary Freq: "); Serial.println(sCount); Serial.print(" Hz");
  delay(1000);
  primaryCount = 0;
  secondaryCount = 0;
}

void primaryISR() { primaryCount++; }
void secondaryISR() { secondaryCount++; }

WARNING
Safety: High voltages from the VIC transformer pose risks. Use proper isolation and test with a multimeter before connecting to the Teensy.

DD

securesupplies

Re: The GMS Board Replication and DB37 in out connector Convert
« Reply #502,  »Last edited
To determine the pinout connections from a Teensy microcontroller to the LMG3422R030 Half-Bridge GaN Power Stage (Texas Instruments), we need to establish how the Teensy controls this half-bridge driver, which is designed for high-frequency, high-efficiency power conversion using Gallium Nitride (GaN) FETs. The LMG3422R030 is a 600 V, 30 A half-bridge power stage with integrated gate drivers, suitable for applications like motor drives, inverters, or resonant circuits (e.g., potentially related to your WFC project). Since you’ve provided a separate 110 VDC to 220 VDC power supply for the LMG3422R030, the focus here is on the control signals from the Teensy, not the power supply connections. I’ll base this on the LMG3422R030 datasheet (available from Texas Instruments) and general microcontroller-to-half-bridge interfacing principles, as I cannot analyze the picture or search the web this time. All original content and context are preserved, and I’ll assume a common Teensy model (e.g., Teensy 4.0) unless you specify otherwise.

LMG3422R030 Overview

Function: A half-bridge driver with integrated GaN FETs, featuring high-side and low-side switches for PWM control.
Key Pins (from datasheet):

INH (Pin 1): High-side gate driver input (PWM signal).
INL (Pin 2): Low-side gate driver input (PWM signal).
SD (Pin 3): Shutdown input (active low to disable the driver).
VDD (Pin 4): Logic supply voltage (3.3V–5V, typically 3.3V for Teensy compatibility).
GND (Pin 5): Ground reference.
HB (Pin 6): High-side floating ground (bootstrap capacitor connection).
SW (Pin 7): Switching node (connects to load/inductor).
VS (Pin 8): High-side supply voltage (tied to 220 VDC via external circuitry).
VCC (Pin 9): Main supply voltage (110 VDC–220 VDC input, externally supplied).


Power Supply: You’ve confirmed a separate 110 VDC to 220 VDC supply, which connects to VCC (Pin 9) and VS (Pin 8) through appropriate filtering and decoupling (e.g., capacitors as per datasheet).
Control: The Teensy provides PWM signals to INH and INL, and a shutdown signal to SD, to control the half-bridge.


Teensy to LMG3422R030 Pinout Requirements
The Teensy needs to send PWM signals to control the high-side and low-side GaN FETs, a shutdown signal for safety, and ensure proper logic-level compatibility. Here’s the required pinout:
Required Connections

PWM Signals:

INH (High-Side Input): Requires a PWM signal (0–3.3V logic) to drive the high-side GaN FET.

Teensy Pin: Use a PWM-capable pin, e.g., Pin 9 (Teensy 4.0 supports PWM on pins 0–13, 22–29). This pin generates the high-side switching signal.


INL (Low-Side Input): Requires a PWM signal (0–3.3V logic) to drive the low-side GaN FET.

Teensy Pin: Use another PWM pin, e.g., Pin 10. Ensure the PWM frequency matches your application (e.g., 20 kHz for WFC resonance, adjustable via analogWriteFrequency() in Teensyduino).


Note: The PWM signals should be complementary (high-side off when low-side on) to avoid shoot-through. Use Teensy code to manage this (e.g., invert one signal).


Shutdown Signal:

SD (Shutdown Input): Active-low signal (0V to disable, 3.3V to enable). Connects to a digital output for emergency shutdown.

Teensy Pin: Use a digital pin, e.g., Pin 11. Set to HIGH (3.3V) for normal operation, LOW (0V) to disable the half-bridge.


Note: Include a pull-up resistor (e.g., 10 kΩ to 3.3V) on SD to ensure it defaults to enabled if the Teensy fails.


Logic Supply:

VDD (Pin 4): Logic supply for the LMG3422R030 (3.3V–5V). The Teensy’s 3.3V output can power this if within current limits (check datasheet for ~10 mA max).

Teensy Pin: 3.3V Pin (output) on Teensy, connected to VDD.


GND (Pin 5): Ground reference, tied to Teensy GND pin.

Teensy Pin: GND Pin (multiple available, connect to Pin 5).





Optional Connections

Fault Monitoring: The LMG3422R030 may have fault outputs (e.g., via an external circuit or datasheet-specified pin, though not explicitly listed). If available, connect to a Teensy digital input (e.g., Pin 12) to read faults.
Feedback: If you need to monitor the switching node (SW, Pin 7) or bootstrap voltage (HB, Pin 6), use an analog pin (e.g., A2) with a voltage divider (step down from 220 VDC to 3.3V).

Summary Table of Required Pins
LMG3422R030 Pin,Function,Teensy Pin,Notes
INH (Pin 1),High-Side PWM Input,Pin 9,"PWM signal, 0–3.3V, adjust frequency"
INL (Pin 2),Low-Side PWM Input,Pin 10,"PWM signal, complementary to INH"
SD (Pin 3),Shutdown Input,Pin 11,"Active low, pull-up resistor recommended"
VDD (Pin 4),Logic Supply,3.3V Pin,"Teensy 3.3V output, check current limit"
GND (Pin 5),Ground,GND Pin,Common ground with Teensy

Teensy Model: Assumes Teensy 4.0 (33 digital, 14 analog pins). Adjust pin numbers for Teensy 3.2 (21 digital, 10 analog) or 4.1 (41 digital, 19 analog) if different.
Power Pins: VCC (Pin 9) and VS (Pin 8) connect to your 110 VDC–220 VDC supply, not the Teensy. Add a 100 µF capacitor across VCC and GND, and a 0.1 µF capacitor near VDD, as per datasheet recommendations.

Circuit Considerations

Level Shifting: The LMG3422R030 accepts 3.3V logic, matching the Teensy’s output, so no level shifter is needed.
Protection: Add 100 Ω series resistors on INH, INL, and SD lines to protect the Teensy from back-EMF. Include a 10 kΩ pull-down on INH/INL and pull-up on SD.
Bootstrap Circuit: Connect HB (Pin 6) to a bootstrap capacitor (e.g., 0.1 µF) and diode to VCC, as per datasheet, to supply the high-side driver.
Load Connection: SW (Pin 7) connects to your load (e.g., WFC electrodes or inductor), with the other end to ground or the power supply return.



Sample Teensy Code
cpp
void setup() {
  pinMode(9, OUTPUT);  // INH (High-Side PWM)
  pinMode(10, OUTPUT); // INL (Low-Side PWM)
  pinMode(11, OUTPUT); // SD (Shutdown)
  analogWriteFrequency(9, 20000); // 20 kHz PWM
  analogWriteFrequency(10, 20000);
  digitalWrite(11, HIGH); // Enable half-bridge
  analogWrite(9, 128);    // 50% duty cycle high-side
  analogWrite(10, 128);   // 50% duty cycle low-side (adjust for complement)
}

void loop() {
  // Add control logic (e.g., adjust duty cycle based on sensor input)
  delay(100);
}

Modify duty cycles to avoid shoot-through (e.g., use a dead-time generator or code logic to ensure one FET is off when the other is on).


Limitations and Next Steps

Assumptions: Without your schematic or WFC load details, I assume a standard half-bridge application. The 110 VDC–220 VDC supply suggests a high-voltage WFC, but exact requirements (e.g., current, frequency) are unclear.
Pin Flexibility: Pins 9, 10, and 11 are suggestions; use any PWM-capable pins (check Teensy pinout) if conflicts arise (e.g., with PLL connections from your prior question).
Offer to Search: If you have the LMG3422R030 datasheet or a circuit diagram, I can refine this. I can also search the web or X for similar projects if requested.
Safety: The 220 VDC supply is hazardous. Use an isolated power supply, ensure proper grounding, and test with a multimeter before connecting the Teensy.

VERY POWER FUL EGAN BOARD HALF BRIDGE

if you find the gerber for this board and bom  list 
to help save every one some time

post here DD

securesupplies

Re: The GMS Board Replication and DB37 in out connector Convert
« Reply #503,  »Last edited
To improve clarity, I'll relabel the ASCII chart to explicitly indicate
"LMG3422R030 Half-Bridge (Left)" and "Teensy Pins (Right)" and adjust the layout for better readability.

The arrows will continue to show the direction of signal or power flow, with the left side representing
 the LMG3422R030 pins and the right side representing the Teensy pins. All original data from the
Summary Table of Required Pins
text
+-------------------------------------+
| LMG3422R030 Half-Bridge (Left)  <=>  Teensy Pins (Right) |
|-------------------------------------|---------------------|
| Pin 1 (INH) ----> [Pin 9]          |  # High-Side PWM Input: PWM signal, 0–3.3V, adjust frequency
| Pin 2 (INL)  ----> [Pin 10]        |  # Low-Side PWM Input: PWM signal, complementary to INH
| Pin 3 (SD)   ----> [Pin 11]        |  # Shutdown Input: Active low, pull-up resistor recommended
| Pin 4 (VDD)  <---- [3.3V Pin]      |  # Logic Supply: Teensy 3.3V output, check current limit
| Pin 5 (GND)  <---- [GND Pin]       |  # Ground: Common ground with Teensy
+-------------------------------------+---------------------+


securesupplies

Re: The GMS Board Replication and DB37 in out connector Convert
« Reply #505,  »Last edited
Ti Files LMG3422EVM-043 Altium
SNOC053.zip
 
DD

NOTE

Can it Drive NANO SECOND LED VCEL 640 NM
 YES


To determine whether the LMG3422R030 Half-Bridge GaN Power Stage can drive a nanosecond-pulsed red LED (640 nm) or a VCSEL (Vertical-Cavity Surface-Emitting Laser) diode, we need to assess its capability to provide the required current, voltage, and pulse timing, given its design as a 600 V, 30 A half-bridge power stage. Your previous context indicates you’re using it to switch 0 VDC to 220 VDC at 5 kHz as a chopper, and now you’re exploring its ability to drive these optical components with nanosecond pulses. Since I cannot analyze specific datasheets for the LED or VCSEL beyond general knowledge, and I lack an image of your setup, I’ll base this on the LMG3422R030 datasheet, typical red LED/VCSEL characteristics, and electronics expertise. The current date and time is 11:15 AM PDT on Monday, August 04, 2025, but this doesn’t impact the technical analysis.

Understanding the Components

Red LED (640 nm):

Voltage: Typically 1.8–2.2 V forward voltage for a 640 nm red LED.
Current: Standard operating current is 20–50 mA, but pulsed operation can handle 100 mA–1 A for nanoseconds, depending on the device.
Pulse Requirements: Nanosecond pulses (e.g., 10–100 ns) require fast switching and current control to avoid damage.


VCSEL Laser Diode (e.g., 640 nm):

Voltage: Forward voltage is 2–3 V, similar to LEDs but with tighter tolerances.
Current: Operating current is 5–20 mA, but pulsed operation can reach 50–200 mA for nanoseconds, depending on the VCSEL’s design (e.g., OSRAM or Finisar models).
Pulse Requirements: Nanosecond pulses (e.g., 1–50 ns) are common for VCSELs in applications like LIDAR or communication, requiring precise current pulses and fast rise/fall times (<1 ns).


LMG3422R030 Half-Bridge:

Voltage: Rated for 600 V, far exceeding the 2–3 V needed for LEDs/VCSELs, but the output at SW (Pin 7) depends on the supply (e.g., 220 VDC).
Current: Capable of 30 A peak, more than sufficient for LED/VCSEL currents.
Switching Speed: GaN FETs offer rise/fall times of ~10–20 ns, suitable for nanosecond pulses with proper control.




Can the LMG3422R030 Drive Nanosecond-Pulsed LEDs or VCSELs?
The LMG3422R030 itself is not designed as a dedicated LED/VCSEL driver; it’s a power stage for high-voltage switching. However, it can be adapted to drive these components with the following analysis:
1. Voltage Compatibility

The LMG3422R030 switches 0 VDC to 220 VDC at its SW (Pin 7) output, which is far higher than the 2–3 V required by a 640 nm LED or VCSEL. Directly connecting these devices to SW would destroy them due to overvoltage.
Solution: Use a step-down circuit (e.g., a resistor, current-limiting diode, or buck converter) between SW and the LED/VCSEL to reduce the voltage to 2–3 V. Alternatively, configure the half-bridge with a lower supply voltage (e.g., 5–12 VDC) by adjusting the input to VCC (Pin 9) and VS (Pin 8).

2. Current Capability

The LMG3422R030 can supply up to 30 A, far exceeding the 100 mA–1 A for LEDs or 50–200 mA for VCSELs. However, the current must be limited to the device’s rating.
Solution: Add a current-limiting resistor (e.g., (220 V - 2 V) / 50 mA ≈ 4.4 kΩ for an LED) or a constant-current driver circuit triggered by the SW pulse.

3. Switching Speed for Nanosecond Pulses

GaN FET Performance: The LMG3422R030’s integrated GaN FETs have turn-on/turn-off times of ~10–20 ns, which can support nanosecond pulses (e.g., 10–100 ns) if driven with appropriate PWM.
Control Limitation: The Teensy (e.g., 4.0) can generate PWM with a minimum pulse width of ~62.5 ns at 16 MHz, but achieving precise nanosecond pulses requires external high-speed logic or a dedicated pulse generator. The LMG3422R030’s input pins (INH, INL) accept 3.3V logic, so the Teensy’s 5 kHz PWM (200 µs period) is too slow for nanosecond control.
Solution: Use an external pulse generator or high-speed buffer (e.g., 74LVC1G123) to create 10–100 ns pulses, triggered by the Teensy, and feed these to INH/INL. The LMG3422R030 can then switch at this speed.

4. Thermal and Power Considerations

At 5 kHz with a 220 VDC supply, the LMG3422R030 dissipates ~30 W under full load (as calculated earlier). Driving an LED/VCSEL with nanosecond pulses at low duty cycles reduces average power, making thermal management easier.
Solution: Ensure a heatsink and monitor temperature, but the low duty cycle (e.g., 0.1% for 100 ns pulses at 5 kHz) minimizes heat.

5. Circuit Configuration

Direct Drive: Not feasible due to 220 VDC overvoltage. Instead, use the half-bridge to switch a lower voltage (e.g., 5 VDC) across the LED/VCSEL.
Alternative Setup: Connect a 5–12 VDC supply to VCC (Pin 9) and GND (Pin 5), with the LED/VCSEL between SW (Pin 7) and GND, and a current-limiting resistor. Drive INH/INL with nanosecond pulses to chop this voltage.


Feasibility

Can It Drive?: Yes, but not directly with 220 VDC or 5 kHz PWM. The LMG3422R030 can switch fast enough for nanosecond pulses (10–100 ns) due to its GaN FETs, but you need:

A lower supply voltage (5–12 VDC) to match the LED/VCSEL.
An external pulse generator for nanosecond control, as the Teensy’s 5 kHz limit is incompatible.


Limitations: The half-bridge’s high-voltage design requires adaptation, and the Teensy alone can’t achieve nanosecond precision. A dedicated driver IC (e.g., Avago HCPL-3120) or FPGA would be ideal.


Recommendations

Modified Setup:

Connect a 5 VDC supply to VCC (Pin 9) and GND (Pin 5).
Connect the 640 nm LED or VCSEL (anode to SW, cathode to GND) with a 50–100 Ω resistor to limit current to 50 mA.
Use an external pulse generator (e.g., 10 ns pulses) to drive INH (Pin 1) and INL (Pin 2), with complementary signals and dead-time.


Teensy Role:

Use the Teensy to trigger the pulse generator at 5 kHz, setting the base frequency.
Example: Connect Teensy Pin 9 to the pulse generator input, configuring it for 10 ns output.


Safety:

Verify the LED/VCSEL’s maximum pulse current and duration to avoid damage.
Add a flyback diode across the load to protect against inductive spikes.


Testing:

Test with a 5 VDC supply and 100 ns pulses first, using an oscilloscope to confirm output at SW (Pin 7).




Conclusion
The LMG3422R030 can handle the switching speed for nanosecond-pulsed 640 nm LEDs or VCSELs due to its fast GaN FETs, but it requires a lower supply voltage (5–12 VDC) and an external pulse generator for nanosecond precision, as the Teensy’s 5 kHz PWM is too coarse. With these adaptations, it can drive these devices effectively. If you have specific LED/VCSEL models or a pulse generator, provide details, and I’ll refine the design!