What Is a FOC Motor Controller and How Does It Work?

A Foc Motor Controller uses field-oriented control to regulate a motor’s magnetic field and torque. Instead of switching motor phases in a simple sequence, it coordinates their currents as a rotating electrical vector. This approach can make a motor quieter and smoother, especially at low speeds. It is commonly used with permanent-magnet synchronous motors and brushless AC motors in robotics, electric vehicles, and industrial equipment.

Inside the controller, sensors or estimation algorithms track the rotor’s position. The controller transforms measured phase currents into two components: one associated with magnetic flux, and another with torque. It then adjusts these currents and sends switching commands to an inverter, which supplies carefully timed power to the motor. Fast feedback matters. A poorly tuned system can feel jerky, run hot, or respond slowly, even when its hardware is capable.

The details vary. Some systems use encoders or Hall sensors; others estimate rotor position from electrical signals. Sensorless control can reduce hardware, but may be less reliable at very low speeds. That trade-off is easy to overlook. This guide explains what a Foc Motor Controller does, how its control loop works, and which design choices affect performance. Real results depend on motor characteristics, current sensing, software tuning, and operating conditions—not just the controller’s label.

What Is a FOC Motor Controller and How Does It Work?

FOC Fundamentals: Regulating Motor Torque and Flux in the d–q Frame

A field-oriented control (FOC) controller separates motor current into two components using the rotating d–q reference frame. The d-axis current controls magnetic flux; the q-axis current produces torque. A controller measures phase currents, estimates rotor position, then transforms the readings into this frame. It adjusts each current through feedback loops and sends switching commands to the inverter. The math looks clean. Real motors are less tidy.

For a surface-mounted permanent-magnet motor, designers often target near-zero d-axis current below base speed, directing more current toward torque. At higher speeds, negative d-axis current can weaken the effective field and extend the operating range. This balance depends on motor parameters, temperature, and current limits. IEA’s 2011 report, Energy-Efficiency Policy Opportunities for Electric Motor-Driven Systems, estimated that motor-driven systems use about 45% of global electricity. That scale makes efficient control valuable, but FOC alone cannot guarantee efficiency; tuning and system design matter.

Tips: Check current-sensor offsets before tuning the d–q loops. A small offset can create unwanted torque ripple. Confirm rotor-angle estimates under changing loads, too. One detail is easy to overlook: a neat simulation may not capture real sensor noise.

FOC Motor Control: Regulating Torque and Flux in the d–q Frame

In field-oriented control, the d-axis current primarily controls flux, while the q-axis current controls torque. This example shows a q-axis current command stepping from 4 A to 12 A and the measured current tracking it, while d-axis current stays near its 0 A reference—a common strategy for a surface-mounted permanent-magnet motor below base speed.

Feedback Inputs: Measuring 3-Phase Currents and Rotor Position

A field-oriented control (FOC) motor controller uses feedback to regulate torque and speed smoothly. It measures three-phase currents and senses or estimates the rotor’s position. These signals show how the motor’s magnetic field relates to the rotor. Small errors matter. Noise matters too.

Current sensors may measure phase currents directly or use the inverter’s DC link to reconstruct them. The controller samples these readings in sync with switching. An encoder or resolver can provide rotor angle, while sensorless control estimates it from electrical behavior. That estimate can be less certain at very low speed. Using the current and angle data, the controller calculates torque-producing and flux-producing components, then adjusts the inverter’s switching. Poor readings can cause uneven torque, extra heat, or rough operation.

Tips: Check current-sensor offsets while the motor is stopped. Compare position feedback during a slow, unloaded rotation before adding load. Keep sensor wiring secure, and inspect readings under real operating conditions. Bench results can be misleading; verify the setup more than once.

Coordinate Transforms: Converting Phase Currents with Clarke and Park

A field-oriented control (FOC) motor controller uses Clarke and Park transforms to make three-phase current easier to control. The Clarke transform converts measured phase currents, often labeled ia, ib, and ic, into stationary alpha-beta components. For a balanced motor, the three currents sum to approximately zero, so the controller can derive the third from the other two. The Park transform then rotates alpha-beta values using the rotor’s electrical angle, producing d-q currents. The d-axis relates mainly to magnetic flux; the q-axis relates mainly to torque. The math is compact. The angle matters.

In practice, the controller compares measured d-q currents with target values, then adjusts inverter switching to reduce the error. A delayed angle estimate, noisy current samples, or sensor offsets can make the axes interact, so neat equations do not guarantee smooth torque.

