The safety guard is firmware on the board. It caps phase current, refuses a start outside the supply window or with the phase currents off zero, stops a run if this page goes quiet for 1 s, and caps run time.
The Hall table is not calibrated, so Start is off. Calibrate once (about 3 minutes, the motor turns slowly).
Use Chrome or Edge on a computer. This browser has no Web Serial.
Step prediction: the controller's ramp at the acceleration limit, with a band of 0.5 Hz plus 5 %. Nothing is fitted; the measured line is the page's own speed trace.
Settings
Start uses the speed slider; this is the exact way to set it, and the cap ends the run by itself. The speed slider changes a run live, these two do not.
Each value is read back from the board. A new value is written only when you click Apply, never while a run or calibration is under way. Ranges are the page's, not the firmware's. Restore writes back the values read at connect.
| Connect to read the settings. |
Diagnosis
| If the controller reports | Check |
|---|---|
| DC bus over voltage | The supply is above the limit or the motor is pushing energy back. Read the bus on a meter and compare it with the page; the bench runs on 12 V. |
| DC bus under voltage | The supply sags under load. Check the adapter's rating and its lead, and watch the bus trace for a dip at the start. |
| motor over temperature | Let the motor cool, then clear the fault. If it returns cold, check what temperature input the firmware reads. |
| power module over temperature | The driver is hot. Stop, let it cool, and check the phase current trace for a current you did not expect. |
| hardware over current | A phase current hit a hard limit. Look at the three phase traces for which phase went first, check the motor leads for a short, and run slower. |
| comparator over current | The comparator tripped. Check the phase traces and the current limit reference before running again. |
| over load | The shaft is loaded or held. Free it and run again. |
| motor lost phase | No phase current: idle sense should sit near mid-scale on all three phases, and a held vector should read current on two. A phase that reads nothing points at a loose motor lead. |
| phase current unbalance | Current on the wrong phase: check which sense label is swapped by holding each vector in turn. Also check the three motor leads for a poor contact. |
| motor stall | The rotor did not follow. Free the shaft, calibrate the Hall table, and check the Hall states below. |
| startup failed | The start did not reach closed loop. Check that the Hall table is calibrated, that all six Hall states appear, and that the start current is enough for the motor. |
| over speed | The speed went past the controller's limit. Lower the reference. |
| estimator error | The estimator reported a problem. Check the Hall states and the speed trace. |
| gate driver fault | At idle, this means the ILIMIT reference is not set: check the ILIMIT voltage before enabling the gates. Right at a hard acceleration, the DRV8376 H variant reports its cycle-by-cycle current limit on its fault pin: raise the limit or treat that report as a warning. |
| current offset check | The current sense did not read zero at rest. Check the sense wiring and that nothing drives the motor while the page starts. |
| voltage offset check | The voltage sense did not read zero at rest. Check the bus and phase sense wiring. |
| If the guard reports | Check |
|---|---|
| cap reached | Normal end of a bounded run. Raise the cap on the Run button if you need longer. |
| host lost | The board heard nothing from the page for 1 s. Keep this tab in front, and check the USB cable; a background tab slows its timers. |
| over current | A phase current went past the guard's limit and the driver was switched off. Read the phase traces and run slower. |
| controller fault | The controller raised a fault during the run. The fault word above says which. |
| bus out of range | The bus left its range during the run. Check the supply. |
| refused: controller fault present | The run was refused because the controller reports a fault. Clear it after reading the diagnosis. |
| refused: bus out of range | The run was refused because the bus is out of range. Check the supply and its lead. |
| refused: Hall table not calibrated | The run was refused because the Hall table is not calibrated. Use Calibrate first. |
| host stop | You stopped it from the page. |
| calibration done | Calibration finished. The Hall table is valid. |
| background stall | The board's main loop stopped; reset it, and report the run: the guard switched the driver off itself. |
| refused: currents not near zero at standstill | The run was refused because the phase currents do not read zero at standstill: the board measured its current zero with the motor supply off. Leave the supply on, unplug the LaunchPad's USB for 3 seconds, reconnect. |
| guard clock check failed | The guard's clock disagreed with the control interrupt count, so it could not trust its own timers and switched the driver off. Reset the board and report the run. |
| over current while stopping | A phase current went past the limit while the firmware was bringing the motor down after a stop; the guard switched the driver off. |
| If you see | Check |
|---|---|
| No Hall state change as you turn the shaft by hand, or fewer than six states | A Hall wire, its pull-up or its supply. The Hall readout above lists the states seen; six are expected over a turn. |
| The Hall state flickers | Chatter: edges far above the sector travel mean the Hall read needs a debounce or cleaner wiring. |
| Driver fault before the motor is enabled | Check the ILIMIT reference voltage first. |
Checks against this bench record
The pass lines in the idle check are this page's own thresholds, not the controller's.
Idle check
Hall calibration (about 3 minutes, the motor turns)
Run
All readings
Run comparison and CSV
Computed in this page from the board's poll stream, with the update rate of each run in the last column. Not a scope or torque measurement. Test ids follow the names in the benchmark suite.
No runs yet. Each Run you make adds a row with its scheme and settings.
Schemes
About this page
- It reads the Hall FOC firmware on the AM13E230 and DRV8376EVM live over the board's USB serial port and shows the motor in words and traces.
- It calibrates the Hall table and runs the motor for a bounded time, under the bench guard in the firmware, and sets each stage's measurement beside what this bench measured.
- It writes the controller's settings on your click, and keeps a table of the runs you make with the numbers computed in the page.
- It talks to the board over the MotorVision serial protocol from the AM13 SDK, and writes only to firmware that carries the safety guard.
- Not a safety system. The guard that limits time, current and silence lives in the firmware. The page cannot add to it, and the Stop button is one more way to stop, not the only one.
- Not a lab instrument. The run numbers come from the page's own sampling of the board's poll stream, not from a scope or a torque sensor. The page shows the update rate it got.
- Why Chrome or Edge?
- The page reads the board with Web Serial, which only Chrome and Edge on a computer offer. Safari and Firefox do not.
- Why does the board need the tab in front?
- While a run or a calibration is under way the page sends a heartbeat four times a second. The firmware stops the motor if nothing arrives for 1 s, and a hidden tab slows its timers.
- What does the page write without my click?
- Only the heartbeat, and only during a run or a calibration. Settings, the scheme and every start wait for a click, and settings are not written while a run is under way.
- What are the speed and current ripple numbers?
- Speed ripple is the peak to peak speed over its mean, over the 2 s before any step (or the last 2 s of a run with no step, leaving out its final 0.3 s while the speed falls), starting 1 s after the controller closes the loop. Current ripple is the same for the amplitude of the three phase currents, sqrt(2/3 (a squared + b squared + c squared)) at each sample. Both come from fresh updates only, so the update rate beside each run limits what they can see: under 20 updates in the window, there is no ripple. The three currents arrive one after another, so current ripple is reported only when they lie within 2 % of an electrical period; otherwise the run's note says so.
- How is the step response measured?
- Speed updates go through a 3-point median first, which removes a one-update spike. Rise is the time from 10 % to 90 % of the step (crossings interpolated between updates), overshoot is the peak above the final value as a share of the distance the speed travelled, and settling is the time from the step until the speed stays inside a band around the final value; the band is 2 % of the step, or twice the scatter of the final second where that is larger, at most 10 % of the step (the run's note says when). The final value is the mean of the last second. Where the signal cannot support a number, the cell is empty and the run's note says why: the speed did not end within 10 % of the commanded step, the updates are too slow to time the rise (it needs at least 4 across it), or the speed had not settled when the run ended.
- Why is the run to closed loop not the same as motor_start_ms?
- motor_start_ms is standstill to one shaft turn. The page has no shaft position, so it reports the guard's run time when the controller reaches closed loop, and the CSV says so in its note.