focmotor is a Field-Oriented-Control (FOC) motor-control datapath for BLDC/PMSM machines (drone propulsion + industrial servo), It is delivered as a licensable soft-IP block engineered as an ASIL-B Safety Element out of Context — not just RTL, but the complete functional-safety work package needed to carry it into an ISO 26262 program:
foc_motor is a Field-Oriented-Control (FOC) motor-control datapath for BLDC/PMSM machines (drone propulsion + industrial servo), delivered as synthesizable SystemVerilog soft-IP with an APB4-lite control interface and built-in ISO 26262 (ASIL-B) safety instrumentation.
ISO 26262 (SEooC)
ASIL-B (SEooC) · SPFM 91.60% · LFM 88.41% · PASS
ISO 26262:2018 · FMEDA available · Safety Manual included
| Offset | Register | Description |
|---|---|---|
0x00 | CTRL | [0]=EN [1]=RUN(closed-loop) [2]=CLR_FAULT(W1) 0x04 KP_D d-axis Kp (Q4.12) |
0x08 | KI_D | d-axis Ki (Q4.12) 0x0C KP_Q q-axis Kp (Q4.12) |
0x10 | KI_Q | q-axis Ki (Q4.12) 0x14 ID_SET d setpoint (Q1.15, signed) |
0x18 | IQ_SET | q (torque) setpoint (Q1.15, signed) 0x1C ILIM current envelope (|i|,|set|) |
0x20 | DUTYLIM | duty envelope (max |duty|, 0..DUTY_MAX) 0x24 POLES pole pairs (informational) |
…4 more registers — see datasheet for the full table.
// Minimal instantiation
foc_motor #(
.ADDR_W(6)
) u_foc_motor (
.clk (clk),
.rst_n (rst_n),
// APB4
.p_paddr (paddr),
.p_psel (psel),
.p_penable (penable),
.p_pwrite (pwrite),
.p_pwdata (pwdata),
.p_prdata (prdata),
.p_pready (pready),
// Safety
.err_clear (1'b0),
.err_valid (err_valid),
.err_code (err_code)
);Configure via the CTRL register after reset to enable the IP and set operating parameters. Monitor err_valid / err_code for any safety faults reported by the built-in safety monitor.
Typically deployed in motor drives, power conversion, and sensor front-ends in automotive and industrial systems.
Pricing, the per-IP FMEDA, safety manual, and RTL data room are shared under a mutual NDA.
Figures are pre-silicon engineering-grade estimates for a Safety Element out of Context (SEooC); final ASIL sign-off is the integrator’s, supported under NDA. FMEDA and Safety Manual available under NDA.
circuit-design.space · +1-971-357-1400 · sales@circuit-design.space