Why Your Power Supply Shuts Down When You Turn on a Device

A common situation in electronic systems is a device that works perfectly after startup but fails the moment power is applied. The power supply may shut down, the microcontroller may restart repeatedly, or the voltage may suddenly drop before returning to normal.

Many engineers initially suspect a faulty circuit or insufficient power supply capacity. However, the actual cause is often inrush current.

Inrush current is the temporary surge of current drawn by an electronic system immediately after power is connected. This short-duration event can be several times higher than the normal operating current and can stress power supplies, connectors, switches, and protection circuits.

Understanding inrush current is especially important in systems with large capacitors, motors, switching regulators, and battery-powered devices.

image.png


Why Inrush Current Happens

One of the most common causes of inrush current is charging large capacitors at the input of a circuit.

When power is first applied, an empty capacitor behaves almost like a short circuit for a moment. The power supply attempts to charge the capacitor as quickly as possible, causing a sudden current surge.

Other sources of inrush current include transformers, motors, LED drivers, and switching power converters with large input capacitance.

Although the event may only last milliseconds, it can trigger over-current protection or cause voltage instability in the entire system.

image.png

Common Protection Methods

Several techniques can reduce the impact of inrush current.

A simple method is adding an NTC thermistor, which has higher resistance when cold and lower resistance after heating. This limits the initial current surge while allowing normal operation afterward.

More advanced systems use soft-start circuits, load switches, or hot-swap controllers that gradually increase the applied voltage and control the startup sequence.

The correct solution depends on the application, required startup speed, current level, and reliability requirements.

image.png

Recommended Devices

Device Type Typical Application
MF72 Series NTC Inrush Limiter Power supply input protection
TPS22919 Load Switch Controlled power startup
TPS25947 Hot-Swap Controller Industrial power systems
LTC7000 Series Power Control IC High-current applications

Engineering Note

A power supply rated for the average operating current may still fail during startup if it cannot handle the temporary inrush current. Always check both steady-state and peak current requirements.

Inrush current is a temporary event, but its impact on system reliability can be significant. Understanding where startup current spikes come from and choosing the appropriate protection method can prevent unexpected resets, power supply failures, and damaged components.

Good power design is not only about supplying enough current during operation it is also about managing what happens the moment the system turns on.

#PowerAndEnergy# #InrushCurrent# #PowerSupply# #CircuitProtection# #PowerElectronics# #Electronics#

Power & Engery
Incremental vs Absolute Encoder: Choosing the Right Position Sensor

When a system needs to know the position or movement of a motor, simply detecting rotation is often not enough. Industrial machines, robotics, CNC systems, and automation equipment require accurate position feedback to control speed, direction, and movement.

Two common solutions are incremental encoders and absolute encoders. Although both measure rotation, they provide information in very different ways.

Choosing between them depends on whether the system only needs relative movement information or requires the exact position immediately after startup.

image.png

How Incremental Encoders Work

An incremental encoder generates pulses as the shaft rotates. The controller counts these pulses to determine movement distance and uses the phase difference between two channels (A and B) to determine rotation direction.

The main advantage is simplicity and cost. Because the output only represents changes in position, incremental encoders are widely used in motor speed control, conveyor systems, and motion applications where the reference position can be established during startup.

However, if power is removed, the controller loses the stored position unless the system performs a homing procedure.

How Absolute Encoders Work

An absolute encoder provides a unique digital value for each shaft position. Even after power loss, the system can immediately know the current position without needing to move back to a reference point.

This makes absolute encoders valuable in applications where position accuracy and startup reliability are critical, such as robotic arms, servo systems, and precision machinery.

The trade-off is increased cost and more complex communication requirements.

image.png

Quick Comparison

Feature Incremental Encoder Absolute Encoder
Output Pulse Signal Position Code
Startup Position Requires Reference Available Immediately
Cost Lower Higher
Complexity Simple More Advanced
Common Use Speed & Motion Control Precision Positioning

Recommended Devices

Device Type Typical Application
Omron E6B2-CWZ6C Incremental Encoder Motor speed and position
Autonics E40S Series Incremental Encoder Industrial automation
AS5048A Absolute Magnetic Encoder Precision rotary position
AMS AS5600 Absolute Magnetic Encoder Embedded position sensing

Engineering Tip

If your system can safely perform home after startup, an incremental encoder is often the more economical choice. If losing position after power failure is unacceptable, an absolute encoder is usually worth the additional cost.

Incremental and absolute encoders are not competitors; they solve different engineering problems. Incremental encoders provide a simple and cost-effective way to measure movement, while absolute encoders provide immediate position awareness and higher reliability. Selecting the correct type depends on the application's accuracy requirements, startup behavior, and system complexity.

#SensorsAndActuators# #Encoder# #MotionControl# #Automation# #EmbeddedSystems# #Electronics#

Sensors & Actuators
Design Maintenance Access into Your Hobby Machine

When building a hobby project like a CNC router or 3D printer, it's easy to focus on function and forget about future repairs. A few simple design choices now can save hours of frustration later. Start by avoiding permanent fasteners or adhesives on components that may need replacement, such as belts, bearings, or electronics. Use threaded inserts and machine screws instead of wood screws or glue for critical parts.

