Encoder Configuration Page
In the System Explorer window configuration tree, expand the Power Electronics Add-On custom device and select Circuit Model >> PMSM BLDC >> Encoder to display this page. Use Use this page to configure the Encoder sensor model.
Excerpt | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This page includes the following components:
When set to Quadrature Encoder mode, the sensor generates the A, B, and Z signals of a quadrature encoder module with a specific number of pulses per turn, according to an input angle or speed. Outputs A and B have a 90 degree phase difference that enables a decoder to retrieve the modulated signal angle and speed at any time. Configuration ParametersThe following parameters are available. They They are modifiable at edit-time only:
|
Channel Name | Symbol | Type | Default Value | Description |
---|---|---|---|---|
A | A | Output | 0 | Digital signal A generated by the encoder. When paired with B and Z, it can be used to determine the machine's position. |
B | B | Output | 0 | Digital signal B generated by the encoder. When paired with A and Z, it can be used to determine the machine's position. |
Z | Z | Output | 0 | Digital signal Z generated by the encoder. One Z pulse occurs per full rotation at the 0° machine angle |
Quadrature Encoder Description
A quadrature encoder is an angular position or motion sensor sometimes referred to as rotary encoder. The The quadrature encoder model generates three square-wave pulses (A, B, Z), which can then be interpreted into the angular position of the machine θm. For an encoder with Active High polarity, a pulse is defined as a transition from low to high back to low.
Anchor | ||||
---|---|---|---|---|
|
When set to Hall Effect mode, the sensor generates the A, B, and C signals which correspond to the absolute angle position. Typically Typically A, B, and C are separated by 120° but other configurations are common.
Configuration Parameters
The following parameters are available. They They are modifiable at edit-time only:
Configuration | ||||
Symbol | Units | Default Value | Description | |
---|---|---|---|---|
Number of Pole Pairs | pp | 1 | A gain applied to the mechanical angle of the machine, θm, before it is translated to a Hall Effect signal. Modify Modify this parameter if the sensor is attached to a gear box rather than connected directly to the rotor. In most applications, this is set to 1. | |
Speed Sign | Clockwise | Select one of the following options:
| ||
Position A | θA | deg | 0 | Sensor angle at which Channel A outputs a high signal pulse |
Position B | θB | deg | 120 | Sensor angle at which Channel B outputs a high signal pulse |
Position C | θC | deg | -120 | Sensor angle at which Channel C outputs a high signal pulse |
Section Channels
When set to Hall Effect mode, this section includes the following custom device channels:
Channel Name | Symbol | Type | Default Value | Description |
---|---|---|---|---|
A | A | Output | 0 | Digital signal A generated by the Hall Effect sensor. When paired with B and C, it can be used to determine the machine's position. |
B | B | Output | 0 | Digital signal B generated by the Hall Effect sensor. When paired with A and C, it can be used to determine the machine's position. |
C | C | Output | 0 | Digital signal C generated by the Hall Effect sensor. When paired with A and B, it can be used to determine the machine's position. |
Hall Effect Sensor Description
A Hall effect sensor is a device that is used to measure the magnitude of a magnetic field. Manufacturers of electrical machines will place magnetic materials on the machine at particular rotor angles to allow Hall Effect sensors to be able to detect when they are near the specific position on the machine. Through Through simple signal processing the voltage induced by the magnetic materials can be transformed into digital signals that turn active (true) when the Hall Effect sensor reaches the angle of the machine. The The digital signals can then be used by a controller to calculate absolute position and/or speed. This This Hall Effect Sensor model supports three independent sensor positions.