Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 06-18-2019, 06:32 AM   #1 (permalink)
EcoModding Lurker
 
Join Date: Jun 2019
Location: Poland
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Driving MPSM motor

Hi

Checking aplication notes from Atmel/Microchip or NXP, I found some ways to control PMSM motors, by PMSM I mean DC motor with sinosuidal back EMF.

1. way is to use SVM, with 3 Hall sensors and sine table - AVR447: Sinusoidal driving of three-phase permanent magnet motor using ATmega48/88/168

2. way is to use SVM but with Clark/Park transforms

Which way to go to run my Lexus 50kW MGR ?

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-18-2019, 11:15 AM   #2 (permalink)
Thalmaturge
 
Join Date: Mar 2011
Location: The edge of nowhere
Posts: 832

Go Pod - '00 Honda Insight AC

The Tinyvan - '07 Honda Fit Sport

Spicy Italian - '13 Fiat 500 Abarth
Thanks: 407
Thanked 414 Times in 272 Posts
Well that's a hell of a first post.

I looked it up, and
https://www.microchip.com/design-cen...chronous-motor
Quote:
The Permanent Magnet Synchronous Motor (PMSM) is an AC synchronous motor whose field excitation is provided by permanent magnets, and has a sinusoidal Back EMF waveform.
SVM is Space Vector Modulation

https://www.mathworks.com/solutions/...ransforms.html
Quote:
The Clarke transform converts the time domain components of a three-phase system (in abc frame) to two components in an orthogonal stationary frame (αβ). The Park transform converts the two components in the αβ frame to an orthogonal rotating reference frame (dq). Implementing these two transforms in a consecutive manner simplifies computations by converting AC current and voltage waveform into DC signals.
None of this is helpful to you, but yay! I'm learning. Hopefully someone more knowledgeable then me will be along shortly.
  Reply With Quote
The Following User Says Thank You to samwichse For This Useful Post:
Xist (06-21-2019)
Old 06-19-2019, 03:20 AM   #3 (permalink)
EcoModding Lurker
 
Join Date: Jun 2019
Location: Poland
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I did some tests on this motor connected to simple V/Hz inverter. (Dinverter 0,25 kW). It starts at 4Hz with very slow motion. Due lack of power and internal current limits of inverter, I canít spin it to higher rpm.
Attached Thumbnails
Click image for larger version

Name:	78E4BA24-F491-4799-91AB-D04F1AEECD56.jpg
Views:	6
Size:	43.3 KB
ID:	26234  
  Reply With Quote
Old 06-21-2019, 11:29 AM   #4 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,408

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 720
Thanked 511 Times in 408 Posts
Quote:
Originally Posted by MPP2007 View Post
Hi

Checking aplication notes from Atmel/Microchip or NXP, I found some ways to control PMSM motors, by PMSM I mean DC motor with sinosuidal back EMF.

1. way is to use SVM, with 3 Hall sensors and sine table - AVR447: Sinusoidal driving of three-phase permanent magnet motor using ATmega48/88/168

2. way is to use SVM but with Clark/Park transforms

Which way to go to run my Lexus 50kW MGR ?
Hi

I don't have access to the source code from work (where I'm reading this) ... so this is all from memory (which is not that great, and I didn't understand all of what Paul was doing when he did explain it)

With that disclaimer ... here is what I remember

Paul Holmes uses an encoder for rotor position. It is closer to your option 2. The encoder position is used to figure out where the rotor is with relation to the position of the stator flux. Getting them to the same units so that they can be compared requires 2 sets of calculations. The Park transform is one of them. Another ... 2 equations? .. to take the error in rotor position and reflect that back to a torque current setpoint, and from there combined with the magnetizing current to get a voltage setpoint and the PWM timing.

The hall sensors are likely more accurate than a separate external encoder. But I don't have information on which of your 2 options would be easier, or which would give you better control
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 07-03-2019, 11:23 PM   #5 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,408

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 720
Thanked 511 Times in 408 Posts
Quote:
Originally Posted by MPP2007 View Post
I did some tests on this motor connected to simple V/Hz inverter. (Dinverter 0,25 kW). It starts at 4Hz with very slow motion. Due lack of power and internal current limits of inverter, I canít spin it to higher rpm.
There are a couple of guys on this forum

http://openinverter.org/forum

that will understand what you are talking about .. and will likely have opinions for you. Johannes HŁbner particularly ... he's the guy that works with Damien on his add-on /replacement boards for the Teslas, Leafs, etc

__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Reply  Post New Thread


Thread Tools




Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com