13.2.2 Input and Output Signals

The following table lists the input and output ports of Sequence Controller.

Signal NameDirectionDescription
reset_iInputActive low asynchronous reset signal to design
sys_clk_iInputSystem clock
fault_iInput

Active-high-level indicates fault occurrence and forces the FSM to Fault state where motor is stopped. It remains in Fault state unless cleared through fault_clear.

start_motor_iInput

Rising edge on the signal triggers the FSM to start the motor.

stop_motor_iInput

Active-high-level on the signal triggers the FSM to go to Stop state and the motor is stopped.

fault_clear_iInput

Rising edge in this signal clears fault if fault_i is 0 and FSM is released from Fault state to Idle state.

calib_done_iInput

Active-high-level triggered signal to indicate ADC offset calculation done.

pwm_midmatch_iInput

Periodic active-high-pulse (1 clock cycle width) that are used to trigger ADC and FOC loop

foc_done_iInput

Active-high-pulse (1 clock cycle width) indicating completion of FOC loop computations

speed_ref_iInputMotor speed reference input
speed_cl_iInput

Threshold speed value above which the motor operates in closed-loop. Open-loop angle is used if speed is below threshold.

vq_iInputQ-axis voltage (IQ PI Output)
max_ar_iInput

Maximum number of auto-restarts before Fault condition is asserted

config_reg_iInput

Configuration register.

config_reg_i(3): Soft Stop – When 1, enabled; When 0, disabled

config_reg_i(2): Startup Mode – When 1, C/f; When 0, V/f

config_reg_i(1): Sensor calibration (calibrates sensor to angle 0)

config_reg_i(0): Auto restart (when rotor slips) -

When 1, enabled; When 0, disabled

adc_start_oOutputADC Start signal (active-high-pulse)
cl_status_oOutput

Indicates if motor is in closed-loop (active-high-level) or open-loop.

en_idq_pi_oOutputEnable signal for current PI controllers
en_pwm_oOutputEnable signal for three-phase PWM block
motor_stopped_oOutputIndicates motor stopped/not running (active-high-level)
soft_stop_oOutputSoft Stop signal (active-high-level) to rate limiter block
sensor_reset_oOutput

Sensor reset signal (active-low-level) activates sensor calibration.

reset_rl_oOutputReset rate limiter signal (active-high-level)
state_oOutput

Debug signal indicates the FSM state of the sequence controller.