1. Where this stands
This page contains the interaction mockup (Simulator, Setups & assignments tabs) and the proposed plan. Nothing is built yet. The decisions in section 9 would help me most before Phase 1.
2. What I found in research
Commercial VFD trainers from Amatrol, Festo / LabVolt and LearnLab share one layout. We copy it so what students learn on screen transfers to the real panel.
- Physical kit: lockable main breaker, the drive, a 3-phase induction motor, speed potentiometer, selector switches, start/stop push-buttons, indicator lights, emergency stop, and often a tachometer or encoder plus a brake or load on the motor shaft.
- Teaching flow: safety and wiring first, then keypad basics, then parameter programming, then control methods (keypad, potentiometer, terminals, serial), then loads and troubleshooting with inserted faults.
- Gap a simulator can fill: real kits cannot show the waveforms at the drive output without a scope and cannot show the DC bus, IGBT switching or flux. We can, and that is the main teaching value.
Drive data: I could not find an online source for the 3G3JZ-A4007 itself. Search results only returned neighbouring Omron families (JX, MX2, JV). I will use the figures that are common to this class (400 V 3-phase input, 0.75 kW, ~2 A rated output) as defaults. The real parameter table, ranges, display codes and fault codes must come from the JZ user manual. Please send the PDF, or confirm I may base it on a manual you hold.
3. Design principles
- Look like the real kit. The bench, panel, keypad and terminal strip match the physical equipment in your lab. Same labels, same key names.
- Guided and free modes. Guided lessons lock the bench into steps with hints. Free mode is the sandbox. Assignments are guided steps plus auto-checks.
- Mistakes are teachable. Wrong wiring, wrong parameters and overloads produce the same fault codes a real drive shows, with a "why did this happen" panel.
- Show the invisible. Toggle overlays: rotating-field in the motor, DC bus ripple, PWM switching, V/f line.
- Safety rules enforced. Isolate and lock out before touching terminals. The simulator refuses wiring changes with the breaker on, just as the lab should.
4. Module 01 scope against your six objectives
Fundamentals & design
- Block diagram: rectifier, DC bus, inverter
- Animated cutaway of the drive
- Synchronous speed, slip, V/f principle
Operations
- Keypad, run, stop, reverse
- Accel and decel ramps
- Live speed, current and torque trends
Control methods
- Keypad and potentiometer reference
- Terminal (2-wire) run command
- Multi-step speeds. Serial is a later add-on
Installation & connections
- Wire supply, drive, motor
- Phase swap reverses direction
- Earthing, cable and breaker sizing quiz
Protection, programming, maintenance
- Overcurrent, overload, over/under-voltage faults
- Fault codes, reset, parameter backup
- Maintenance checklist scenarios
Energy efficiency & exercises
- Fan and pump affinity-law demo
- Throttled vs VFD-controlled energy compare
- Graded practical exercises
5. Simulation engine
The physics runs in the browser, in a Web Worker, so response is instant and works for many students without server load. The model is deliberately simple and correct enough to teach:
- Input: 3-phase 400 V / 50 Hz sources (phase voltage 230 V rms) → 6-pulse rectifier → DC bus ≈ 566 V.
- Drive: V/f control with torque boost, accel and decel ramps, min and max frequency, carrier-frequency PWM, overcurrent / overload / bus-voltage trips.
- Motor: steady-state equivalent circuit (slip, torque, current) with a first-order mechanical model for inertia and load. This gives correct speed ramps, slip and current without a full electromagnetic solver.
- Drive "personalities" are data files (JSON): parameter list, keypad layout, terminal map, fault table. Omron JZ ships first, Siemens is added by supplying a new file and a 3D model, not by changing the engine.
6. Architecture
Angular app (browser) AdonisJS API (Node) PostgreSQL
┌──────────────────────────────┐ HTTPS ┌─────────────────────┐ ┌───────────────┐
│ 3D bench (Three.js) │ JSON │ Auth (roles) │ │ users, roles │
│ Drive faceplate / keypad │◄─────────►│ Setups CRUD │◄─►│ setups │
│ Scopes (canvas) │ │ Assignments, grading│ │ assignments │
│ Sim engine (Web Worker) │ │ Session event log │ │ submissions │
│ Drive profile (JSON) │ │ Validation of checks│ │ evaluations │
└──────────────────────────────┘ └─────────────────────┘ └───────────────┘
- Frontend: Angular (standalone components, signals), Three.js for the 3D bench with glTF models, canvas for scopes and trends.
- Backend: AdonisJS 6 with Lucid ORM, VineJS validation, token-based auth, role guards (admin, trainer, student).
- Database: PostgreSQL. Setups and submissions store the bench state as
jsonb, so adding a drive or a parameter never needs a migration.
- Trust: auto-checks run on the server from the stored state and event log, not on the student's browser, so scores cannot be edited client-side.
7. Data model
users id, name, email, password_hash, role(admin|trainer|student)
cohorts id, name, trainer_id cohort_members cohort_id, user_id
drive_profiles id, code('omron-3g3jz-a4007'), name, spec jsonb
setups id, owner_id, drive_profile_id, name, tags[], is_shared,
state jsonb -- wiring, params, reference, load, camera
assignments id, trainer_id, title, brief, base_setup_id, due_at,
checks jsonb -- rule list with points, manual_points
assignment_targets assignment_id, cohort_id | user_id
submissions id, assignment_id, student_id, state jsonb, event_log jsonb,
note, status(draft|submitted|graded), submitted_at
evaluations id, submission_id, trainer_id, auto_score, manual_score,
check_results jsonb, feedback, released_at
Core endpoints: POST /auth/login, GET/POST/PUT/DELETE /setups, POST /setups/:id/duplicate, GET/POST /assignments, POST /assignments/:id/submit, GET /assignments/:id/submissions, PUT /submissions/:id/evaluation.
8. Delivery phases
Phase 0 · ~1 wkReview this mockup. Obtain the JZ manual and decide 3D assets. Receive PostgreSQL credentials. Agree grading rules.
Phase 1 · ~2 wkRepo setup, Angular shell, AdonisJS API, auth and roles, database migrations, CI.
Phase 2 · ~4 wkSimulation engine and 3D bench: wiring, breaker, faceplate, parameters, ramps, scopes, trends. Omron JZ profile.
Phase 3 · ~2 wkSave, load, duplicate and share setups. Demo mode for the trainer.
Phase 4 · ~3 wkAssignments, auto-checks, submission, review screen, grade release, session replay.
Phase 5 · ~3 wkGuided lessons for the six objectives, fault scenarios, energy-saving demo, pilot with a real class, fixes.
LaterSiemens drive profile, PLC-controlled run commands, then the next modules (PLC, instrumentation).
Durations are rough estimates for one full-stack developer plus part-time 3D art, and will firm up after Phase 0.
9. Decisions I need from you
JZ manual and parameter list. Needed for exact keypad behaviour, parameter numbers and fault codes.
3D models. Options: I model simple generic parts in-house (fast, stylised), or we source or commission accurate CAD-based models of the JZ and your motor.
Users and login. Local accounts created by the trainer, or sign-in through an existing school system (SSO)? Approximate number of simultaneous students?
Grading. Is auto-scoring plus trainer review the right split, and do you grade per cohort or per student?
Language and devices. English only? Do students use lab PCs only, or also tablets and phones? (3D works best on a laptop or desktop.)
Hosting. Same server as the database? Do you need it reachable off-campus?