HALL Camshaft sensor - making it talk

Hardware inside and outside of the ECU
Post Reply
Flegmatoid
Posts: 5
Joined: Thu Sep 08, 2016 11:24 am

HALL Camshaft sensor - making it talk

Post by Flegmatoid »

Hello,

I have a hall-effect camshaft sensor from BMW (used in lots of models from 2010 onwards). Wiring unknown.
  • -3-pins.
    -Contains a magnet.
    -Manufactured by Continental - it says "active", meaning should have an IC inside.
specs. from continental are minimal:
  • -Air gap range: 0 mm to 1.9 mm (higher air gaps possible)
    -Temperature range: -40°C to 160 °C
    -Speed range: 0 to 4500 rpm
    -Supply voltage range: 4.5V to 16V
So far it outputs no signal at all (only 50Hz noise on scope):
  • - consumes 0.03A @ 5V (if pins 1,3 connected to vcc_gnd)
    - heats-up if pins 1,3 are reversed (gnd_vcc)
    - tried all vcc/gnd/output combinations - none would react to metal being placed to it
    - tried using 10k Ohm pullup/pulldown on all wiring combinations - none would react to metal being placed to it
I am certain it was working fine before removing the stock ECU.

Anyone has stumbled upon this sensor?
Anyone having a datasheet to share?
Anyone having any clue what IC might be inside? Infineon?
Anyone having any ideas what else should I try?
Attachments
HALL camshaft sensor continental bmw
HALL camshaft sensor continental bmw
hall_continental.png (473.46 KiB) Viewed 6006 times
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: HALL Camshaft sensor - making it talk

Post by kb1gtt »

Can you find a OEM schematic which includes this sensor? That might help identify what pin is GND and what pin is +V. Also can you find a different year or different model schematic? It is common they use the same wire colors or same pin out for multiple variants of a sensor.

Many Hall sensors will typically self tune an internal gain, such that low RPM signals are amplified, and low pass filter to remove high frequency noise. Then at higher RPM, the gain is decreased and the filtering is less effective, as the energy coming from the sensors is much higher than the noise. I would expect most automotive Hall sensors are "active" sensors. Using a passive sensor simply won't work well for the noisy environment with large changes in RPM's.

It sounds like your on the right track, try to identify + and - voltages, then look for a signal on the 3rd pin. Some times the sensor is push / pull so sometimes you don't need an external resistor, and you should see if it generates a signal with out a bias resistor. However it typically needs a pull up resistor which limits the current to around 5mA. Some sensors are 5V others are 12V. So you should start with 5V and see if that works. Most 12V sensors will work down around 5V, so providing 5V is usually a safe bet. If it was getting warm, you were not properly limiting the current. It is likely you dead shorted the signal channel and broke the internals. If you don't get something with a pull up resistor, then try a pull down resistor. Again the bias resistor should limit to around 5mA.

Also remember most scope's GND strap is a GND strap, not a common strap. This is typically connected to your GND on the plug of the equipment. I mention it because this extra connection can cause odd ground loop issues, or you may think you are connecting this tinny scope probe, when you are really connecting it to a huge capacitor which is charged to what ever your local ground voltage is.

I do not have explicit information about this sensor. If I had it, I would be hacking and trashing just like you.
Welcome to the friendlier side of internet crazy :)
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: HALL Camshaft sensor - making it talk

Post by puff »

I'd say it is a digital hall sensor (with a latch and hysteresiss), thus an active sensor. I'd also say you could have ruined it by applying reverse polarity.
Flegmatoid
Posts: 5
Joined: Thu Sep 08, 2016 11:24 am

Re: HALL Camshaft sensor - making it talk

Post by Flegmatoid »

Thanks for the tips.

Its alive!

Works at 5mA.

Similar output amplitude from 5V and 12V.

Since I was feeding it from 5V through 120 Ohm resistor, the resulting 4.4V wasn't enough to bring it up.

Oscilloscope attached (manually knocking it onto a big metal bolt).

Not sure about the output however, its varying from 0.6V to 1.2V, doesn't react to pull-ups/downs (tried as low as 500Ohm).
Attachments
hall_continental.png
hall_continental.png (323.46 KiB) Viewed 5984 times
5v_5ma_DC_coupling.bmp
5v_5ma_DC_coupling.bmp (219.43 KiB) Viewed 5984 times
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: HALL Camshaft sensor - making it talk

Post by kb1gtt »

Hmmm, did you have your 1X vs 10X set on the scope? It appears to be a 500mV to 1000mV signal. That seems odd to me. Also is your 0V really 0V? I see the yellow tag on the left of the screen indicating the 0V. However you appear to be offset by about 500mV. If your 1X and 10X are mangled, that might be 5V and 10V, which would make more sense for this sensor. However the 5V offset doesn't make much sense.
Welcome to the friendlier side of internet crazy :)
Flegmatoid
Posts: 5
Joined: Thu Sep 08, 2016 11:24 am

Re: HALL Camshaft sensor - making it talk

Post by Flegmatoid »

yes, I have had the same doubt. Scope on 1x. Coupling=DC. The same confirmed with a multimeter.
~0.3V instead of zero. Peaks at 1.2V.
No difference if Vcc is 5 , 8 or 12V.
And current is stable at 5mA at all voltages.
I think I will buy another sensor to confirm or disprove this.

By the way, what are the STM thresholds for High/Low?
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: HALL Camshaft sensor - making it talk

Post by kb1gtt »

From memory, I think around 0.6 to 0.7 and below was low, and like 1.8 and above was a 1. No mans land in between. The datasheet will indicate this better than my memory.

Do you have the MAX9926 chip? We might be able to make it work with that one, which detects much lower voltages. Also we might be able to get this captured via a input op-amp circuit. Remember we have a pile of op-amps as input buffers.
Welcome to the friendlier side of internet crazy :)
Post Reply