2.2.1.5 Voltage Measurement and Diagnosis

Voltage sensing in Field-Oriented Control (FOC) is a critical process that involves measuring the motor's DC bus voltage to ensure that voltage limits are not exceeded and that the motor control model remains in the linear zone.

The 'Voltage Measurement and Diagnosis' module of Harmony QSpin allows end users to customize motor control software modules to fit their specific project requirements.

Graphical User Interface

Voltage Measurement and Diagnosis GUI

View Voltage Scaling Value

Follow the following steps to view voltage scaling:

  1. Click on the Voltage scaling block as shown below.
  2. If the voltage scaling is 0, go to Analog Front End GUI to configure the DC bus voltage measurement circuit.

Setting Up Voltage Processing

  1. Click on the Processing block as shown below.
  2. QSpin implements a simple first-order Euler filter to process the measured voltage based on the following equation:

where:

  • y is the filtered output,
  • x is the unfiltered input,
  • α is the filter parameter.

Configure the filter parameter according to your project requirements.

Note:

Currently, the firmware only uses unfiltered DC voltage for control. The filtered output is for monitoring purposes.

Setting-up Voltage Diagnosis

Follow the below steps to set-up the voltage measurement diagnosis:

  1. Click on the diagnosis block to configure the voltage measurement diagnosis.
Note:

Currently the voltage diagnosis mechanisms are disabled.