# System and integration (https://docs.cochl.ai/docs/quality-inspection/system-and-integration)



## Reference architecture [#reference-architecture]

One inspection system from sensor to verdict. Cochl supplies everything from the sensor to the console software; the jig and any PLC are customer equipment.

| Component                     | Supplied by | Role                                                                |
| ----------------------------- | ----------- | ------------------------------------------------------------------- |
| Product and jig               | Customer    | The unit under test sits in the customer's inspection jig           |
| Sensor                        | Cochl       | Vibration sensor (accelerometer) or microphone                      |
| DAQ                           | Cochl       | Up to 4 channels per line, 51.2 kS/s, 24-bit, simultaneous sampling |
| Industrial PC                 | Cochl       | Runs the analysis engine and the inspection console, on premises    |
| PLC or start input (optional) | Customer    | Starts the inspection; a PLC also receives Pass or Fail             |

<Callout type="info" title="Data boundary">
  Raw signals stay on the industrial PC. Only outputs the customer selects leave the station.
</Callout>

## Fixed-installation kit [#fixed-installation-kit]

Assembled and configured by Cochl before shipping. No separate equipment to source or match.

| Item                | Purpose                                                       |
| ------------------- | ------------------------------------------------------------- |
| Industrial PC       | Runs the analysis engine and the inspection console           |
| DAQ                 | Acquires up to 4 sensor channels at once                      |
| Sensor and cable    | Vibration sensor (accelerometer) or microphone                |
| Mounts and brackets | Magnetic mount for the vibration sensor, brackets and cabling |
| Software            | Analysis engine and console, preinstalled                     |

**One kit per line.** 1 line = up to 4 inspection points. More points add kits in units of 4 channels.

Exact models and quantities are given in the bill of materials with the final quote. Full hardware specifications are on the [Specifications](https://docs.cochl.ai/docs/quality-inspection/specifications) page.

## Inspection run sequence [#inspection-run-sequence]

Each product's run sequence is set up as a profile in the console.

<Steps>
  <Step>
    ### Start (trigger) [#start-trigger]

    A PLC address, a key or button input, or another external input. Recording can start at a fixed point in time or at any time you choose.
  </Step>

  <Step>
    ### Recordings [#recordings]

    Recording 1, and optionally Recording 2. One or more recordings per cycle, each on the selected channels and ending on an end signal or after a fixed duration.
  </Step>

  <Step>
    ### Judge [#judge]

    Runs once the recordings finish, with the judgment settings from the console.
  </Step>

  <Step>
    ### Complete (result sent) [#complete-result-sent]

    The verdict appears on the console and goes to the PLC when one is connected. The record is saved.
  </Step>
</Steps>

<Callout type="info" title="Cycle time">
  2 seconds or more recommended. Shorter cycles are reviewed case by case.
</Callout>

## PLC and plant integration [#plc-and-plant-integration]

Optional. An existing PLC can send start signals in and receive verdicts out, over an Ethernet-based PLC protocol.

| Direction                | Signals                                                      |
| ------------------------ | ------------------------------------------------------------ |
| PLC to inspection system | Inspection start, product ID, barcode, product type          |
| Inspection system to PLC | Verdict (Pass or Fail), running status, communication status |

* **Available now — supported PLCs:** Mitsubishi and LS over an Ethernet-based PLC protocol.
* **On request — other PLC makers:** an integration specification is provided after reviewing the customer's PLC environment.
* **Without a PLC:** a button or other external input starts the inspection.

**Roles.** Cochl provides the integration specification and signal definitions. PLC wiring and programming are done by the customer or their equipment vendor.

## Outputs and data [#outputs-and-data]

Every inspection produces a verdict and a complete record, reviewed in the inspection console (Korean or English).

| Output        | Content                                                                         |
| ------------- | ------------------------------------------------------------------------------- |
| Anomaly score | 0 to 100 per cycle, the distance from the normal baseline                       |
| Verdict       | Pass or Fail per cycle, shown on the console and sent to the PLC when connected |
| Event log     | Timestamps, verdict history, setting changes with reason and author             |
| Signal data   | Audio (WAV) per cycle with playback, waveform and spectrogram                   |

**Stored per product ID.** Every record is keyed to the product ID, so any unit can be traced later for claims or audits. Setting changes require a reason and author and are kept in the history.

<Callout type="info" title="On request: plant system link">
  Outputs passed to customer data systems, with a custom dashboard.
</Callout>

## Data and security [#data-and-security]

The system runs inside the plant. Audio and inspection history stay on the station.

* **On premises.** Installed inside the plant. Inspection, training and history review all work with no internet access.
* **Data stays on site.** Raw audio and inspection history are stored on the station. Nothing is sent outside the plant.
* **Support without internet.** Remote screen control needs an internet connection. Without one, support runs by video call and updates arrive on storage media.
* **Storage management.** A warning appears when free space runs low, and the oldest records are cleared first. The storage path is set in the console.
