NPN output and filtering

Status
Not open for further replies.

sweethomela8

Member level 4
Joined
Apr 28, 2010
Messages
70
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,766
Hi everyone, quick question on NPN type outputs and how to filter them.

I'm using a detector device which specifies a NPN output of 250mA.

If I want to interface this to a FPGA as an input, does this mean I have to use a pull-up resistor to 3.3V (my IO voltage) which would be (ie. 4.7k....0.702mA)?

Also, if I want filtering on this input to the FPGA, can I use a decoupling cap to GND such as a 0.1uF?
 

sweethomela8 said:
If I want to interface this to a FPGA as an input, does this mean I have to use a pull-up resistor to 3.3V (my IO voltage) which would be (ie. 4.7k....0.702mA)?
OK ..
sweethomela8 said:
Also, if I want filtering on this input to the FPGA, can I use a decoupling cap to GND such as a 0.1uF?
If you want to eliminate short spikes then putting 0.1µF cap in parallel with NPN doesn't help very much ..
Leave the 0.1µF cap on the FPGA pin and add a series resistor (≈1kΩ) between NPN and the pin, and of course the pullup has to be there too ..

IanP
:|
Code:
           +Vcc
            | 
            / 
            \ 
            / 
            |       1K          
   NPN    --+----/\/\/\/--+---- FPGA pin
                          |
                         ---
                 100 nF  ---
                          |
                          |
                          |
          ----------------+---- GND
 

for that filter, would the corner frequency fo = 1/(2*pi*RC) = 1.6 kHz approx?

Also, would I expect to see much noise on that line if its open collector? (lets say the the NPN transitor is 50-100 ft away.)

I'm wondering if I will see any noise since, either the NPN will be low (near 0 V), or floating, and the pullup resistor will pull it high with some rise time based on the RC constant.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…