+ Reply to Thread
Results 1 to 8 of 8

Thread: EMF / RFI radiation issue?

  1. #1

    Default EMF / RFI radiation issue?

    I have recently replaced a 16F628A with a 16F887 in a circuit in order to gain some extra ports. The new circuit has tested correctly on the bench, but when I move it to the application, it stops responding, despite the old circuit with the 16F628A working fine in the environment. I have tried connecting the new circuit up to a pc and sliding it across the floor towards the old circuit and I can see it lock up at about 2 meters distance.

    It is one heck of a long program which is intended to measure items moving along a conveyor belt and fold them in the centre, while also sending information back to a PC via the parrallel port (I know the normal method is the serial port, but this was working on the bench and we have several other interfaces connected to various parrallel ports and want to keep some degree of continuity)

    To get to the point, the application has several 3phase AC motors and 2 frequency inverters, which I know can upset some sensitive equipment if mounted very close, although I have taken care to keep the circuit as far from the inverters as possible. The old circuit containing the 16F628A was mounted directly below one of the frequency inverters, yet even at a 2 meter range, the 16F887 gives trouble.

    Are there any known issues with the 887 that do not effect the 628A with EMF or RFI and are there any ways to combat it?

    Hi, its great to see you visiting our forum. Why not try Proton Compiler for FREE?

    Download the FREE version of Proton Compiler, Its called Amicus18 and its available from HERE

    Already using proton Compiler??? Get rid of these pesky messages... get LICENSED USER STATUS




  2. If you're a Licensed user of PROTON DEVELOPMENT SUITE, apply for Licensed User Status to remove these pesky messages
     and get access to additional forum areas, Beta test downloads and more!

  3. #2
    Super Moderator John Drew's Avatar
    Join Date
    Feb 2002
    Location
    Millicent, South Australia
    Posts
    911


    Default Re: EMF / RFI radiation issue?

    I remember in the past it was considered unwise to have a parallel port lead that was greater than two metres long although they worked at more than that.
    Have you tried a ferrite clamp around the wire near the PC? A downside is that it might have a bad affect on your signals too.
    John

  4. #3
    Super Moderator wastrix's Avatar
    Join Date
    May 2008
    Location
    Sydney, Australia
    Posts
    2,555


    Default Re: EMF / RFI radiation issue?

    There is no particular reason why a 16F887 would be any more susceptible to EMI than the 628A.

    As John some ferrites might help high frequency noise, but "parallel" (that doesn't mean much - is it shielded, what kind of data are you sending?) is really not a good idea for this kind of work. A differential signalling standard like RS485 is much more suitable as it is very noise resistant, RS485 transceivers are commonly and cheaply available which can be transparent to asynchronous serial data.
    "If you have an important point to make, don't try to be subtle or clever. Use a pile driver."
    - Winston Churchill
    If you want to contact me, please email me, don't PM me.

  5. #4
    Licensed User pic-ignorant's Avatar
    Join Date
    Oct 2007
    Location
    Sunny Kent
    Posts
    2,125


    Default Re: EMF / RFI radiation issue?

    I use 16F887's in 2 of my products, and they have both passed EMC testing at industrial level. Is your '887 on a breadboard, veroboard or pcb?
    Look at your board.
    Any cables leaving the board are antennas for picking up noise. If filtering is not possible because of attenuating data signals, then use screened cables.
    Make sure all the IC's are decoupled with 0.1uF caps as close to the vcc pin as possible.
    Use a groundplane on the pcb
    Use Watchdog timer
    Where pullups are needed on port pins that leave the pcb, use a resistor, (and filter cap, not the internal weak pullups.
    Compare your config settings between the 2 pics. Maybe you have enabled/disabled MCLR differently on one pic.
    Could be one of many things.


    John

  6. #5


    Default Re: EMF / RFI radiation issue?

    Been through the circuit again and discovered that I had connected the MCLR pin to a pull down resistor and not pull up . Still getting the odd hang up, but not like it was. I think I need to check some of my solder joints as it seems to hang up and restart if I move the board.

  7. #6
    Licensed User pic-ignorant's Avatar
    Join Date
    Oct 2007
    Location
    Sunny Kent
    Posts
    2,125


    Default Re: EMF / RFI radiation issue?

    What value pullup are you using?
    Also, see page 213 of the datasheet for the recommended MCLR circuit.

  8. #7


    Default Re: EMF / RFI radiation issue?

    I am using a 10K pullup, but I don't have the optional capacitor fitted. Once it is all setup and debugged (still not getting the fold position consistent) I will disaple the MCLR setting and use a separate power source. I am currently powering it through the programmer (PicKit2 clone)

    I can't understand how it was working on the bench with the MCLR pin pulled low, but thats not really a concern. I'll try fitting a capacitor to the board if I can find the room, between all the input and output transistors.

  9. #8
    Licensed User pic-ignorant's Avatar
    Join Date
    Oct 2007
    Location
    Sunny Kent
    Posts
    2,125


    Default Re: EMF / RFI radiation issue?

    you could use a smaller value pullup, maybe a 4K7.
    It would be worth trying a local power supply, such as batteries, to eliminate any loop problems.

+ Reply to Thread

Similar Threads

  1. adc issue
    By rverm in forum Labcenter Proteus VSM
    Replies: 6
    Last Post: 16th October 2010, 06:23
  2. Pds usb key issue (win 7)
    By Derick.Stevens in forum USB License key
    Replies: 1
    Last Post: 17th February 2010, 11:35
  3. Strange USB key issue
    By kimvellore in forum USB License key
    Replies: 19
    Last Post: 14th March 2007, 23:02

Members who have read this thread since 21st May 2012, 20:38 : 0

Actions :  (Set Date)  (Clear Date)

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts