Haptic 3-DOF Pantograph Joint Angles Haptic 3-DOF Pantograph Motors navigation bar

Table of Contents

Haptic 3-DOF Pantograph Motor Currents

Monitors the Haptic 3-DOF Pantograph motor currents.

Library

QUARC Targets/Devices/Quanser/Haptics/Pantographs/Haptic 3-DOF Planar Pantograph/Interfacing

Description

Haptic 3-DOF Pantograph Motor Currents

The Haptic 3-DOF Pantograph Motor Currents block monitors the currents in the motors of the Quanser Haptic 3-DOF Pantograph. The input is a 4-vector read from the analog inputs connected to the motor current sense outputs. Use one of the HIL blocks to read these analog inputs. The output of the block is a 4-vector of the motor currents in amperes. The currents are output as a 4-vector in order of the joints, i.e., front-top-left, front-top-right, back-bottom-left and back-bottom-right.

For the Quanser Q4 and Q8 card, analog input channels 3, 2, 1 and 0, in that order, are typically used to read the motor current sense outputs of the Quanser Haptic 3-DOF Pantograph. For example, enter [3 2 1 0] as the analog channels in a HIL Read Analog block.

Input Ports

volts

A 4-vector representing the analog voltages read from the motor current sense outputs of the Haptic 3-DOF Pantograph. The units must be volts. The voltages must be provided in the order of the joints, i.e., front-top-left, front-top-right, back-bottom-left and back-bottom-right.

Output Ports

amps

The motor currents of each of the four motors in amperes, as a 4-vector. The currents are output as a 4-vector in order of the joints, i.e., front-top-left, front-top-right, back-bottom-left and back-bottom-right.

Data Type Support

This block supports inputs and outputs of type double.

Parameters and Dialog Box

Haptic 3-DOF Pantograph Motor Currents

The Haptic 3-DOF Pantograph Motor Currents block has no parameters.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

See Also

 

navigation bar