The International Energy Agency’s 2011 report, Energy-Efficiency Policy Opportunities for Electric Motor-Driven Systems, estimated that motor-driven systems accounted for about 46% of global electricity use. That figure describes motor-driven systems overall, not savings from FOC. Still, it shows why precise motor control matters.

A useful bench check is to watch whether q-axis current rises cleanly when torque demand increases. Real waveforms can be messier.

Current Control: PI Regulators Set d–q Voltages for Each Control Cycle

In a field-oriented control (FOC) drive, the current loop turns measured phase currents into two useful quantities: d-axis current and q-axis current. A rotor-position estimate supplies the electrical angle for this transformation. The d-axis channel usually manages magnetic flux, while the q-axis channel produces torque. Their target values are compared with measured values every control cycle. The errors feed separate proportional–integral (PI) regulators. Each regulator adjusts its output to reduce the mismatch. This is the fast inner loop, often running much faster than the speed loop. Small errors matter.

The PI outputs become commanded d–q voltages, not direct motor currents. A controller may add decoupling terms for cross-coupling and back electromotive force. It then limits voltage to what the DC bus can provide. Anti-windup logic helps keep the integrators from building up error during voltage saturation. The voltage commands are transformed back into three-phase values, and modulation produces inverter switching commands. On a test bench, a sudden torque request can reveal a sluggish q-axis response or noisy current feedback. Tuning gains is not just a math exercise. Sampling delay, motor inductance, and sensor noise all affect the result. A compromise remains, and it needs checking under real load.

Inverter Output: Six Switches Generate 3-Phase PWM at Typically 10–40 kHz

A field-oriented control (FOC) drive turns its calculated voltage commands into three-phase power through a six-switch inverter. Each motor phase connects to a pair of switches: one links it to the positive DC bus, the other to the negative bus. The controller rapidly changes their on-and-off timing, creating pulse-width-modulated outputs. The motor’s inductance smooths these pulses into usable phase currents.

A carrier frequency of 10–40 kHz means thousands of switching cycles each second. At 20 kHz, the pulse pattern repeats 20,000 times per second; changing pulse width adjusts the average voltage delivered to each phase. The U.S. Department of Energy’s 2021 U.S. DRIVE Electrical and Electronics Technical Team Roadmap sets a 98% peak-efficiency target for traction inverters. It is a target, not a promise of real-world performance. Faster switching can reduce current ripple, but it also raises switching losses and heat. Dead time between paired switches prevents both from conducting together. That brief pause can distort the output slightly. The trade-off is not perfectly tidy: the best frequency depends on motor inductance, power level, and cooling.

32ft x 10ft Anti Vandal Canteen/Office

  • Complete with tables and chairs
  • Kitchen with sink worktop, cupboard and water heater
  • Insulated with electric sockets, lighting and heating
  • White upvc double glazing
  • External re spray in dark grey

Location: Nationwide

£6,500 + vat

Not Available for Hire

We can deliver for a cost please ask and send us post code.

Call for an instant quote!

Steel Cabin Staircases, in various sizes

  • 13 tread

  • 14 tread

  • 15 tread

Location: Nationwide

£1,200.00 + vat

Not Available for Hire

Call for an instant quote!

32ft x 10ft Anti Vandal Canteen/Office

    • Price: £5,995 + VAT
    • Description: 32ft x 10ft Anti Vandal Canteen/Office
  Part refurbished including:
  • Electric sockets, lighting and heating
  • White upvc double glazing
  • Canteen
  • Open plan
  • External light grey re spray

Location: Nationwide

£5,995 + vat

Not Available for Hire

We can deliver for a cost please ask and send us post code.

Call for an instant quote!

32ft x 10ft Drying Room, Toilet Block

Hallway leading into:

  • Price: £6,500 + VAT
  • Half open plan drying room, or we could add in a canteen. (additional cost)
  • Female Single toilet
  • Male toilets including 2 x cubicles, 2 x urinals and 2 x sinks
  • External light grey spray
  • Deep cleaned
  • Ready to use
  • Excellent overall condition

Transport can be arranged please ask.

Location: Nationwide

£6,500.00 + vat

Not Available for Hire

Call for an instant quote!

  • 20ft x 8ft Container Conversion Retail Shop

  • UPVC Double glazed Windows + French Doors

  • Slat Wall for retail fixings and Merchandise

  • Electric Chrome Sockets, led lighting and heating.

  • Laminate Flooring

  • 12 months Warranty

  • Maintenance call out package included

  • Less than 2 years old

  • Still in Brand New Condition

Location: Nationwide

POA

Not Available for Hire

Call for an instant quote!

32ft x 10ft Jack Leg Cabin

  • Fully refurbished

  • Colour light grey

  • Slate grey anthracite upvc double glazed windows

