2024-04-04 01:06 AM
Hi community.
I'm working with stm32F407VET6 black board, and I need to simulate the project before implementing it in the real system. so, I need a software simulation of stm32F407xx or how to make it in hardware in the loop, I tried to search for a library in proteus, but I don't find one for F407XX.
thanks.
Solved! Go to Solution.
2024-04-04 01:22 AM
There is no simulator for STM32 because its complexity does not allow for a sensibly affordable solution.
Regards
/Peter
2024-04-04 01:22 AM
There is no simulator for STM32 because its complexity does not allow for a sensibly affordable solution.
Regards
/Peter
2024-04-04 01:35 AM
You need to contact Labcenter via this link: https://www.labcenter.com/contact/
2024-04-04 02:02 AM
@toufik_iddou wrote:how to make it in hardware in the loop,
So have you done any research into how "Hardware In the Loop" (HIL) testing is generally done?
The name says it all, really: You take your hardware, and you put it in your test loop!
So you will need:
None of this is specific to STM32.
2024-04-10 04:50 PM
I'll explain to you my idea and tell me if I can do it.
I need to control an inverter with stm32F407VET6 in closed loop the stm32 take the V_out of the inverter as input and produce a PWM signal as output to control the inverter.
I made the circuit of the inverter with proteus, but I don't have STM32F407 in proteus.
so, my idea is to connect my real stm32 and make a communication between them and proteus (I think that is the HIL)
am I right??
2024-04-11 01:01 AM - edited 2024-04-11 01:02 AM
@toufik_iddou wrote:my idea is to connect my real stm32 and make a communication between them and proteus (I think that is the HIL)
Yes, that would indeed be "Hardware (your actual STM32) In your test Loop" - HIL
As for what facilities Proteus has to achieve that, you would need to study the Proteus documentation and/or contact Labcenter about that - it is nothing to do with ST:
https://www.labcenter.com/contact/
https://www.labcenter.com/help-center/
https://www.labcenter.com/tutorials/
https://support.labcenter.com/forums/
@toufik_iddou wrote:the stm32 take the V_out of the inverter as input ...
So you will need something to provide that voltage input to your UUT (Unit Under Test) - perhaps a controllable power supply, or a voltage-output DAC controlled from your test system (ef, Proteus).
@toufik_iddou wrote:... and produce a PWM signal as output to control the inverter.
And you will need something else that can detect that signal, and feed it back into your test system.
Again, you're going to have to study the Proteus support resources (documentation, tutorials, etc) and/or contact Labcenter to find out what Proteus actually supports for this kind of stuff.
This is not a Proteus support forum.
2024-04-11 01:10 AM
@toufik_iddou wrote:the stm32 take the V_out of the inverter as input and produce a PWM signal as output
To be honest, that sounds like a fairly trivial thing to test manually - you simply apply a voltage to the UUT, and observe the PWM output on an oscilloscope.
Doesn't really seem to justify all the cost & effort of setting up a HIL system?
2024-04-11 04:51 PM
the problem is that I don't have the inverter hardware and my Controle is in closed loop so I need to collect the current and voltage from inverter output and apply a deferent charge (linear and non-linear) with deferent conditions.
2024-04-12 02:10 AM
Adopt a Unit Test approach:
Have you spoken to Labcenter yet about whether Proteus can even do the necessaries for such HIL testing?
2024-04-24 03:38 AM