Q: Re: power problems with logic circuits. I designed a CMOS (not MCU) circuit for a starlight camera control function, and while it worked perfectly on the bench, it didn't work when hooked up the the camera system. It took a memory storage scope to discover that the pan/tilt function, which was 120 VAC switched by electromechanical relays, was generating extreme voltage spikes that showed up in the logic as spurious signals. Fixing the problem required capacitor filters across every 120 V relay contact.
So if it works in the lab, but not the actual environment, start looking beyond the MCU.
A: Yup. But in the lab you might have found the problem if you simulated the tilt/pan loads and ran 110V to them. Switching loads with relays almost always causes problems, either from RFI caused by the contact closure or by back EMF caused when the relay coil field "collapses." To reduce contact switching, look for a solid-state relay with zero-crossing switching. That arrangement will limit inrush current as the 110V AC line voltage is at zero when the SSR switches.
For industrial control applications, or even a simple assembly line, that machine can go almost 24/7 without a break. But what happens when the task is a little more complex? That’s where the “smart” machine would come in. The smart machine is one that has some simple (or complex in some cases) processing capability to be able to adapt to changing conditions. Such machines are suited for a host of applications, including automotive, aerospace, defense, medical, computers and electronics, telecommunications, consumer goods, and so on. This discussion will examine what’s possible with smart machines, and what tradeoffs need to be made to implement such a solution.