Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC get malfunction on Industrial environment

Status
Not open for further replies.

PA3040

Advanced Member level 3
Joined
Aug 1, 2011
Messages
883
Helped
43
Reputation
88
Reaction score
43
Trophy points
1,308
Activity points
6,936
Dear All,

I heard that the PIC's get malfunction in ( Get stuck , Reset ,damage ) Industrial environment ( I think magnetic field or Noyce environment) than AVR, for industrial application developments. Totally I do not agree on this statement but can not prove

could anyone please help to disqualify this statement or reason for qualify?

Thanks in advance
 

Any microcontroller will have a problem in the industrial environment if the is noise or spikes(e.g. voltage/current/magetic) gets into the supply, ground lines or I/O lines. It usually can cause a reset, change of register , or damage if the I/O can't handle the too high current or voltage. The industrial environment has usually 24V supply and signal swing, as well as high currents. Thus precaution needs to be taken when interfacing to the harsh industrial environment. Very useful application hints you find here: https://www.ichaus.biz/wp1_mcu_interface or https://www.ichaus.biz/appnote_industrial .


Enjoy your design work!
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Dear HTA,
Thanks for the reply

As per your reply, there are no any issues with any micro controller,if we can manage the environment.
May it be possible?

Thanks in advance
 

I've used both PIC and AVR in industrial environments and have not noticed any difference in the immunity to environment factors.

They both require a sound and well engineered design to operate as expected in such conditions.

One of the most common faux pas is the floating CMOS input which can produce all manners unpredictable behavior.


BigDog
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
make sure the power lines, wired network connections, etc have suitable filters to remove electrical noise.
we had an application where the end user had removed the inline power supply filters to save space and we lost EEPROMs on a number of machines - not sure if that was the problem but could find nothing else!!
if you are thinking of using wireless networks it may not work in industrial situations - we tend to use good quality wired or fiber obtic
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Make sure that the voltage regulator is stable and that it can withstand large spikes at the input.
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Driving just a small relay gave me trouble with a pic. At times the program EEPROM got corrupted and the PIC had to be reprogrammed. Even when the relay was operating "dry" and on the unregulated supply. Placing extra filtering in the relay coil solved the problem.
I also saw that the MCLR pin is sensitive to noise and care should be given to the reset circuit.
I guess as HTA said, that any micro will have similar issues in harsh environment because high voltage/current spikes are easily generated and very difficult to detect, but will affect the micro if they get in not only by VDD or MCLR but also by other pins.
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
uC has to have its own CLEAN power supply. All outputs should be connected (assuming digital ones) via optocouplers, as well as the digital inputs. All your rellays must have separate supply from uC, ...

I never had any issues with noise, spikes, ...
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top