This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCT8329EVM: Control loop response

Part Number: MCT8329EVM
Other Parts Discussed in Thread: MCT8316A, MCT8329A

Hello TI experts, 

I'm evaluating MCT8329 using evaluation board. I see that response to speed input command are quite slow. Both kp and ki gains are at highest config. Closed acceleration is set to highest. Please let me know which other parameters are needed to describe my issue further. 

PS: I have evaluated MCT8316A and speed command response is quite fast. But didn't go ahead since power dissipation becomes higher at higher rpm. 

Thanks. 

  • Hi Rahul,

    1. Can you provide the register configuration you are using for the MCT8329?
    2. Can you provide me the motor you are using or its datasheet? 
    3. What is your target response time?

    Regards,

    Joshua

  • Hello Joshua, 

    1. Register Settings are added as code, couldn't attach the file. 

    2. I don't have the motor datasheet. Measured motor parameters are: Rs: 0.16Ohms, Ls: 8.9uH, Rated flux: 0.00144V/Hz

    3. Currently Motor max speed is set at 1750hz. When Going from 48% to 51% speed input command, the time taken is roughly 500ms. I would like it to be around 100ms. 

    {
      "signature": "oneui-register-data",
      "data": [
        [
          {
            "idx": 0,
            "id": "isd_config",
            "value": "0x7EC04D02"
          },
          {
            "idx": 1,
            "id": "motor_startup1",
            "value": "0x4806C577"
          },
          {
            "idx": 2,
            "id": "motor_startup2",
            "value": "0x33653815"
          },
          {
            "idx": 3,
            "id": "closed_loop1",
            "value": "0x1F7F4C00"
          },
          {
            "idx": 4,
            "id": "closed_loop2",
            "value": "0x23A1A498"
          },
          {
            "idx": 5,
            "id": "closed_loop3",
            "value": "0x34C92001"
          },
          {
            "idx": 6,
            "id": "closed_loop4",
            "value": "0x001AC953"
          },
          {
            "idx": 7,
            "id": "const_speed",
            "value": "0x30010001"
          },
          {
            "idx": 8,
            "id": "const_pwr",
            "value": "0x36B00640"
          },
          {
            "idx": 9,
            "id": "150_deg_two_ph_profile",
            "value": "0x24DB7200"
          },
          {
            "idx": 10,
            "id": "150_deg_three_ph_profile",
            "value": "0x48DB6946"
          },
          {
            "idx": 11,
            "id": "ref_profiles1",
            "value": "0x032184A6"
          },
          {
            "idx": 12,
            "id": "ref_profiles2",
            "value": "0x34C80AFC"
          },
          {
            "idx": 13,
            "id": "ref_profiles3",
            "value": "0x4787D70C"
          },
          {
            "idx": 14,
            "id": "ref_profiles4",
            "value": "0x000C9932"
          },
          {
            "idx": 15,
            "id": "ref_profiles5",
            "value": "0x1F6BF200"
          },
          {
            "idx": 16,
            "id": "ref_profiles6",
            "value": "0x00708000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "algo_ctrl1",
            "value": "0x00000000"
          },
          {
            "idx": 1,
            "id": "device_ctrl",
            "value": "0x00008000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "ana_trim3",
            "value": "0x48004800"
          },
          {
            "idx": 1,
            "id": "ana_trim4",
            "value": "0x4800000000"
          },
          {
            "idx": 2,
            "id": "ana_trim5",
            "value": "0x00000048"
          },
          {
            "idx": 3,
            "id": "ana_trim6",
            "value": "0x00000000"
          },
          {
            "idx": 4,
            "id": "ana_trim7",
            "value": "0x00F5A964"
          },
          {
            "idx": 5,
            "id": "ana_trim8",
            "value": "0x00005E84"
          },
          {
            "idx": 6,
            "id": "ana_trim9",
            "value": "0x00A9C81F"
          },
          {
            "idx": 7,
            "id": "ana_trim10",
            "value": "0x53720F3C"
          }
        ],
        [
          {
            "idx": 0,
            "id": "fault_config1",
            "value": "0x71783604"
          },
          {
            "idx": 1,
            "id": "fault_config2",
            "value": "0x7A85C00A"
          }
        ],
        [
          {
            "idx": 0,
            "id": "gate_driver_fault_status",
            "value": "0x00000000"
          },
          {
            "idx": 1,
            "id": "controller_fault_status",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "gd_config1",
            "value": "0x000600FC"
          },
          {
            "idx": 1,
            "id": "gd_config2",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "pin_config1",
            "value": "0x20600004"
          },
          {
            "idx": 1,
            "id": "pin_config2",
            "value": "0x3E0020AA"
          },
          {
            "idx": 2,
            "id": "device_config",
            "value": "0x27104005"
          }
        ],
        [
          {
            "idx": 0,
            "id": "sys_status1",
            "value": "0x00520000"
          },
          {
            "idx": 1,
            "id": "sys_status2",
            "value": "0x60010000"
          },
          {
            "idx": 2,
            "id": "sys_status3",
            "value": "0x00000000"
          }
        ]
      ]
    }

    Thanks. 

  • Hi Rahul,

    I will need some time to look into this issue. I will aim to get back to you by the end of next week.

    Regards,

    Joshua

  • Hello Joshua, 

    A gentle reminder and also to keep this thread alive. 

    Thanks. 

  • Hi Rahul,

    We recommend further adjusting the Kp and Ki values, setting these to the highest values does not guarantee the fastest acceleration/response time. Tuning the Kp and Ki values is experimental and may take trying many different values until the desired results are achieved.

    Regards,

    Joshua 

  • Hello Joshua, 

    I have checked the entire range of gain values. No matter which value I keep, the response is same. I almost feel like the gain coefficients are not being written. 

    Based on my experience with MCT8316A, it was pretty easy to tune. 

    Thanks. 

  • Hi Rahul,

    For a quick check, write the registers with the updated Kp and Ki values to EEPROM then power cycle the MCT8329A. After the power cycle, read the registers of the device, the Kp and Ki values should be the updated values, if they are not then there maybe an issue with the register writing.

    Regards,

    Joshua