Difference between revisions of "STM32MotorControl:How To manually configure the motor parameters"

[checked revision] [quality revision]
m
m


1 Max Rated Speed, Nominal Current and Nominal DC Voltage parameters[edit]

  • Set the Max Rated Speed to the maximum motor speed according to the application specifications.
  • Set the Nominal Current to the maximum peak current provided to each of the motor phases according to the motor specifications.
  • Set the Nominal DC Voltage to the value of the DC bus provided to the inverter or the rectified value of AC input.
Setup motor parameters manually-1.png

2 Pole pair (number) parameter[edit]

  • The number of pole pairs is usually provided by the motor supplier, but in case it’s not or if you’d like to double-check it:
    • Connect a DC power supply between two (of the three) motor phases and provide up to 5% of the expected nominal DC bus voltage. (You may also set the current protection to the nominal motor current.)
    • Rotate the motor with your hands, you should notice a little resistance, otherwise:
      • If you are not able to rotate the motor, decrease the applied voltage.
      • If the motor does not generate any resistance, gradually increase the applied voltage.
    • The number of rotor stable positions in one mechanical turn represents the number of pole pairs.
Setup motor parameters manually-2.png

3 Stator resistance and inductance parameters[edit]

  • Using the multimeter, measure the DC stator resistance phase-to-phase (Rs) and divide it by two.
  • Connect the DC voltage between two motor phases.
  • Connect the oscilloscope voltage and current probes as shown in the figure.
  • Increase the voltage up to the value where the current equals the nominal value, so the rotor aligns with the generated flux.
  • Don’t move the rotor anymore.
Setup motor parameters manually-3.png
  • Disable the current protection of the DC voltage source.
  • Unplug one terminal of the voltage source cable without switching it off.
  • Plug the voltage source rapidly and monitor on the scope the voltage and current waveform until you get something like the one shown in the figure.
  • The measurement is good if the voltage can be assimilated to a step and the current increase such as I∞ * (1-e- t *L/R).
  • Measure the time required for the current waveform to rise to 63%.
  • This time is Ld/Rs constant. Multiply it by Rs and you’ll get the Ld value.
Setup motor parameters manually-4.png

4 Back EMF constant Ke[edit]

  • The Back-EMF constant represents the proportionality constant between the mechanical motor speed and the amplitude of the B-EMF induced into the motor phases:
Setup motor parameters manually-5.png
  • To measure Ke, it usually suffices to turn the motor with your hands (or using a drill or another motor mechanically coupled) and use an oscilloscope to look for the phase-to-phase induced voltage (VBemf )
Setup motor parameters manually-6.png
  • Measure the VBemf frequency (fBemf) and the peak-to-peak amplitude (VBemf –A)
  • Compute Ke in VRMS / KRPM:
Setup motor parameters manually-7.png
Setup motor parameters manually-8.png



{{DISPLAYTITLE: How To manually configure the motor parameters}}

=== Max Rated Speed, Nominal Current and Nominal DC Voltage parameters ===

* Set the '''''Max Rated Speed''''' to the maximum motor speed according to the application specifications.
* Set the '''''Nominal Current''''' to the maximum peak current provided to each of the motor phases according to the motor specifications.
* Set the '''''Nominal DC Voltage''''' to the value of the DC bus provided to the inverter or the rectified value of AC input.
[[file:Setup_motor_parameters_manually-1.png|center]]

=== Pole pair (number) parameter ===

* The number of pole pairs is usually provided by the motor supplier, but in case it’s not or if you’d like to double-check it:
** Connect a DC power supply between two (of the three) motor phases and provide up to 5% of the expected nominal DC bus voltage. (You may also set the current protection to the nominal motor current.)
** Rotate the motor with your hands, you should notice a little resistance, otherwise:
*** If you are not able to rotate the motor, decrease the applied voltage.
*** If the motor does not generate any resistance, gradually increase the applied voltage.
** The number of rotor stable positions in one mechanical turn represents the number of pole pairs.
[[file:Setup_motor_parameters_manually-2.png|center]]

=== Stator resistance and inductance parameters ===

* Using the multimeter, measure the DC stator resistance phase-to-phase (Rs) and divide it by two.
* Connect the DC voltage between two motor phases.
* Connect the oscilloscope voltage and current probes as shown in the figure.
* Increase the voltage up to the value where the current equals the nominal value, so the rotor aligns with the generated flux.
* Don’t move the rotor anymore.
[[file:Setup_motor_parameters_manually-3.png|center]]

* Disable the current protection of the DC voltage source. 
* Unplug one terminal of the voltage source cable without switching it off. 
* Plug the voltage source rapidly and monitor on the scope the voltage and current waveform until you get something like the one shown in the figure.
* The measurement is good if the voltage can be assimilated to a step and the current increase such as I∞ * (1-e- t *L/R).
* Measure the time required for the current waveform to rise to 63%.
* This time is Ld/Rs constant. Multiply it by Rs and you’ll get the Ld value.
[[file:Setup_motor_parameters_manually-4.png|center]]

=== Back EMF constant Ke ===

* The Back-EMF constant represents the proportionality constant between the mechanical motor speed and the amplitude of the B-EMF induced into the motor phases:
[[file:Setup_motor_parameters_manually-5.png|center]]

* To measure Ke, it usually suffices to turn the motor with your hands (or using a drill or another motor mechanically coupled) and use an oscilloscope to look for the phase-to-phase induced voltage (VBemf ) 
[[file:Setup_motor_parameters_manually-6.png|center]]

* Measure the VBemf frequency (fBemf) and the peak-to-peak amplitude (VBemf –A)
* Compute Ke in VRMS / KRPM:
[[file:Setup_motor_parameters_manually-7.png|center]]
[[file:Setup_motor_parameters_manually-8.png|center]]
<noinclude>
<!--
[[Category:Motor Control]]
-->

[[Category:STM32 MC Under ConstructionMotor Control]]
{{PublicationRequestId|19726| 4/23/2021| JM LAGOUTTE}}</noinclude>

<!--
Internal source: "Set up motor parameters manually.ppt"
-->
Line 49: Line 49:
   
 
<noinclude>
 
<noinclude>
<!--
+
 
 
[[Category:Motor Control]]
 
[[Category:Motor Control]]
-->
 
[[Category:STM32 MC Under Construction]]
 
 
{{PublicationRequestId|19726| 4/23/2021| JM LAGOUTTE}}
 
{{PublicationRequestId|19726| 4/23/2021| JM LAGOUTTE}}
 
</noinclude>
 
</noinclude>