BLDC Configuration
Libraries:
Motor Control Blockset HDL Support /
Electrical Systems /
Motors
Description
The BLDC Configuration block generates the configuration signal for a brushless DC (BLDC) machine or motor. You can use this signal to update parameters of BLDC blocks that support FPGA deployment, such as the BLDC HDL block.
Examples
Six-Step Commutation of BLDC Motor Using Sensor Feedback
Use six-step commutation technique to control speed and direction of rotation of a three-phase BLDC motor.
Ports
Output
Config — Block configuration signal
vector
Configuration signal for a BLDC motor, which includes the following parameters that you configure using this block.
Configuration element | Units | ||
---|---|---|---|
Number of pole pairs | - | ||
Stator phase resistance per phase | ohm | ||
Stator d-axis inductance | Henries | ||
Stator q-axis inductance | Henries | ||
Permanent magnet flux linkage constant | Weber | ||
Inertia | kgm^2 | ||
Back electromotive force, EMF | Vpk_LL/krpm Vpk_LL is the peak voltage line-to-line measurement | ||
Viscous damping | N·m/(rad/s) | ||
Mechanical input configuration (Torque or Speed) | - |
Data Types: single
Parameters
Block Options
Mechanical input configuration — Select port configuration
Torque
(default) |
Speed
This table summarizes the input and output ports in each port configuration.
Mechanical input configuration parameter value | LdTrq/Spd port configuration | ||
---|---|---|---|
Torque | LdTrq | ||
Speed | Spd |
Sample Time (Ts) — Sample time after which block executes again
1e-6
(default) | scalar
The fixed time interval (in seconds) between every two consecutive instances of block execution.
Parameters
Number of pole pairs — Pole pairs
4
(default) | scalar
Number of pole pairs, P, in the motor.
Stator phase resistance per phase (Ohm) — Resistance of stator
0.02
(default) | scalar
Stator phase resistance per phase, Rs , in ohms.
Stator d-axis inductance (H) — d-axis inductance
1.7e-3
(default) | scalar
Stator inductance, Ld , in H.
Stator q-axis inductance (H) — q-axis inductance
3.2e-3
(default) | scalar
Stator inductance, Lq , in H.
Permanent flux linkage constant (Wb) — Flux linkage constant
0.2205
(default) | scalar
Permanent flux linkage constant, λpm , in Wb.
Inertia (kgm^2) — Physical inertia
0.0027
(default) | scalar
Physical inertia of the motor, J, in kg.m2.
Viscous damping (Nm/rad/s) — Viscous damping
4.924e-4
(default) | scalar
Viscous damping of the motor, F, in Nm/(rad/s).
Static friction (Nm) — Static friction
0
(default) | scalar
Static friction in the motor, Tf , in Nm.
Version History
Introduced in R2023b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)