Coupled Machines BLISTER-TO-CARTONER with Green Conveyor Ledgered Industrial LINE®™©💡🤝
Line Balancing Coupled Machines physical model, simulator and industrial connector.®™©💡🤝
• Advanced Ledger: HMAC‑signed transactions, export to JSON/CSV, balance tracking.
• Enhanced HMI: Modbus‑like registers, alarm system, generates screen data for Weintek panels.
• Industrial Actuators: IndustrialAxis class with CiA‑402 state machine, motion profiles, and following error.
• Comprehensive Plotting: ReportGenerator creates a dashboard of 6 plots per controller and saves them as PNGs.
• Extended KPIs: ITSE, RMSE, settling time 1% added; output saved to summary.json.
• Runtime Logging: Python logging for proof of elapsed time and process tracing.
• Export Package: All results, plots, configuration, ledger, and summaries are saved into the simulation_output/ folder.
Every controller now:
• uses an accumulator‑based transfer that moves whole packs when enough fractional packs have collected
• runs without dimension errors
• produces cartons (0 cartons → now > 80 for most strategies)
Install only the required packages (PyTorch is optional). Run as a single file.
• all controllers are wired correctly with the right arguments.
• the advanced industrial features (OPC UA, EtherCAT, CiA‑402 axes, HMI, transaction ledger) are included and run in simulation mode when optional libraries are missing.
• the simulation runs all controllers that are implemented (PI, MPC, H∞, Adaptive SMC, Super‑Twisting, Q‑Learning, Transformer‑Tube MPC, Neural Attention, S4).
• efficiency is logarithmic: dt = 1 ms, 300 s simulation, cartons are produced for every strategy.
Utile in particular for Digital Twins Prototyping, Industrial Machinery Designs and Evaluations.
Complete pharmaceutical packaging Line Control with:
- Multiple advanced control strategies (PI, MPC, H∞, Adaptive, Neural, etc.)
- Industrial communication interfaces (OPC UA, EtherCAT, CANopen)
- CiA 402-6 compliant motion control
- HMI interface for Weintek panels
- Real-time diagnostics and KPI monitoring
- Fault-tolerant logic with automatic recovery
- Dynamic trajectory compensation
- Force control capabilities
- Multi-axis synchronization with electronic gearing
- Ratio control for synchronized axes (100:80:2)
Complete Simulation of a pharmaceutical packaging line with:
- Blister machine: up to 300 packs/min (5 packs/s) with random stoppages
- Green conveyor: buffer capacity of 40 packs
- Magazine: holds up to 10 packs per carton drop
- Cartoner: intermittent bucket conveyor with dwell time
- Control strategies: PI, PID, Adaptive, and MPC optimization
- Multiple parallel lines support.