Commit Graph
11 Commits
Author SHA1 Message Date
grabowski c939ba1fbb Optical QC control: QiTech Control library and shop
User, 19 Oct 2026: check github.com/qitechgmbh/control and
shop.qitech.de/collections/ethercat.

- QiTech Control (LGPL-3.0, Rust on an EtherCrab fork, NixOS, runs
  QiTech's own machines): plan now uses its EtherCAT library qitech_lib,
  pinned, as the layer under our station service; not the full Electron
  app. It has DC SYNC0, SDO/PDO handling, EK1100/EL2809/EL3021/EL3024
  drivers and a CiA402 MINAS A6 servo driver to copy for the A6-EC.
  Drivers to write: EK1101, EL1809, EL3152, EL5101, A6-EC (upstream).
  Kernel: start from QiTech's tested settings (6.18, preempt=full,
  isolcpus 2,3); 6.12 PREEMPT_RT stays the fallback for IgH.
- QiTech shop (new Beckhoff stock from an insolvency, ships worldwide):
  EK1101 EUR 85.13, EL1809 EUR 16.53, EL2809 EUR 41.03, EL9011 EUR 1.76
  replace the geizhals offers, EUR 207.57 less. TwinSAFE and Beckhoff
  STO servo terminals noted, not taken.
- EtherCAT parts EUR 1,684 to 1,897 + 2 servo kits (THB 72k to 80k);
  bench parts about THB 56k; spare coupler/DI/DO now stocked.
- BOM total USD 16,671 to 32,681 (THB 0.55M to 1.08M).
2026-10-19 10:54:31 +07:00
grabowski face699a28 Optical QC: EtherCAT control plan with geizhals.de prices
Deploy test site / deploy (push) Successful in 57s
User, 19 Oct 2026: plan the current EtherCAT setup, keep the 100 W servo,
check prices on geizhals.de.

- New docs/equipment/inline-qc-control-plan.md: decisions, bus layout
  (drives at the end of the line because the A6-200EC takes control
  power from the main supply), I/O list for EL1809/EL2809/EL3152/EL5101
  and the drive touch probe, PDO and DC notes from the A6-EC manual,
  geizhals.de price table (EUR 1,891.60 to 2,104.39 + USD 246.58 for the
  servo kits, THB 80k to 88k), NixOS/EtherCrab software, safety circuit
  (PNOZ s3, two contactors, dump valve), bench test with pass marks
  (parts about THB 64k, all reused), build order, spares, open points.
- EL3102 replaced by EL3152: the optoNCDT 1420 output is 4 to 20 mA.
- Spindle encoder index goes to an EL5101 instead of the drive touch
  probe; encoder 2,000 to 2,500 pulses.
- BOM: control lines split per part with geizhals.de prices (+30% high
  end for shipping and Thai duty/VAT, estimate); total USD 16,912 to
  33,061 (THB 0.56M to 1.09M). Doc, render caption and fleet calculator
  text now say USD 17k to 33k.
- README links the plan.
2026-10-19 10:43:59 +07:00
grabowski d26ed7ab3c Optical QC: STO servo version looked at, stay with 100 W
User, 18 Oct 2026, asked about the A6-EC400H2B1-M17-STO (400 W, STO,
brake, USD 157.91). STO comes only from 400 W; its manual gives no SIL
or PL and no certificate, so it cannot replace the contactor; the brake
holds nothing on a horizontal axis. Recommendation recorded: keep the
100 W kit; if a rated STO is confirmed in writing, take the brake-less
A6-EC400H2A1-M17-STO (USD 129.60) on both axes, 1:2 to 1:3 belt, no
contactor.
2026-10-19 10:24:54 +07:00
grabowski ba1f5fc3a9 Optical QC: EtherCAT control
User, 18 Oct 2026: use an EtherCAT based system.

- Spindle and conveyor on the StepperOnline A6-EC100L2A1-M17 kit
  (100 W, A6-200EC drive, USD 123.29), spindle through a 1:6 belt in
  cyclic synchronous position, conveyor in cyclic synchronous velocity.
- The A6-EC drive has no divided encoder output, so an RS-422
  incremental encoder on the spindle shaft clocks both line-scans; its
  index goes to the drive touch probe for one angle reference.
- Station controller: fanless N100 mini PC with 2x Intel i226, NixOS
  PREEMPT_RT, EtherCAT master EtherCrab (Rust, MIT/Apache) first, IgH
  (nixpkgs, igc native driver on 6.12 LTS) as fallback; no PLC.
- EtherCAT I/O: EK1100, EL1809, EL2809, EL3102 (warp lasers sampled with
  the spindle position, ~1,000 points a turn at 1 ms).
- Safety stays hardwired (safety relay, contactor; no STO at 100 W).
- Edge PC with the GPU stays off the real-time loop.
- BOM: drives, encoder, controller and I/O lines with sources; total
  USD 16,112 to 32,938 (THB 0.53M to 1.09M). Next step: EtherCAT bench.