Think about access routes for tools. Leave enough space around fasteners to fit a wrench or Allen key. If a part is deep inside the frame, consider adding removable panels or hatches. For example, a small door on the side of a enclosure for the controller board allows you to swap it without disassembling the whole machine. Label wires and connectors clearly during assembly; this pays off when troubleshooting.

Another tip is to design for modularity. Mount subassemblies like the spindle or motor on separate plates that can be unbolted as a unit. This way you can remove the entire drive system without disturbing alignment. Also, plan for lubrication points. Add small access holes or zerk fittings for bearings that will need periodic greasing.

Finally, document your design with a simple sketch or photo. Note which fasteners need to be removed for each major component. This is especially helpful if you step away from the project for a while. With these habits, your hobby machine will remain easy to maintain and upgrade for years.

#DIYProjects# #Lubrication# #FinishingTechniques#

Mechanical Tips & Projects
PT2314 WiFi Audio Processor with ESP8266 Web Interface--from jlc--

Original article: PT2314 WiFi Audio Processor with ESP8266 Web Interface

8767908023660486656

PT2314 + ESP8266 audio processor board

I have been covering the PT series of audio DSP ICs PT2258, PT2315, and now PT2314. This one has 4 stereo input channels and a full tone control suite over I2C. Instead of front-panel knobs, I moved all controls to a web interface running on an onboard ESP8266. Volume, bass, treble, input selection, and gain are all adjustable from a phone browser. Settings are saved in EEPROM and survive power cycles.

PT2314 Overview

The PT2314 is a 4-channel audio processor from Princeton Technology (pin-compatible with TDA7314), controlled via I2C at address 0x44, supply 7.5–9V.

Key specs:

• 4 stereo input channels

• Input gain: 0 / +3.75 / +7.5 / +11.25 dB

• Volume: 0 to -78.75 dB (1.25 dB fine + 10 dB coarse steps)

• Bass / Treble: ±14 dB in 2 dB steps

• Speaker attenuation: 0 to -38.75 dB per channel

External components set the tone frequencies: 2.2nF ceramics for the treble shelving network and 5.6kΩ / 100nF pairs for the bass feedback loop.

Circuit and PCB

The board runs on 9V DC; an AMS1117-3.3 LDO steps it down to 3.3V for the ESP8266. AGND (pin 2) and DGND (pin 25) of the PT2314 share a single connection point and are separated in layout to prevent digital switching noise from coupling into the audio path. Ground fills on both layers, stitched with vias, reinforce this. I2C lines (SCL/SDA) are routed well away from all audio signals. PCB fabricated from JLCPCB.

8767907701680545792

Schematic — PT2314, ESP8266, LDO, and tone filter network

8767907742328086528

Two-layer PCB with ground fills on both sides

Firmware and Web UI

Firmware uses four libraries: Wire, EEPROM, ESP8266WebServer, and WiFiManager. On first boot the ESP creates a hotspot (PT2314_AudioAP / 12345678). Connect to it from your phone, pick your home WiFi in the captive portal, and from then on any browser on the network opens the control page.

The dark-theme UI has sliders for volume, bass, and treble plus input and gain selectors. Five built-in presets:

• Vocal: Bass 0, Treble +3

• Bass Boost: Bass +5, Treble -1

• Pop: Bass +1, Treble +2

• Rock: Bass +3, Treble +3

Slider moves hit the PT2314 over I2C in real time, so no page reload needed.

8767907814607986688

Dark-theme web UI on mobile browser

Testing

I tested with a Class-D amp and a Bluetooth module on Stereo Input 1. The Bluetooth output needed +7.5 dB input gain to level-match a direct AUX source. Audio was clean with no audible noise floor at normal listening levels. At high volume with bass boost maxed, the amp handled it without clipping.

Pop noise note: switching inputs or powering up produces a click. Make sure the downstream amp has a mute-on-startup feature, or add a relay delay on the speaker outputs. Battery supply gives the cleanest results; if using SMPS, add extra filtering on the 9V rail.

Electronic Tips & Projects
Space demands extremes: materials and designs pushed to limits

The space environment is unforgiving: vacuum, radiation, and extreme temperature swings from -270°C to 120°C. These conditions force engineers to select materials and design components far beyond typical terrestrial constraints. Every gram matters due to launch costs, and there is no option for repair or replacement.

Thermal expansion is a prime challenge. A satellite in low Earth orbit experiences rapid temperature changes as it passes from shadow to sunlight. Materials like Invar, which has near-zero coefficient of thermal expansion, or composites with tailored layups help maintain precision. Designs often incorporate flexible joints or sliding interfaces to accommodate differential expansion without binding.

Lightweight, high-strength structures are essential. Engineers turn to honeycomb panels, carbon fiber reinforced polymers, and topology-optimized lattice frames. These reduce mass while maintaining stiffness and strength. For example, the James Webb Space Telescope's mirror is made of beryllium, chosen for its low density, high stiffness, and excellent thermal stability.

Reliability is paramount. Components must withstand fatigue, creep, and radiation damage over multi-year missions without maintenance. Redundancy, derating, and extensive testing (vibration, thermal cycling, vacuum exposure) are standard. Ceramics are used for high-temperature parts, and titanium for critical fasteners. These rigorous demands often lead to innovations that later benefit everyday engineering.

#Aerospace# #Automotive# #MoldDesign#

Industry Applications