Jump to main content

##

# 2.2.2.2 Analog Front End

The field-oriented control requires multiple analog signals, each requiring analog processing before the MCU can take it. Some of these parameters affect the firmware parameters. The Analog Front End GUI allows users to configure these analog processing circuits so that the parameters are automatically taken by the firmware during generation.

Currently, QSpin only supports on-leg dual shunt-based current sensing. Refer to current measurement techniques to learn about different types of current sensing techniques.

## Graphical User Interface

## Configure Phase A Current Sensing Analog Circuit

In Harmony QSpin, the voltage source can be set in the following steps:

1. Set the following fields:

   Fields | Description
   --- | ---
   Op-amp | External Opamp or Internal opamp
   Gain | Opamp gain
   Offset | Opamp offset or Bias. This is usually half of ADC reference voltage.
   Shunt resistance | Shunt resistance value in ohms

## Configure Phase B Current Sensing Analog Circuit

In Harmony QSpin, the voltage source can be set in the following steps:

1. Set the following fields:

   Fields | Description
   --- | ---
   Op-amp | External Opamp or Internal opamp
   Gain | Opamp gain
   Offset | Opamp offset or Bias. This is usually half of ADC reference voltage.
   Shunt resistance | Shunt resistance value in ohms

## Configure DC Bus Voltage Sensing Analog Circuit

In Harmony QSpin, the voltage source can be set in the following steps:

1. Set the following fields:

   Fields | Description
   --- | ---
   Top resistance | Resistance of top resistor of the voltage divider circuit in ohms
   Bottom resistance | Resistance of bottom resistor of the voltage divider circuit in ohms