- Investor render: cabinet and outfeed labels.
2026-10-19 10:15:54 +07:00
grabowski cf900cf3a4 Optical QC: spindle servo, 100 W StepperOnline A6-RS kit
User, 18 Oct 2026, asked about the StepperOnline A6-EC100L2A1-M17
(100 W EtherCAT kit).

- The motor fits: torque about 0.02 N m needed at the motor through a
  1:6 belt (0.32 rated); the belt brings the load inertia (about 25 to
  35 kg cm2, estimate; record 20.5) to about 28x the 0.03 kg cm2 rotor.
- Take the pulse/RS-485 twin A6-RS100L2A1-M17 (USD 108.78): its drive
  outputs the encoder as divided A/B/Z pulses for the line-scans and
  takes pulse/direction from the planned PLC. The EtherCAT drive has no
  divided output (A6-EC manual, CN1: 5 DI, 3 DO) and needs an EtherCAT
  master.
- inline-optical-qc.md: spindle servo paragraph, sensor table, BOM
  group; BOM line 109 to 250 (was 300 to 700). Total USD 16,073 to
  32,734, THB 0.53M to 1.08M.
2026-10-19 10:01:40 +07:00
grabowski 9d8a1a1fb8 Optical QC: sensor list
User, 18 Oct 2026: list the sensors the optical QC station uses.

- inline-optical-qc.md: sensor table in the station setup (4 cameras,
  2 warp lasers, spindle encoder, 3 presence sensors and a through-beam,
  6 cylinder position switches, door switch; thermal camera option and
  laser line profiler alternative), with where each sits, what it
  measures and the price signal.
- BOM: cylinder position switches were missing (6, SMC D-M9 class,
  USD 25 to 60 each, estimate). Total now USD 16,264 to 33,184, still
  16k to 33k; THB 0.54M to 1.10M.
2026-10-19 09:46:10 +07:00
grabowski 8c2143630c Optical QC: one station for both presses, after the cooling racks
Deploy test site / deploy (push) Successful in 55s
User, 18 Oct 2026: for now one QC station for both machines; let the
records cool in a queue before testing them.

- inline-optical-qc.md "Where it sits": launch setup. Spindle stacks
  from the Duplex system and the Classic, labelled at the press (press,
  stamper set, first and last cycle), cool in FIFO racks (24 h accepted
  practice, 8 h at the shortest, Stamper Discs; about one day of output,
  2,800 to 3,100 records); the finishing operator feeds the station from
  the cooled stacks. Gains: warp and centring measured on settled records
  (the release value), one station instead of two, no Classic unloader
  change, no warm-record sag or thermal camera. Cost: defects found hours
  later, covered by the Duplex operator, per-cycle telemetry and an early
  lane for the first records of each run and after stamper changes.
  Record key from the stack label and stack position, checked against the
  run-out stamper number. Capacity 10 to 12 a minute against 5 to 6:
  one station to about two Duplex systems and two Classics. A station at
  each press stays the later option. Cost table, open points, infeed row,
  thermal camera note and the Newbilt question follow.
- Fleet calculator: the per-press stations and the release station are
  gone; the finishing block shows the cooling racks with record stacks
  and the one optical station by the corridor glass; tooltips, corridor
  and conveyor texts; machine park back to its legend, finishing box
  "cooling, QC, packing".
- quality-automation.md layer 1, digital-factory.md QC row,
  process-flow.md stage 6, site-candidates.md block ground floor,
  crane-workshop-tours.md tour stop 6.
- Investor render: infeed label "the operator sets each cooled record
  down".

Checks: node --check; pw_bp_calc.py 0 fails; pw_iso_view_check.py OK;
info for every data-id at all presets, levels and rotations; GF nodes
2,414 at the full preset; zoomed shots in two rotations.
2026-10-18 15:18:00 +07:00
grabowski 9ffcfe62f1 Plant view: inline optical QC station at every press
Deploy test site / deploy (push) Successful in 58s
User, 18 Oct 2026: add the new inline inspection machine to the factory.

- Fleet calculator, isometric plant view: qcStation() draws the concept
  station (1.9 x 0.65 x 1.5 m: aluminium conveyor table with the two rim
  belts, light-tight tunnel, stack light, record on the infeed, reject
  bin) in front of the operator in every Duplex cell (after the trimmer)
  and at the unload side of every Classic, in the hall and in phase 2;
  own ids qc-duplex-n / qc-classic-n with tooltips from
  inline-optical-qc.md (Classic hand-off open with Newbilt). Cell floor
  extended to take the bin.
- The finishing block's end-of-line optical station becomes the release
  inspection: the same station measuring cooled samples (records settle
  ~24 h); corridor, block and conveyor tooltips reworded.
- Machine park schematic: a QC bar in every Duplex cell and Classic, an
  "inline QC" legend entry; the legend moved to the bottom of the hall
  box (it collided with the hall heading).
