please dont rip this site

MassMind Magnetic High Speed Non-Contact Quadrature Encoder

 

Note: This page is for the original version of this encoder. It has been replaced by a new version 2

Based on the amazing AS5134 chip^, this encoder supports 76875 RPM, 360 CPR/counts per revolution (with 4x decoding) quadrature rotational encoding. It senses the position of a two pole radially magnetized disk over a full revolution using a hall effect sensor array. The sensor signal changes are converted to a digital quadrature signal, and the position information stored as absolute position data on some registers, which are readable through a 3 wire synchronous serial interface. Standard quadrature Index, A and B phase signals are also generated just like any standard encoder.

Features:
  • 76,875 RPM (video showing 2,300 RPM real world test)
  • Non-contact magnetic sensor.
    • No need to mechanically attach to a shaft, just epoxy a small magnet in place. Great for motors with one shaft.
    • Alignment isn't critical. As long as the magnetic field is generally over the chip, within 1/2 inch, it will work quite well
  • The onboard LED indicates that the board is powered, and provides easy testing the alignment of the IC with respect to the magnet.
  • Multiple connection / cable options are supported.
  • Standard Quadrature A and B phase outputs, as well as several digital modes.

Device Characteristics:

Parameter Min Typ Max Unit
Supply Voltage 4.5 5 5.5 V
Current consumption 30 mA
Resolution (4x decoding) 360 cpr
Rated angular speed 76875 rpm
Accuracy -3 3 countsfs
Weight 0.12 (3.4) oz (g)

Schematic:

ENC2 Version:

Original version:

Signal descriptions:

Connector Pin Signal Description
JP2 -Bottom
(all even pins
are ground)
1 Index Incremental encoder index output.
3 B Incremental encoder quadrature output. Channel A leads channel B by 90 degrees in clockwise rotation (top view).
5 A Incremental encoder quadrature output.
7 GND Ground pin for the board.
9 5V Positive supply input for the board.
JP4 -Side
(all even pins
are ground)
1 DIO Data
3 DCLK Clock
5 CS Chip Select
7 GND Ground pin for the board.
9 5V Positive supply input for the board.

Connector Options / Assembly

The board supports multiple connector types:

PMinMO: A 2x5 header soldered on the edge with the PCB inserted between the pins which are soldered along the face of the pads. Used with a 10 conductor ribbon cable and IDC female 2x5 connector, this option has the advantage of a ground line between each signal for very low noise and long runs.

To install a PMinMO shrouded header, slightly bend the pins in to match the PCB thickness, then align pin one (marked with the triangle on the shroud) with the pin marked "INDEX" on the edge of the PCB, The notch in the shroud should be on the top side of the PCB, where the chip is mounted. Solder a single pin, then check alignment and solder on the rest. To avoid overheating the plastic and warping the pin positions, solder one pin on the top, then the opposite pin on the bottom, alternating back and forth. It also helps to have a female IDC connector cable plugged into the header while soldering.

Single Row: A Molex KK or 1x5 header soldered through hole can also be used. In this case, it is good to use a polarized header so that it can not be plugged in backwards and a shielded cable for long runs.

Bare Wires: Or you can just solder the wires directly into the holes. Some strain relief, such as threading the wires through an unused mounting hole, would be wise.

Installation

Magnet:

Attach the magnet disk to the part where you need to sense angular position, e. g. front or back of the motor shaft, lead screw, ball screw, etc. The magnet should be mounted to the end of the shaft, flat against that end; a flat side of the magnet against the flat end of the shaft. For testing and alignment, the magnet will stick to any steel shaft, but vibration and shock will dislodge it. A two part epoxy is recommended for a permanent mounting. After placing the magnet, slowly turn the shaft to ensure it is centered and will not vibrate loose at higher speeds. The magnet is 0.100" thick and 0.235" diameter.

Mounting:

The board must be mounted so that the chip is close (less than a half inch) to the magnet and centered over the magnet’s axis of rotation.

The board supports M3 and #4 screws. At least two screws (diagonally) should be used to hold it in position. Three screws are best. Click the picture to right for a detailed mounting diagram.

Turn the shaft where the magnet is attached. If the board is centered and close enough to the magnet, the onboard LED should dim and brighten as the magnet rotates in front of the IC. Note: If the encoder looses track of it's magnet, it will send invalid A and B phase signals as a way of letting the controller know it is out of reach.

Operation

The outputs from the ENC1 are standard quadrature encoder signals (Index, A and B phase).

In addition, there is a digital interface on the CS, DCLK, and DIO pins. The easiest way to use this is in "3 wire, read only" mode; basically SPI with MOSI always 0. (Note: Future versions of this encoder may remove the need for the CS signal)

  1. You need to add a pull down resistor of e.g. 10K ohms to DIO
  2. Initialize CS and DCLK as outputs set low, DIO as input.
  3. To start, bring CS low, DCLK high, then CS high and wait a uS.
  4. For each of 21 bits, DCLK low, wait a uS, DCLK high, wait a uS, read the DIO pin and shift it into an int.
  5. To stop, DCLK low, CS low.
     
    The chip will see command 0 on dio for the first 5 bits and will respond with the angle register in the bottom 9 bits. There is some other stuff in the middle which you can ignore.
     
    Once that is working, you can add code to drive DIO for the first 5 bits and then listen for the next 9 and read any register. e.g. command 4 reads the multi-turn register which has a 9 bit count of rotations in bits 7-15. This is really nice very high speed operation.

Most often, the ENC1 will be used as input to a PID controller, such as the MassMind BOB PID.

See also:

News



Questions:


file: /Techref/io/sensor/pos/enc/enc1.htm, 10KB, , updated: 2019/6/17 13:34, local time: 2024/11/30 19:47,
TOP NEW HELP FIND: 
3.145.10.80:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/TECHREF/io/sensor/pos/enc/enc1.htm"> MassMind Magnetic High Speed Non-Contact Encoder</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .