cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

Hello, I am using CY8CKIT-037 and I am trying to understand about Phase Current Detecting and Processing Circuit, in this I have found that the gain of the op amp mathly and simulating is 5, but in the code Sensorless FOC is 10000/2400 is meaning 4.166.... Why does this happen?. Are values wrong in the schematic presented in CY8CKIT-037 PSoC4 Motor Control Evaluation Kit Guide in the Figure 4-6 called Current Detecting and Processing Circuit? Thanks.

0 Likes
Reply
1 Solution
JobinT_31
Employee

Hi,

Values are wrong in the code example. Checked the board using the multimeter and confirming the resistor is 2K.

This #define OPAMP_GAIN is not very significant, as it is only used for additional overcurrent protection.

Thanks

Jobin GT

View solution in original post

0 Likes
Reply
1 Reply
JobinT_31
Employee

Hi,

Values are wrong in the code example. Checked the board using the multimeter and confirming the resistor is 2K.

This #define OPAMP_GAIN is not very significant, as it is only used for additional overcurrent protection.

Thanks

Jobin GT

View solution in original post

0 Likes
Reply