- Docs: inline-optical-qc.md (release station location, plant view),
  site-candidates.md block ground floor, crane-workshop-tours.md tour
  stop 6.

Checks: node --check on all scripts; pw_bp_calc.py 0 fails;
pw_iso_view_check.py OK; every data-id has info at all presets, levels
and rotations; legend clear of cells and heading up to 30M records;
zoomed shots in both themes and two rotations. GF node count at the full
preset 2,523 (was 2,388), 8M records ~2,980; rebuild under 60 ms.
2026-10-18 14:56:08 +07:00
grabowski e8674795f5 Inline QC station: real 40x40 profiles, labelled investor render
User, 18 Oct 2026: use real 40x40 profiles, make a render with text
pointing out the parts to show the investor; the ring lights looked
like they were floating.

- build_station.py: frame drawn from the real 8-slot 40 series section
  (profile_shape: slots, centre bore, corner cavities; 40x80 with centre
  cavity) and 24 cast angle brackets; top beams now butt between the
  uprights; label-camera posts moved beside the cameras so both ring
  lights clamp straight to them; top line-scan on a side post with
  visible camera plate and light hangers; slide strips on carrier angles,
  pulley axles, end-stop posts, presence-sensor brackets, backlight post,
  cabinet on base crosses, chute on two supports and clear of the rail,
  pneumatics rail, stack light on the back upright, touch screen on the
  front end upright. A connectivity check at the end lists any part that
  does not reach the floor through touching parts: none.
- render_annotated.py (FreeCAD): front three-quarter view, camera backed
  off so nothing is clipped, no navigation cube or preselection, label
  positions projected from the camera and checked with marker renders.
- annotate_render.py (Pillow): title, 16 labels in two columns, leaders
  assigned so none cross -> inline-qc-station-annotated.png.
- render_station.py: same camera and preselection fixes; all six views
  re-rendered.
- BOM: 32 m of 40x40 in 45 pieces; total still USD 16k to 33k.
- inline-optical-qc.md and README updated; .gitignore for the render
  intermediates.
2026-10-18 14:07:41 +07:00
grabowski 609424b598 Inline QC station: concept setup on an aluminium profile frame
User, 18 Oct 2026: create a setup for the inline optical QC, an
aluminium extrusion frame with all sensors and a conveyor mounted to it.

- docs/equipment/inline-qc-station/: FreeCAD script (build_station.py)
  and model (.FCStd) of one station, 1.9 x 0.65 x 1.5 m on 27 m of
  40x40 and 3.8 m of 40x80 profile: rim-belt conveyor (two 6 mm PU round
  belts under the unrecorded rim, open centre), label gate with top and
  bottom colour cameras on the fly, inspection position with a lift and
  rotate chuck (75 mm lift, expanding mandrel, belt-driven servo), top and
  bottom 4k line-scans on opposite radii with coaxial, dark-field and
  backlights, two warp lasers, optional thermal camera, light-tight black
  tunnel with door switch, rodless-cylinder reject pusher with chute and
  bin, outfeed stop, cabinet, PLC, NixOS edge PC, HMI, stack light.
- render_station.py renders six views (open and closed iso, front, plan,
  inspection detail and elevation via clipped temporary documents).
- inline-qc-station-bom.csv: 32 lines with sources; USD 16k to 33k per
  station without the thermal camera.
- inline-optical-qc.md: new section "The station setup" (flow table,
  inspection zone, cycle ~5 to 6 s, control, BOM by group, open points);
  cost table updated (two launch stations ~USD 50k to 105k, still inside
  the metrology launch tier); Duplex/Classic flow now via the conveyor.
- README bullet and tree.
2026-10-18 13:29:55 +07:00
grabowski 5207808b57 Inline optical QC: devices for the record inspection station
User, 17 Oct 2026: research on the inline QC equipment, which devices
can be used for the optical check.

- New docs/equipment/inline-optical-qc.md: defect-by-defect table with
  the optical signature, device and limit (IEC 98 / DIN 45547 hole and
  eccentricity, Stamper Discs targets, Mobineko warp limits), precedents
  (no vinyl product; Dr. Schenk ISM CD scanner as template; Basler/Xiris;
  PRP AQA 2023; CTU thesis), a station design (centring turntable, 4k
  line-scan per side with dark-field, bright-field and transmitted light,
  colour label camera, two laser warp sensors or a line profiler,
  optional thermal camera) with sourced price signals, resolution and
  eccentricity math, throughput, placement at the Duplex cell and the
  Classic, smart-camera vs open GenICam/Aravis/OpenCV/anomalib on NixOS,
  specials, Thai channels, next steps.
- Estimate USD 12k-30k hardware per station, ~USD 40k-100k for the two
  launch stations; inside the existing metrology launch tier, no plan
  price change.
- Backlinks: quality-automation.md layer 1, digital-factory.md QC
  integration row, README bullet and tree.
2026-10-17 23:47:12 +07:00