Announcements

Register now for the most anticipated Asia Pacific Power Seminar 2022

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Motor Control ICs Forum Discussions

MathanRaja
Level 3
25 replies posted 5 questions asked 50 sign-ins
Level 3

Hi,

How to control multiple motors?

Thanks

Mathan

0 Likes
9 Replies
Viswa
Moderator
Moderator 10 replies posted 50 sign-ins First solution authored
Moderator

Hi Mathan,

Request you to provide more details regarding your query

1) It would be great if you can provide more details regarding the design/application

2) Processor/iMotion  device you would like to use and power board

 

Best Regards,

0 Likes
MathanRaja
Level 3
25 replies posted 5 questions asked 50 sign-ins
Level 3

Hi Viswa,

I am using Eval IMM101T-046M and controlling this eval board by stm32.

I have generated two different parameter files as User UART (the only change is UART node address and parameter set number) Multiple Motor parameter set support is Motor ID from UART.

I have merged this two-parameter file as mentioned in AN2020-25 and uploaded it by the MCE designer.

Then I tried the Load Parameter command to access the specific motor parameter file . But it is not worked.

How to Select a specific motor configuration?

SRM & AN2020-25 Both documents have load parameter command details but both have a different frame and CRC calculation.

So I need your support in controlling the motor.

Thanks

Mathan

0 Likes
Viswa
Moderator
Moderator 10 replies posted 50 sign-ins First solution authored
Moderator

Hi Mathan,

 

Thanks for your patience, 

The SRM shall be the correct one. The multiple parameter AN will be revised soon. 

Best Regards,

0 Likes
MathanRaja
Level 3
25 replies posted 5 questions asked 50 sign-ins
Level 3

Hi Viswa,

What is the procedure for controlling multiple motors?

How to active parameter set number?

Shall I use the same node address for more than one motor parameter file?

Thanks

0 Likes
Viswa
Moderator
Moderator 10 replies posted 50 sign-ins First solution authored
Moderator

Hi Mathan

 

PF the process to work with multiple motor parameters

  • Set the multiple motor parameter, shown below is UART selection “Unique Identification number”

Viswa_0-1660041836367.png

 

 

  • Repeat for parameter set number 2 and 3 as desired for different configurations
  • Use the VB script to generate combined file and program it using MCE designer.

PF the excel to generate combined file.

 

 

  • Parameter load command for parameter set 01 

0x01, 0x20, 0x20, 0x00, 0x00, 0x01, 0xDE, 0xDF

0 Likes
MathanRaja
Level 3
25 replies posted 5 questions asked 50 sign-ins
Level 3

Hi Viswa,

the communication is not working, while it is handling multiple parameter files.

Here I have attached VBA & .ldf files(page 1 & 2 ). I have tried in both 57600 & 115200bps.

Can you re-confirm the load parameter buffer frame in the previous reply?

How to control the motor from MCE on handling multiple motors?

Thanks

0 Likes
Viswa
Moderator
Moderator 10 replies posted 50 sign-ins First solution authored
Moderator

Hi Mathan

 

1) Is it possible to provide the screenshot as shown in the previous reply,

for both the parameter configurations generated?

2) What is the response received when the command is sent?

3) Can you power OFF the unit after programming the parameters and then check the communication.

4) Request you to follow the below thread to communicate with iMOTION controller using stm32

User Mode UART and Register Read (0x05) command not working 

 

Best Regards

0 Likes
MathanRaja
Level 3
25 replies posted 5 questions asked 50 sign-ins
Level 3

Hi Viswa,

MathanRaja_2-1660301330792.png

 

MathanRaja_1-1660301059514.png

 There is no response.

Thanks

Mathan

 

0 Likes
MathanRaja
Level 3
25 replies posted 5 questions asked 50 sign-ins
Level 3

Hi Viswa,

Now I can able to handle multiple motor parameter files.

Upload files from pages 0 to 15 without any empty pages in-between. then only, can handle parameter files. Now I have uploaded the parameter files on pages 0 and 1. Previously I have used pages 1 & 2, and 2&3, that's why I didn't handle them.

Why are these issues occurring?

I can control the motor with both the parameter files. But there are differences in the Pole, inductance & resistance.

How is Motor working on both files?

Thanks

Mathan

0 Likes