Location: Nationwide


£15,000

+ VAT

Not Available for Hire

Call for an instant quote!

20ft x 8ft Container Office

  • Fully Insulated with electric sockets, spot lighting, and heating

  • Wood Flooring

  • UPVC Sliding Door + Windows

  • Lead Time for build 6-8 weeks

Location: Nationwide


£12,995.00

+ VAT

Not Available for Hire

Call for an instant quote!

20ft x 8ft Container Office

  • Fully Insulated with electric sockets, spot lighting, and heating

  • Wood Flooring

  • Aluminium Bi Fold Doors

  • Fully wrapped in larch cladding

  • Lead Time for build 6-8 weeks

Location: Nationwide


£16,500.00

+ VAT

Not Available for Hire

Call for an instant quote!

10ft x 8ft Container Conversion

  • Fully Insulated with electric sockets, spot lighting, and heating

  • Wood Flooring

  • Feature Clad Wall and Ceiling

  • UPVC Double glazed French Doors

  • Fully wrapped in larch cladding

  • Lead Time for build 6-8 weeks

Location: Nationwide


£12,500.00

EX VAT

Not Available for Hire

Call for an instant quote!

40ft x 8ft Rooftop Container Bar

  • 40ft x 8ft Rooftop Container Bar
  • Fully Insulated with electric sockets, spot lighting, and heating
  • Built in Bar
  • Wood Flooring
  • Feature Larch Clad Wall
  • Aluminium double glazed premium windows and double French doors
  • Fully wrapped in larch cladding
  • Steel staircase up to Rooftop terrace with full surrounding steel balustrade
  • Double container doors leading to cool room with Air Conditioning unit.
  • Lead Time for build 6-8 weeks

Location: Nationwide


£85,000.00

EX VAT

Not Available for Hire

Call for an instant quote!

  • Fully Refurbished
  • Zinc Roof
  • Colour Light Grey (Other Colour Options Available)
  • New Flooring
  • New Electric Sockets, Lighting and Heating
  • New UPVC Large and Small Windows
  • New Kitchenette with Partition
  • New Toilet Room with toilet, Sink, Water Heater and Fan

Location: Nationwide

£18,995

EX VAT

Not Available for Hire

Call for an instant quote!

6 x 21ft x 8ft Container Stores

  • Wind and Water Tight
  • Very Good Condition
  • Some have racking inside
  • Floorings all good
  • Contents not included

Location: Nationwide


£1,500

EX VAT

Not Available for Hire

Call for an instant quote!

32ft x 10ft Anti Vandal Canteen in Blue

  • Used with electric sockets, lighting and heating
  • UPVC Double Glazed Windows
  • Furniture
  • Kitchenette 

Location: Nationwide


£4,995

EX VAT

Not Available for Hire

Call for an instant quote!

20ft Used Shipping Containers

  • Wind and Water Tight
  • Doors in good working Order
  • Random Selection
  • Lock Box and Lock additional cost.

Location: Nationwide


£1,500

EX VAT

Not Available for Hire

Call for an instant quote!

24ft x 10ft Jack Leg Anti Vandal Canteen/Toilet/Storage

  • Split entrance for Canteen room and WC which includes single cubical, urinal and sink.
  • Container door end with storage.
  • Electric Sockets, Lighting and Heating
  • Fitted Floor to Ceiling Cupboards
  • Colour: Dark Green

Location: Nationwide


£5,000

EX VAT

Not Available for Hire

Call for an instant quote!

40ft x 12ft Jack Leg Genuine Portakabin Pullman

  • 2 x Offices, Canteen and WC
  • Electric Sockets, Lighting and Heating
  • Colour: Light Grey
  • Full or Part Refurbishment option is available please ask.

Location: Nationwide


£9,500

EX VAT

Not Available for Hire

Call for an instant quote!

32ft x 10ft Anti Vandal Split Canteen/Office

  • Canteen approx 10ft – Office approx 22ft
  • Electric Sockets, Lighting and Heating
  • UPVC Double Glazing
  • Colour: Dark Blue

Location: Nationwide


£5,500

EX VAT

Not Available for Hire

Call for an instant quote!

8ft x 8ft Anti Vandal Gate House/Office

  • Open Plan
  • Electric Sockets, Lighting and Heating
  • Colour: Clad in New Larch Timber

Location: Nationwide


£5,500

EX VAT

Not Available for Hire

Call for an instant quote!

20ft x 10ft Anti Vandal Sleeper Unit

  • Split sides with two entrances, each side has its own room and Shower Toilet Facility
  • Electric Sockets, Lighting and Heating
  • Colour: Dark Grey

