PMSM Parameterization from Datasheet
This example shows two test harnesses that add confidence that a PMSM is correctly parameterized from a datasheet. It also calculates motor efficiency at rated speed and torque.
The rated conditions test harness below uses datasheet values for damping and friction plus it adds an additional linear damper that is sized to reach rated torque when rotating at rated speed. The three current sources deliver rated current. This test harness verifies that the motor is capable of delivering the rated torque at rated speed and also determines the motor efficiency.
The stall conditions test harness replicates a stall event by effectively shorting the mechanical R and C connections via the torque sensor. The torque measured by the torque sensor is checked against the datasheet value for the stall torque. An incorrect stall torque could indicate an incorrect value for the torque constant, perhaps because the measurement convention has not been defined on the datasheet.
The plot below is generated from the rated conditions test harness and verifies that the motor is capable of delivering the rated torque at rated speed and also determines the motor efficiency.
The plot below confirms that the simulated stall torque is equal to the datasheet stall torque.