# Knowledgebase
## Control with AMDC
> Sensor Calibration
Current sensors
Encoder
Converting from raw counts to "theta"
Direction: +/- depending on phase connections
Sync machines: dq offset
> PWM Dead-Time Compensation
How to do
Example results
> Encoder Speed Feedback
LPF
State Filter
Observer
> Integrator Anti-Windup
Different methods
Implementation (continuous/discrete-time)
Simulink
Handwritten C code
> Simulink Autogen
## Applications
RL Load Current Regulation
Single Phase Current Reg
Modeling salient dq RL load
3 phase current ctrl
Rotary Speed Control
Bearingless Motor MP Current Regulation
Maglev Displacement Control