PICs and harsh environments


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1

    Default PICs and harsh environments

    Hi everyone,

    I’m planning on building few gismos for automotive application based on PIC microprocessors and I will need to interface with some custom sensors and other modules. I will be dealing with ADC input, and digital inputs and outputs. Because this will be a long term step by step project I would have used and unused PIC I/Os for expansion.

    The question I have is does anyone recommend a particular configuration of the I/Os so they are safe from the extremely harsh environment on both aspects: electrical and mechanical / chemical (vibrations, water and (or) other fluids).

    I have some experience and I got good results potting the PCBs with different epoxy type products which will take care of the mechanical aspect. I will also make sure I will filter my 12 V in as well as possible along with the 5 V line and the mandatory decoupling capacitors next to VDD – VSS pins.

    What I’m looking for is some kind of protection so my I/Os don’t get randomly zapped or fooled by EMI. I’m not dealing with extremely fast signals so I guess just a T like configuration, limiting resistor series + capacitor to ground + limiting resistor series might do. Should I go to the extreme of using voltage suppressors?
    Also, how do I deal with an ADC input without messing up the input voltages (I expect 0 – 5 V full scale) and without loosing resolution?

    Any input will be appreciated.

    Nick

  2. #2
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    I recently made a circuit thing, it worked great in my "lab" environment but once I put it in the car, it made this high freq ringing, extremely annoying and took it out. In the mean time I am trying to figure out what I 'left' out of the build.

    I would say yes to the capacitors... this I noticed from looking at other schematics and re-reading what I should have already known about it.

    I am curious to see what advice is given from the seasoned vets, /subscribed

  3. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    The question I have is does anyone recommend a particular configuration of the I/Os so they are safe from the extremely harsh environment on both aspects: electrical and mechanical / chemical (vibrations, water and (or) other fluids).
    Potting the PCB with epoxy products will solve the mechanical and chemical problems, as far as the electrical isolation is concerned, use optocouplers TLP504 for digital I/O and HCNR200 for all your analog staff.

    Al.
    All progress began with an idea

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Hi Al,

    Thank you for your input.
    I've been using optocouplers with good results before but had never used HCNR200 for analog I/Os. I'll give it a try.

    Regards,

    Nick

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,129


    Did you find this post helpful? Yes | No

    Default

    And a regulator for your logic/analog/digital circuits. Do not connect anything directly on +12V. Instead use lower Vcc for analog or digital about 8-9 Volts and 5 or 3.3 for the controller. So a regulator with large enough capacitors will almost eliminate your problems along with the other suggestions by Al and erice1984.

    I once (and more inexperienced in electronics) had a major problem with C-MOS used as an alarm in my dad's car. Every time the alarm was triggered, the horn was generating so much electrcal noise that reset all circuits. A 7808 saved the alarm from the trash.

    Ioannis

  6. #6
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    I figured out the decoupling capacitors after I had made this circuit and it made this high pitch ringing noise... very annoying. At least I think that was why it was making noise.
    Attached Images Attached Images  

  7. #7
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    use this diagram, I forgot to add a few things..
    Attached Images Attached Images  

  8. #8
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    R3 and R4 will give you some problem, this makes a great voltage divider but will give you false logic level.

    Is this a Typo or those 220nf are 220uF?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  9. #9
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    something is weird in the way you hook Q3 and Q4
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  10. #10
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,129


    Did you find this post helpful? Yes | No

    Default

    Yeah, GND must be Vdd...

    Ioannis

Members who have read this thread : 1

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