cancel
Showing results for 
Search instead for 
Did you mean: 

Quadrature Encoder not available in Speed Sensing Mode Selection

userst
Visitor

[VERSION]: MCSDK v6.3.2
[TOOL]: MC WB (and Board Designer to design the custom inverter board)
[EXPECTED BEHAVIOR]: Quadrature Encoder mode available and selectable in Speed Sensing Mode Selection tab in MC Workbench
[HOW TO REPRODUCE]:

  1. Create custom inverter board and motor.
  2. Create a new project in MC Workbench where the custom board and motor is used.
  3. Make sure "Quadrature Encoder" is "On" in Motor tab.
  4. Open "Speed Sensing Selection" tab and "Quadrature Encoder" mode is now grayed out and not selectable.

[DETAILS]:

I am trying to use ST Motor Control SDK with a custom inverter board. I have issues selecting Quadrature Encoder mode in Speed Sensing Mode Selection when using my custom inverter board and motor. I have the following config added:

The following is part of motor.json file:

"hasQuadratureEncoder": true,
"quadratureEncoder":
{

"hasIndexPin": true,
    "pulsesPerMechanicalRevolution": 4096
}

 And in board.json: 

"type": "SpeedAndPositionSensing",
"name": "SpeedAndPositionSensing",
"hwVariants":
[
{
  "signals":
{

        "QENC_A":
[

{
                "name": "PB6",
                    "help": {},
                    "cost": 0
                }
            ],
            "QENC_B":
[

              {
                    "name": "PB8-BOOT0",
                    "help": {},
                    "cost": 0
                }
            ],
            "QENC_Z":
[

                {
                    "name": "PA0",
                    "help": {},
                    "cost": 0
                }
            ]
        },
        "type": "QuadratureEncoderAbsolute",
        "cost": 0
}
]

 

What did I miss?

 

I just noticed the following message in the "Project Hw & Info" tab under "Board Connections Messages":

Warnings

  • CSConnect: ThreeShunt_AmplifiedCurrents DualADCs SharedSignal

  • CSConnect: ThreeShunt_AmplifiedCurrents DualADCs NoSolution

I would assume this relates to Current Sensing and therefor wouldn't be the reason for the Quadrature Encoder mode not being available.

 

Attached some screenshots showing config and the drop-down with the option grayed out.

0 REPLIES 0