Category: Toolbox > eDrives and Systems > eDrives > Controllers
Inputs:
•freq_n: Normalized frequency reference. Scaled Integer (2.32)
•id_ref: Normalized d-axis current reference. Scaled Integer (2.32)
•iqref: Normalized q-axis current reference. Scaled Integer (2.32)
•i_a: measured alpha-axis current. Scaled Integer (2.32)
•i_b: measured beta-axis current. Scaled Integer (2.32)
•theta_n: Normalized theta (angle) measured. See Quadrature Encoder.
•udc_n: Normalized DC bus voltage. Scaled Integer (2.32)
•kpn: Normalized Kp value for speed loop. Scaled Integer (8.32)
•kin: Normalized Ki value for speed loop. Scaled Integer (8.32)
•Speed_loop_on: Speed loop enable. (binary input)
•FOC_On: Field Oriented Control / Current Loop enable. (binary input)
•cntr_on: Controller enable. (binary input)
Outputs:
•mA_ref: Modulation index reference for phase A duty cycle. Scaled Integer (8.32)
•mB_ref: Modulation index reference for phase B duty cycle. Scaled Integer (8.32)
•mC_ref: Modulation index reference for phase C duty cycle. Scaled Integer (8.32)
•speed_n: Normalized measured speed. Scaled Integer (8.32)
•isq_n: Normalized q-axis stator current. Scaled Integer (8.32)
Description: The Field Oriented Controller block generates modulation indices for three phase motor voltages. It uses both a speed loop and a current loop. It uses the rotor position and measured currents as feedback. It can be used with shaft encoder or a hall sensor. <tbs. what are Shaft Encoder and Hall Sensor? Are they blocks?>
All inputs are divided by their respective full-scale values to get normalized values. For example, – id_n = id_ref/C_fs, where id_ref is the user input and C_fs is the full-scale current.
<tbs. The title bar name does not match the block name>

currentcontroller_Kp (V/A): <TBS> Also, you need to write out the parameter names in English: Current Controller Kp
currentcontroller_wi (rad/s): <TBS> same as above.
Fsampling (Hz): This should set to the same frequency as set in System > System Properties.
F_speed/F_sampling: tbs . Also, you need to write out the parameter names in English as discussed above.
Fullscale Current (A): <tbs, need description>
Fullscale Freq (Hz): <tbs, need description>
Fullscale Voltage (V): <tbs, need description>
Max modulation index: Indicates the upper and lower limit on modulation indices. <tbs. Use initial capitalization for each word>
Motor pole pairs: tbs need description
PM Flux est (Wb): tbs <tbs. also, write out the word “est”>
Speedcontroller limit (A): tbs <tbs. Use initial capitalization for each word>
User current ramp (A/s): tbs <tbs. Use initial capitalization for each word>
User frequency ramp (Hz): tbs <tbs. Use initial capitalization for each word>
User ramp: Safety limits to avoid sudden jerks in the input values.<this is not in the dialog box>