cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL_IHM042V1 | DUAL | FOC 4.3 | AC6

paul2
Senior
Posted on October 28, 2017 at 14:31

Hi,

which user AC6 project can be used in combination with STEVAL_IHM042V1?

I would like to use the STEVAL_IHM042V1 to run two motors with hall sensors

Is it: \Web\Project\AC6\STM32F30x_UserProject -> config STM32303C-EVAL_DUALDRIVE?

Thanks

7 REPLIES 7
paul2
Senior
Posted on November 08, 2017 at 17:35

Motor Control Workbench project

used

________________

Attachments :

Husq6W_15A.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyGj&d=%2Fa%2F0X0000000b5y%2FOOK5ruSKItS03nC8Prcl98hwkCProXhZdtdAxvNAtHA&asPdf=false
Posted on November 10, 2017 at 10:30

Hi Gerber,

I tried to generate the MCWB project starting from yours, but looks like the STEVAL-IHM042V1 doesn't support a dual-motor driving where both motors use Hall sensors and 3-shunt sensing.

In fact the Hall3 input of motor 2 is shared with one of the current sensing input:

0690X0000060PD1QAM.png

And Hall1 of motor 1 is shared with voltage sensing.

0690X0000060PD2QAM.png

You should change your target topology if you want to use this board.

In any case, I attach you a WB projecthighlighting all these problems.

________________

Attachments :

SDK43x_IHM042V1_DUAL_HUSQ6W_15A.stmcx.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyJN&d=%2Fa%2F0X0000000b5q%2FFK0oDGg5kQ31aOmgY_8I6L2vzediOlKNjJVTz9RqadU&asPdf=false
Posted on November 10, 2017 at 11:02

Hi Enrico,

Thanks for your feedback.

Workbench Project has been configured (Power Stage -> Current reading topology -> One Shunt Resistor) as 1 shunt resistor sensing for both motors.

Is 1 shunt resistor sensing for both motors supported in combination with Hall sensors?

Posted on November 13, 2017 at 15:22

I used the project you shared as reference. However, using single shunt topology no conflicts are generated.

Building theFOC lib with the attached setupand using the dual-drive configuration I obtained the attached binary

0690X0000060PDzQAM.png

I had no chance to test it because I have no suitable board.

________________

Attachments :

SDK43x-STM32303E-EVAL-IHM045V1-ctmmotor_1shunt.stmcx.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HxmP&d=%2Fa%2F0X0000000b5p%2FH2lKBcdKuUoGmjP3o0RAroIuc.TEzE81209.DlRldzc&asPdf=false

STM32F30x_UserProject_1shunt.bin.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyJ8&d=%2Fa%2F0X0000000b5n%2FSu87GeZD514XO6bMEX6SWQnH2OP6zP4u_MIPVZDoWCM&asPdf=false
Posted on November 13, 2017 at 21:16

Hi Enrico,

Thanks for the sources. I have flashed the board with .bin file you provided to me.  Unfortunately, no result. I’m not able to connect to the target using the Motor Control Workbench project which was included in your post (message: Connection failed!). I think the target hangs, or is not started properly because of the application / .bin file.

Be aware that the IHM042V1 uses a 303CC MCU which is from a different package than the 303C EVAL board MCU.

Enrico Poli
ST Employee
Posted on November 14, 2017 at 10:27

Sorry Gerber, but I have more suggestions for you and I have not the board to test it.

Maybe

Forte.Gianluigi

‌ could help.

Laurent Ca...
Lead II

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards