2017-10-28 05:31 AM
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
2017-11-08 08:35 AM
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=false2017-11-10 02:30 AM
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:
And Hall1 of motor 1 is shared with voltage sensing.
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=false2017-11-10 03:02 AM
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?
2017-11-13 07:22 AM
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
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=falseSTM32F30x_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=false2017-11-13 01:16 PM
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.
2017-11-14 01:27 AM
Sorry Gerber, but I have more suggestions for you and I have not the board to test it.
Maybe
Forte.Gianluigi
could help.2021-06-27 10:58 PM
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