Housing for AS5048B encoder

Hi.

In our setup, the default output encoder mount is used for mounting the Dephy AK7452 encoder board. It is part p_b0303_encoderHousing in the assembly (shown in the photo for the knee joint).

Because we’re planning to move to the new interface board, we’re interested in using the new OSL default, which is AS5048B.

Is p_b0303_encoderHousing compatible with AS5048B as well?

If there is an updated part, I’d appreciate sharing the CAD so we can 3D print it.

Thanks!

1 Like

The aforementioned photo of the encoder housing with Dephy AK7452 encoder board.

1 Like

Also, what PCB do you use for the encoder? It is the evaluation board, or a custom design?

If it’s a custom board, are the files available to download, or can we purchase one?

Thanks!

1 Like

More context: in the Electronics Assembly guide, the link for “AS5048B Encoder Housing” directs to the same page.

Additionally, it references an “encoder board”, but the specifics are not available.

1 Like

Hi Mohsen!

The old encoder housing (p_b0303_encoderHousing) is not compatible with the AS5048B encoder. The AS5048B is instead housed using this part. The “encoder board” referenced in the Electronics Assembly guide is the AS5048B adapter board you previously linked. Hope this helps! :slightly_smiling_face:

3 Likes

Hi.

I haven’t been able to get reliable joint measurement using the magnet setup that was included in our OSL package (I assume, to be used with AK7452). It consistently misses joint rotation; for example, if the ankle rotates by its full RoM (~60 deg), most of it doesn’t register.

I was wondering about

1- The magnet/magnet holder you use for AS5048B. It can’t fit in the previous holder.

2- After installing the encoder holder, do you verify the distance between the encoder chip and its alignment, or does it “just work”?

3- During my troubleshooting, if I push the holder down a little bit (displacement is possible because it’s cantilevered), the reading can change by multiple degrees despite the joint being stationary. Is this something that you have observed?

Because it doesn’t seem it would be reliable with possible vibration/impact.

Thanks!

Hello @malizade

  1. For the magnet, the datasheet say:

The AS5048 works with a variety of different magnets in size and shape. A typical magnet could be 6-8 mm in diameter and ≥2.5mm in height The magnetic field strength perpendicular to the die surface has to be in the range of ±30mT…±70mT (peak).

However if you look at the bom (OSL_v2-BoM-5-22-2022.xlsx - Google Sheets), the listed magnet is not diametrically magnetized. Maybe @elissacimino can comment on that.

The same for the magnet holder maybe @elissacimino has more clues

  1. With diametrically magnetized magnet, there is some tolerance between the sensor and the magnet if you stay in the linear region.

  2. The sensor should be tolerant to those small changes (if we stay in the linear part of the magnetic field

To help you debug, you could also look at the registers of the chip or use a magnetic field viewing film (Magnetic field viewing film - Wikipedia) to help you assess if the issue is your magnet.

1 Like

Thanks. That’s a good point.

1- The magnet in the BoM appears to be axially (not diametrically) magnetized.

2- On the supplier website (K&J), there is no magnet with a diametric magnetization available with similar dimension(s).

3- Additionally, the AK7452 encoder (and probably any other encoder usable here) also expects a diametrically magnetized magnet.

Therefore, I’m not sure why this magnet was recommended in the first place.

The question that remains is: what magnet/magnet holder is recommended for AS5048B?

The DigiKey adapter board is the usual starting point, but note that it’s an evaluation board, so it isn’t designed for compact housing or vibration. If the Dephy board in the photo is custom, that would explain why the Electronics Assembly guide’s link loops back without specifics — the schematic and layout probably live in the hardware repo rather than a separate download page. Worth checking the opensourceleg GitHub organization for board files before buying an adapter, since the mounting hole pattern on the eval board may not match the housing CAD.