Pulse stretcher needed

Customer has 3 fans that pulse one time per revolution

The old fans pulsed 180 degrees of rotation (50%)
New fans pulses for 10 degree of rotation

Pulse is now too narrow for the PLC to see above 1000 rpm

Small Koyo PLC
Input 0 reads OK
but 1 & 2 miss when high speed
I have tried all of the modes

Any cleaver ideas to stretch the pulse?
Or why input 1 & 2 don't work the same as input 0
 
You have a few options, not too familiar with Koyo but some models have high speed inputs but not sure (many PLC's do i.e. the first few inputs are also connected to special high speed counters as well as used as normal inputs.
Check the manuals most PLC's that can use high speed counters show how to code.
If the pulses are too small to reliably catch but the interval between the pulses is twice the scan time of the PLC then you could use a pulse stretcher (have seen them on flow meters).
If the interval between the pulses are not at least twice the scan time then go with the already stated pulse divider, i.e. perhaps divide by 10, however, the pulse divider must also stretch the pulse to give reliable readings.
 
I am guessing on the old fan there is a half-moon shaped disk to activate a prox.
On the new fans there are many more activating elements.
Change the new fans to use the same kind of activating disk as on the old fan.
 
Old school, but simple and inexpensive. Roll your own with a 555 timer circuit.

I have used these to pick off a Z pulse from various incremental encoders, if you google 555 pulse extender or one shot you will see a number of different circuits.

A piece of breadboard, some 1/4watt resistors, a couple of caps, and a trim pot. As I recall the most expensive item was the DIN rail carrier to mount it in.

As you need two of these circuits maybe look at the 556 timer, basically two timers in one IC.
 
Maybe a Click PLC from Automation Direct. they are cheap and not bad for a job like this. pulse in longer pulse out.

Customer was using a DL05

I can get input 0 reading to 5000 rpm
Channel 1 & 2 start losing counts @ about 1200

I have tried many settings

There is something different about the inputs
The specs are the same on all 3 inputs

The possible settings are not the same on them either
 
Old school, but simple and inexpensive. Roll your own with a 555 timer circuit.

Good idea!

What I finally did was take the 3 fans to the PLC transistor outputs
Out 0 1 & 2

Then multiplexed them back into X0

Read each fan for 5 seconds then then update SCADA

So it takes 15 seconds to get the rpm reading updated
 
According to the literature, the inputs can be configured as high speed 5khz counters

Frome the manual: Three inputs are filtered inputs, can also be
configured as a single 5kHz high-speed
counter, interrupt input, or pulse catch
input
I would guess that there are some settings to alter the filters or special instructions for counting.
On Mitsubishi FX PLC's there are special hardware counters that are tied to the inputs for example C235 > are the special counters, on this platform all that is needed is to enable the high speed counter i.e. for input X0 enable C235 with a always true contact (M8000) on FX, the actual input X0 is not used in the program seems a bit weird but this is how it works.
Maybe there is something you need to do, not researched the DL & how it uses the inputs 0-2 as HSC so have you set them correctly.
 
Have you set the inputs X0-X2 to the correct mode, this is important as otherwise the input filters will be set to normal I/O operation.
See manual here:
https://cdn.automationdirect.com/static/manuals/d0user/appxe.pdf

X0 V7634 Counter Clock 0001
X1 V7635 Filtered Input xx06, xx = filter time
0 - 99 ms (BCD)
X2 V7636
Counter Reset (no interrupt) 0007* (default) 0207*
Counter Reset (with interrupt) 0107*
0307*
Filtered Input xx06, xx= filter time
The V memories need to be configured as above
If you notice X0 seems to be set for high speed input but the others apply a filter time of 0-99ms, probably find that X1 & X2 are pre-set so need to be reduced this is why X0 works but X1 &2 do not.
 
Old school, but simple and inexpensive. Roll your own with a 555 timer circuit.

I wouldn't want to be the poor controls tech troubleshooting this at 3 in the morning. Sometimes simple and inexpensive is nice but being able to drop in replacement hardware is nicer.

Unless, of course, your shop stocks pots and 555 timers.
 
I wonder, if you wanted to get very kludgy with your setup, could you use solid state relays to convert the pulse signal to a Manchester encoded signal? Where a logical 1 is represented by a change of state instead of a pre-defined voltage. That way your pulse width is the inverse of your frequency.
 
OK :) .. lets do this...
Add a capacitor and series resistor of sufficient capacity to charge over the time constant you want.
Wire a relay across the capacitor to discharge it.
Measure the voltage across the capacitor with an analog channel
Use a DO to trip the relay at a voltage setpoint to short the capacitor and reset the 'analog accumulator'.

Easy Peasy
 
OK :) .. lets do this...
Add a capacitor and series resistor of sufficient capacity to charge over the time constant you want.
Wire a relay across the capacitor to discharge it.
Measure the voltage across the capacitor with an analog channel
Use a DO to trip the relay at a voltage setpoint to short the capacitor and reset the 'analog accumulator'.

Easy Peasy
+1

My Dad lived in Buxton on Hatteras Island and windsurfed into his eighties. He used to build anemometers so he could know which sail to rig, from peanut butter jar lids, fishing bobbers, and fiberglass rods. We tried a circuit similar to what @TheWaterboy describes as a transducer for the rotational speed, as we had an A/D converter hooked up to a timex 2068 for the ancient analog (generator?) anemometer he had been using. We didn't need the DO; the capacitor would charge and discharge with the each hole and blocked section; somehow it was asymmetric so the voltage would wobble around a level dependent on speed. The voltage response was non-linear, but it worked (until I shorted something and fried some of the components).
 

Similar Topics

I've got an older PLC that can't always pick up an input pulse from a sensor. The sensor is a pretty standard 24vdc PNP prox. I know I've seen...
8
Replies
4,564
Views
Its been a long time for me programming anything but I opened my mouth and said sure you can do that? Now I'm struggling to get it to work. I'm...
14
Replies
520
Views
Hello, I have a problem in connecting KV-7500 to Unipulse FC400 using Ethernet/IP cyclic communication. I already registered the EDS file and also...
4
Replies
556
Views
I am using the XGB series PLC with the built-in High Speed Counter function configured in 2-Phase x4 mode with a 1000 PPR quadrature encoder. I...
4
Replies
371
Views
I was going through the configuration of 1734 - IB8S and OB8S modules of a GuardLogix Safety PLC. I understand the use of Safety Pulse Test in an...
22
Replies
1,883
Views
Top