Announcement

Collapse
No announcement yet.

High speed input module for p3000

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • High speed input module for p3000

    So I am using three high speed input modules to read 6 frequency signals. I use an averaging function to filter out any noise in the signals. However channels 1 and 2 on each of the cards read differently. Channel one reads the correct frequency when testing with a function generator while channel two reads a larger value.

    I found that channel two is seeing jumps to around double the actual frequency and can not figure out where this is coming from.

    The frequency i am reading is between 0 and 5000 Hz, i am testing with a sine wave. when testing with a square wave there are no issues.

    If anyone can offer some insight as to while this might be occurring that would be greatly appreciated.

  • #2
    I think these are your two clues, "double the actual frequency", "when testing with a square wave there are no issues"

    With the sine wave the signal is changing slowly, so it spends more time near the switching turn on-off voltage. So twice per cycle you could pickup noise. With the square wave the signal is good because the inputs turn on-off quickly and don't bounce at the transitions.

    Comment


    • #3
      That makes sense, but the issue is never seen on channel one is why this is odd. For testing i send the same signal to both channel one and two of the card, channel one sees the correct frequency while channel two is off because of the doubling.

      Comment


      • #4
        To anyone that reads this post. I have found out a few things.

        First i am aware the cards are not meant to read sine waves. I am only doing this to prepare for the modified sine waves the sensors will output, in case they are closer to a true sine then a square.

        The cards appear to work fine for channel one if you filter out values above around 100000 hertz, this is just due to the card not being designed for this. Channel two on the cards have an interesting behavior. the signal is duplicated at different non integer multiples of the frequency. the multiple of the frequency that you will see is dependent on input voltage and not frequency. as the voltage approaches 1 volt the multiples approach the true frequency until the voltage is too low to read the signal.

        This behavior would not be very interesting if it was the same on channel one, but is not. We have tried this with 6 cards and get the same behavior every time.

        Comment


        • #5
          Update. Found the source of the "noise". The Cmore touch screen display we are using is interfering with the HSI cards or the timing of the unit. I noticed that all my signals were going to 0 at a periodic interval so I varied the voltage and frequency of my signals. This had no change on the period of the 0 input. Then I thought that maybe the serial cable was interfering so i unplugged it. the moment the cable was unplugged all the signals became clean.

          Whether it was some form of interference from the cable or a disruption in the CPU timing I do not know. I am always open to insight from anyone else.

          Comment


          • #6
            does your cmore have ethernet?
            If so, try using it. See if the noise is the same, reduced or eliminated.

            Comment


            • #7
              It does not. So I am forced to use the serial cable.

              Comment


              • #8
                Is the serial cable from AD or is it fabricated?
                Shielded? Grounded?

                Comment


                • #9
                  Is the C-more itself grounded?
                  If you have an urgent issue, please contact AutomationDirect's Technical Support team.

                  AutomationDirect.com Technical Support: 1(800) 633-0405 or (770) 844-4200 Email Tech Support

                  Comment


                  • #10
                    Its a shielded cable from AD and I have grounded the C-More to the cabinet(which is connected to the AC ground)

                    Comment

                    Working...
                    X