GMW

advertisement

GMW

Angular Position Development KIT for 2SA-10

AN_125KIT

Magnet target The AN_125 development kit provides a complete solution to evaluate the 2SA-10-SO, 2-axis Hall sensor in angular position applications. A PIC16F684 microprocessor interface/interpolator is included with software to convert the 2SA10’s SIN and COS signals to an analog angular position output with 0.1 deg resolution and +/- 0.5 deg accuracy. The kit is very flexible and also provides a PWM output proportional to the angle. The full scale angle range can easily be set as well as two angles for digital outputs.

Kit Specifications

Input Power :

Voltage: 8-16VDC

Current: 25mA

Outputs :

Analog voltage: 0.5 to 4.5 VDC

PWM: 10% to 90% @ 2KHZ rep rate

Discrete outputs: 2ea. Open collector digital ( 20 mA)

User Interface

Push button switch - Calibration

Push button switch - Minimum angle set

Push button switch - Maximum angle set

Push button switch - Digital out 1 position

Push button switch - Digital out 2 position

LED - Calibrate / Heartbeat

LED - End of travel - Min angle

LED - End of travel - Max angle

LED - Digital Position 1

LED - Digital Position 2

¼ inch shaft magnet holder

2SA-10

Y

X

COS

"X" TP

SIN

CAL

A1 Set

A2 Set

D1 Set

D2 Set

SIN

COS

"Y" TP

PWM

D1

D2

5 V Reg

LP

Filter

(7-16VDC)

PWM Out

Analog Out

D1 Out

D2 Out

GND

+V

P

A

D1

D2

GND

Operational Description

Functional Block Diagram

Normal Operation

No magnet present: If the vector magnitude of the sensor is less than 20% of full scale, the LEDs will blink in a distinct ”seeking pattern”. Analog output will be 0.0V and both digital outputs will be inactive.

Magnet present: CAL light will be lit solid. Analog output will track magnet position from 0.5V at the user defined minimum position to 4.5 V at the user defined maximum position. If the magnet position travels beyond the user defined minimum position, the output will hold at 0V and the MIN LED will light. If the magnet position travels beyond the user defined maximum position, the output will hold at 5V and the MAX LED will light. If the magnet is with +/- 5 deg of a stored digital position, the associated digital output will be active.

Min / Max Position Set

User presses MIN or MAX button. System stores the present angular position as the Min or MAX value. MIN or MAX LED will blink rapidly for 1 second to confirm storage.

D1 / D2 Position Set

User presses D1 or D2 button. System stores the present angular position as the D1 or D2 value. D1 or D2 LED will blink rapidly for 1 second to confirm storage

Calibration

User presses the CAL button to initiate calibration. Calibration light blinks and remains blinking through the calibration process.

User moves the magnet through several rotations. Min and Max values are sampled for each axis through this process.

User presses the CAL button to finalize calibration. Calibration values (min, max, and center of each axis) are stored. Calibration stops blinking.

5.5

Kit Contents

2SA-10 sensor and microprocessor PCB assembly with 9V battery clip

Plastic guide and knob with magnet

 ¼ inch shaft holder with magnet

CD with the following documentation

Circuit schematic

System schematic

Bill of materials

Program listing

Program documentation / flow diagrams

Device programming files (HEX records)

Users Guide

Note: Developed code will function with all PIC12#### and PIC16#### processors

4.5

4

3.5

3

2.5

2

1.5

1

0.5

0

-0.5

5

0

Sample output graph for 50 deg to 200 deg range

50 100 150 200

Angle of rotation in deg

250 300 350

AN_125_KIT.doc 20 Dec, 2004

GMW

955 Industrial Road, San Carlos, CA 94070 Tel: (650) 802-8292 Fax: (650) 802-8298

Email: sales@gmw.com Web site: http://www.gmw.com

Download