Dual D flip-flop · TIG trigger and two-stage toggle logic

CD4013B Dual Flip-Flop

CD4013B contains two independent edge-triggered D flip-flops with asynchronous SET and RESET. Public TIG 200 AC/DC schematic copies depict CD4013-style logic in a 2T/4T torch trigger path, but drawing provenance and board revision require verification. The repair decision is whether the clock edge, D state, SET/RESET and supplies are valid before condemning the latch IC.

Search problem: CD4013 2T 4T TIG trigger stuck, CD4013 latch not resetting, torch switch no response, flip flop clock input noise.

Evidence boundary: This is a device-level reference derived from manufacturer documentation. Confirm the actual PCB, exact suffix and package before applying it to a welder.

Start from the measured symptom

Do not replace this IC because the machine has a no-output symptom alone. First choose the observed signal and compare it with the conditions below.

Observed symptomFirst useful checkInterpretation boundary
TIG press/release does not latchCapture torch input, switch-debounce output and CLOCK1/2; confirm a clean rising edge.No valid clock means a good flip-flop cannot change state.
2T mode works; 4T mode failsTrace mode-select, D-to-Q feedback and the reset path separately.Mode decoder and diode gate networks can fail independently of CD4013.
Gas valve remains active after releaseInspect RESET/SET input levels and the transistor/relay driver after Q.Persistent gas does not prove the latch output is the cause.
One output stuck high while opposite lowCheck whether state is legitimately latched; then observe the next valid clock.A remembered Q state can be normal until a valid toggle/reset event.

Pin functions and measurement references

Standard 14-pin DIP/SOIC/TSSOP top view per TI CD4013B. Data is captured at the positive clock transition; SET and RESET act asynchronously. Do not transfer CD40106B Schmitt-trigger pin numbers to CD4013B.

PinSignalRepair interpretation
1Q1Channel 1 true output; state held until clock or asynchronous control changes.
2Q̅1Channel 1 complement output.
3CLOCK1Positive-edge clock input for channel 1.
4RESET1Channel 1 asynchronous active-high reset.
5D1Channel 1 data input sampled on rising clock.
6SET1Channel 1 asynchronous active-high set.
7VSSLogic supply return.
8SET2Channel 2 asynchronous active-high set.
9D2Channel 2 data input.
10RESET2Channel 2 asynchronous active-high reset.
11CLOCK2Channel 2 rising-edge clock input.
12Q̅2Channel 2 complement output.
13Q2Channel 2 true output.
14VDDPositive logic supply.

Pin numbering is a component-package convention, not a verified connector position or a universal welding-machine test point. Never use a different package map by assumption.

Step-by-step decision sequence

  1. Identify the exact marked 14-pin CD4013B and pin-1 orientation; use the schematic only if its board and revision match the equipment.
  2. Isolate power, discharge stored energy and inspect torch-contact connector, EMI/ESD protection, switch debounce resistor/capacitor and the 2T/4T selector.
  3. Determine which flip-flop channel is used: map CLOCK, D, SET, RESET, Q and Q-bar from traces, not merely from a loose generic 2T/4T diagram.
  4. In a safe isolated logic-supply setup, measure VDD pin 14 relative to VSS pin 7. Do not assume a universal 5 V or 12 V board rail.
  5. Observe CLOCK pin 3 or 11 during a deliberate trigger transition. Look for the intended positive edge and unwanted contact bounce or coupled HF noise.
  6. At the valid rising edge, capture D input and Q/Q-bar outputs. If Q follows D as specified, the latch is probably behaving correctly.
  7. Measure SET and RESET on the same channel in the same cycle. An active asynchronous input overrides the normal clocked state.
  8. Trace the Q output through any logic gate and transistor driver to gas valve or welding-current enable; a healthy Q can be blocked downstream.
  9. Repeat the full torch press-hold-release sequence in both 2T and 4T, record states and confirm that the normal protection chain remains intact.

Record actual numbers, instrument reference, operating state and whether each check was with power isolated. An unrecorded voltage estimate cannot establish the fault.

How to interpret contradictory evidence

Measured evidenceWhat it can meanNext action
CLOCK never changes while torch input togglesDebounce, selector or broken trace upstream.Check logic path before CD4013.
CLOCK rises, D valid, but RESET held activeAsynchronous reset can prevent the expected Q state.Identify who is asserting RESET and why.
Q toggles correctly; valve/contactor still deadDownstream driver, coil supply, transistor or wiring fault.Check output-driver path and load.
4T unexpectedly toggles twice per pressContact bounce or EMI produces duplicate rising edges.Inspect debounce and filtering, especially HF return routing.
Q and Q-bar remain inconsistent with datasheet logicBad supply, forbidden simultaneous SET/RESET state or IC fault.Record all pins and exact logic levels before replacement.

Stop conditions and applicability limits

Safety stop: if the DC bus remains charged, isolation is uncertain, the gate lead or clamp is shorted, the output reference floats at high potential, or the circuit identity is unconfirmed, stop live testing. High-voltage inverter service requires qualified personnel and suitable isolated instrumentation.

Frequent repair questions

Why is 4T latch stuck when 2T works?

The 4T state path usually includes mode selection, clock generation, feedback/toggle wiring, and reset logic; test each before condemning CD4013.

How do I know which output is Q?

Refer to the standard TI 14-pin top view: channel 1 Q at pin 1 and complement at pin 2; channel 2 Q at pin 13 and complement at pin 12.

Can an oscilloscope show a missed torch press?

Yes, in a correctly isolated low-voltage setup, compare torch contact, debounced clock and Q on the same timebase; do not expose the instrument to HF or the inverter DC bus.

Application clue: TIG 2T/4T logic drawing

A publicly circulated TIG 200 AC/DC circuit drawing depicts CD4013 in a 2T/4T logic path alongside 40106 and 4081 logic. The drawing is a secondary, user-uploaded reproduction and its manufacturer provenance, PCB revision and pin wiring have not been independently authenticated. Do not transplant any terminal numbers from this drawing to another model.

View the circulated schematic reference (unverified board evidence). The TI CD4013B datasheet above remains authoritative for the IC pinout and logic truth conditions.

Primary manufacturer sources

Source usage: manufacturer pinout, function, thresholds and device limitations. Diagnostic order and symptoms are WelderData technical interpretation, not a verbatim manufacturer repair procedure.