Location: Nationwide


£6,500

EX VAT

Not Available for Hire

Call for an instant quote!

21ft x 8ft Anti Vandal Canteen

  • Open Plan
  • Electric Sockets, Lighting and Heating, Hot water Unit + kitchen with cupboards and work top.
  • Colour: Dark Grey 

Location: Nationwide


£4,200

EX VAT

Not Available for Hire

Call for an instant quote!

30ft x 9ft Anti Vandal Fire Rated Office

  • Open Plan Refurbished
  • Electric Sockets, Lighting and Heating
  • Colour: Dark Blue

Location: Nationwide


£6,500

EX VAT

Not Available for Hire

Call for an instant quote!

24ft x 9ft Anti Vandal Office

  • Open Plan
  • Electric Sockets, Lighting and Heating
  • Colour: Dark Grey

Location: Nationwide


£4,200

EX VAT

Not Available for Hire

Call for an instant quote!

22ft x 9ft Jack Leg Portable Cabin

  • 22ft x 9ft Jack Leg Portable Cabin
  • Open Plan
  • Electric Sockets, Lighting and Heating
  • Fitted Desk and Floor to Ceiling Cupboards
  • Colour: Light Grey

Location: Nationwide


£4,995

EX VAT

Not Available for Hire

Call for an instant quote!

24ft x 9ft Jack Leg Portable Cabin

  • 24ft x 9ft Jack Leg Portable Cabin
  • Split Offices with two entrances
  • Electric Sockets, Lighting and Heating
  • Fitted Floor to Ceiling Cupboards
  • Colour: Light Grey

Location: Nationwide


£5,500

EX VAT

Not Available for Hire

Call for an instant quote!

10ftx8ft – £5950 + Vat / 16ftx8ft – £7950 + Vat / 20ftx8ft – £9000 + Vat / 24ftx8ft – £12000 + Vat / 30ftx8ft – £13500 + Vat

  • Reinforced doors and windows with secure locking
  • Open plan with electric sockets and lighting
  • Any Extras available: Canteen, Partitions, Toilets.

Location: Nationwide


From £5,950

EX VAT

Not Available for Hire

Call for an instant quote!

  •  Electric Sockets, Lighting and Heating
  •  Wind & watertight
  •  Sprayed Dark Grey

Location: Nationwide


£4,995

EX VAT

Not Available for Hire

Call for an instant quote!

  • 12ft Towable Gound Hog
  • Includes: toilet, canteen and seating area
  • Full working generator, fully serviced and in great condition

 

Location: Nationwide


£6,500

EX VAT

Not Available for Hire

Call for an instant quote!

  • Reinforced doors with secure locking 
  • Electrics and lights included
  • Sink and water boiler included

Location: Nationwide

Quantity: ∞

£15,000

EX VAT

Not Available for Hire

Call for an instant quote!

• Reinforced doors and windows with secure locking
• Open plan with electric sockets and lighting
• Ral Code Colour of choice

• Any Extras available : Canteen, Partitions, Toilets.

Location: Nationwide


£11,995

EX VAT

Not Available for Hire

Call for an instant quote!

• Reinforced doors and windows with secure locking

• Open plan with electric sockets and lighting

• Ral Code Colour of choice

• Any Extras available : Canteen, Partitions, Toilets.

Location: Nationwide


POA

Not Available for Hire

Call for an instant quote!

test

• Reinforced doors with secure locking
• Sink and water boiler included

Location: Nationwide

Quantity: ∞

£12,495

EX VAT

Not Available for Hire

Call for an instant quote!

32ft x 20ft Cabin

  • Reinforced doors with secure locking 
  • Electrics and lights included
  • Sink and water boiler included
  • Electric Roller Shutters
  • Roof top terrace 
  • Store Room 
  • Slatwall installation 

Location: Nationwide


£39,000

EX VAT

Not Available for Hire

Call for an instant quote!

Looking to Buy or Hire?

Get a Quick Container Quote Now!

20ft x 8ft Container Kiosk

  • Open plan layout with worktop serving area
  • Electric roller shutter with remote control
  • Electrics and lights included

Location: Nationwide

 

£15,000

EX VAT

Not Available for Hire

Call for an instant quote!

Looking to Buy?

Get a Quick Container Quote Now!

Newsletter Signup Form

Be the first to discover our exclusive offers and latest company updates by signing up to our email newsletter. Every month we’ll keep you informed of our best prices, industry updates, customer’s container projects, national shows we’ll be exhibiting at, and much more.

Looking to Buy or Hire?

Get a Quick Container Quote Now!