Author Topic: FREQUENCY MEASURE  (Read 9229 times)

Offline pinias

  • PLUS+1 Guru
  • *****
  • Posts: 215
  • Karma: +7/-0
FREQUENCY MEASURE
« on: November 09, 2010, 03:56:25 PM »
Hello All,

Does any one have used the frequency input pin of the MC050-10 controller? had it worked?  I have tryied to connect a magnetic pick up sensor. the sensor is sending a sine wave form 30 mV peak to peak however the controller does not pick up the signal.

according witht he technical specification pin/out of the controller it should work. I may be doing something wrong in the pin configuration.


Thanks ::)

Offline Stefan

  • Administrator
  • PLUS+1 Expert
  • *
  • Posts: 72
  • Karma: +0/-0
Re: FREQUENCY MEASURE
« Reply #1 on: November 09, 2010, 04:39:57 PM »
Hello,

Your sensor has to send a voltage that varies between 0 and 30 mV otherwise it's not possible for the input to register it.

With PinConfig1 set to 1 the threshold should match, according to the API specification for the controller. You find the API specification in the Hardware file for the controller.

This is the thresholds for PinConfig1 = 1:

Rising Min/Max 0,191V/0.279V
Falling Min/Max 0.067V/0.187V

Stefan

Offline pinias

  • PLUS+1 Guru
  • *****
  • Posts: 215
  • Karma: +7/-0
Re: FREQUENCY MEASURE
« Reply #2 on: November 11, 2010, 11:34:03 PM »
Does it matter if it is a sine wave form?

Regards

Offline Stefan

  • Administrator
  • PLUS+1 Expert
  • *
  • Posts: 72
  • Karma: +0/-0
Re: FREQUENCY MEASURE
« Reply #3 on: January 31, 2011, 10:37:22 AM »
Hello,

Sorry for the late answer.

No, it doesn't matter.

Best regards
Stefan

Offline pinias

  • PLUS+1 Guru
  • *****
  • Posts: 215
  • Karma: +7/-0
Re: FREQUENCY MEASURE
« Reply #4 on: February 03, 2015, 10:19:31 PM »
Hello Stefan,


look, I need to get clutch RPMS, so I installed a KKPG16708 PICK UP SENSOR.  I am using a MC050-10 controller and I am using PIN 18 for inpit of the pick up sensor.

the picture attached shows the pin config and the way the freq to rpm block is connected. I understand in thsi way it should work or I should be able to read RPM, however I read nothing.

what could I be doing wrong?

My system is 24VDC.

this is the fisrt time I am using a pick up with the PLUS 1 so no too much idea what could be wrong int he firmware.

I have tried other advises posted in this fórum but so far no luck

I appreciate any feedback on this

Thanks

Offline Jakob

  • PLUS+1 Expert
  • ****
  • Posts: 98
  • Karma: +2/-0
Re: FREQUENCY MEASURE
« Reply #5 on: February 04, 2015, 10:31:54 AM »
Hi Pinias

Try setting PinConfig1 = 0.

It worked for me.

Offline pinias

  • PLUS+1 Guru
  • *****
  • Posts: 215
  • Karma: +7/-0
Re: FREQUENCY MEASURE
« Reply #6 on: February 04, 2015, 08:51:09 PM »
Jakob,

I have tried with piconfig1=0, but it does not work

my system is running at 24V. I have also tried the KKPG14708 for 5VDC sensor power supply but same thing it does not read any thing.

I split the output of the freq to rpm block into 4 U8 variables so that I can put the information in a CAN message (cause the output is U32)

I do check with the Canking in order to be sure the message is there and yes it is there but it always has 0 in the 4 arrays.

what pick up sensor have you used in your application?

I appreciate any advise

Thanks

Offline Jakob

  • PLUS+1 Expert
  • ****
  • Posts: 98
  • Karma: +2/-0
Re: FREQUENCY MEASURE
« Reply #7 on: February 05, 2015, 09:01:28 AM »
Ok.
I used the KPPG156, which is uses a 4.5 to 8.5 V supply, and connected it to one of the quad-count inputs.

Have you had an oscilloscope connected to the sensor output?
Because the controller should at least register something.


Offline oiltronic

  • PLUS+1 Guru
  • *****
  • Posts: 170
  • Karma: +15/-0
Re: FREQUENCY MEASURE
« Reply #8 on: February 19, 2015, 12:47:21 AM »
pinias: if you can, move your system very slowly to trigger the sensor then:
  • Confirm the disconnected sensor output going with your voltmeter and/or oscilloscope.
  • Confirm the connected sensor output on the MC050 input pin, again with the same voltmeter and/or oscilloscope.
  • Use the Service Tool to monitor the pin and see if the input goes high & low as the tooth slowly passes in front of the sensor.
  • Speed thing up a little bit and check the incrementing Count value.
What frequency range are you expecting?

bgtwuk

  • Guest
Re: FREQUENCY MEASURE
« Reply #9 on: March 06, 2015, 01:22:34 AM »
Hi Gents

I have used many sensors to monitor rpm or ground speed, with no issues.

However, I had one sensor sent me by a OEM with no specification available.

I put a very small electrolytic capacitor in series with it, omg that did it.  Been a year still working and allowing smooth shifting.

Bgtwuk

Offline pinias

  • PLUS+1 Guru
  • *****
  • Posts: 215
  • Karma: +7/-0
Re: FREQUENCY MEASURE
« Reply #10 on: March 26, 2015, 03:46:50 PM »
thaks all for the advices.

I found out that the pump did not come with the speed ring (lol  :o).

so we decided not to use it...

thanks again