cancel
Showing results for 
Search instead for 
Did you mean: 

ST7FMC application immunity to external disturbance

jermakov
Associate II
Posted on September 20, 2007 at 08:01

ST7FMC application immunity to external disturbance

1 REPLY 1
jermakov
Associate II
Posted on September 20, 2007 at 08:01

Hello,

I need for experienced advices how to improve BLDC motor controlling application immunity to the disturbance going from the power stage.

I am projecting a software for the e-bike (based on the MCU ST7FMC2S4, rototype of AK-ST7FMC ref board, and application BLDC_3PH_SR_2.0 ), where MCU and motor power stage are placed on the same board and are powered from the same power supply. As result I have a lot of noise from the motor, which disturbances the MCU normal working and causes frequent application crashes.

I extremally need to make the software more stable and protected from crashes.

One of the possible solution is to activate WDT. Sure, I've done this. But I need to say, that this is not 100% solution.

Anyway the system goes frequently crashed.

My system is a bit more complicated and includes one more contorl unit, which communicates with the maqin unit thorugh the SCI interface. All the command (motor start and stop, speed value etc) are generating by control unit exactly.

So when the system gets crashed I can specify three possible crash scenarios:

1. Motor fault state, while main unit reports to the control unit the motor hardware failure. At this state the start of motor gets blocked and the only way to escape - power off and on commands from control unit. By this way the motor state gets restored to idle status.

Problem: - no automatical escape from this state after some timeout.

2. While try to start motor, the WDT generates reset, the motor shortly tries to start with strange sound and nothing more.

Problem: - no automatical current state restoring or motor state reinitiation on WDT reset.

3. Communication gets lost, the application keep working in the main loop but doesn't accept any SCI commands from control unit. The only escape available - by manual reset.

Problem: - WDT doesn't help at such case, the reason of this state occuring still not cleared.

Any advice is welcome very much!

Thank you,

Alexander.