Author Topic: Spike in power line relay  (Read 350 times)

0 Members and 1 Guest are viewing this topic.

Offline FreshmanTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: in
Spike in power line relay
« on: September 10, 2024, 08:06:05 am »
I have this circuit below.







I have an issue where, when the input turns on the transistors, I see a spike in the nearby power supply rail. I have other power supply rails such as 3.3V and 5V. Whenever, the transistor turns ON, I see a spike of say 15V peak to peak on the 3.3V rail. This causes my ICs connected to 3.3V malfunction.

However, the spike of 15V peak to peak is not happening always. The amplitude of the peak to peak spike varies by say +/-5V

Attached in the circuit image.

Can someone let me know why this happens and what fix I can try?



 

Offline Phil1977

  • Frequent Contributor
  • **
  • Posts: 719
  • Country: de
Re: Spike in power line relay
« Reply #1 on: September 10, 2024, 09:00:55 am »
It´s strange that the spike happens when the relay is switched on. Usually the back-EMF when switching off relays is causing trouble, but here it must be something else.

I´d do two things:
- Put some decoupling capacitors on the power rails near the relay driver
- Slow down the switching on of the transistor. E.g. by a 330pf-cap from base to emitter
- Put a clamping zener or TVS on your 3.3V rail to protect the digital components.

Are you sure that the spike is coming from the relay itself and not from it´s connected load? What kind of power supply do you have, is it possible it suffers from really bad cross-regulation?
 

Offline ramussons

  • Newbie
  • Posts: 8
  • Country: in
Re: Spike in power line relay
« Reply #2 on: September 10, 2024, 09:09:33 am »
It is doubtful if the spike occurs from the shown schematic.
Is the relay operating some other equipment?
Where / How  is the drive to the transistor generated? That also needs to be investigated.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 20597
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Spike in power line relay
« Reply #3 on: September 10, 2024, 09:37:06 am »
I have this circuit below.

I have an issue where, when the input turns on the transistors, I see a spike in the nearby power supply rail. I have other power supply rails such as 3.3V and 5V. Whenever, the transistor turns ON, I see a spike of say 15V peak to peak on the 3.3V rail. This causes my ICs connected to 3.3V malfunction.

However, the spike of 15V peak to peak is not happening always. The amplitude of the peak to peak spike varies by say +/-5V

Attached in the circuit image.

Can someone let me know why this happens and what fix I can try?

This could be a real effect, a consequence of how you are measuring the spike, or because of "stray/parasitic" components not included in your schematic.

What is the relay switching, and is that load connected to the components shown in the schematic?

Show photo of implementation, how you are measuring the spike, and the measurement.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline BeBuLamar

  • Super Contributor
  • ***
  • Posts: 1356
  • Country: us
Re: Spike in power line relay
« Reply #4 on: September 10, 2024, 06:04:58 pm »
Usually there is a spike in of negative voltage when you switch off but the diode should clamp it.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19930
  • Country: gb
  • 0999
Re: Spike in power line relay
« Reply #5 on: September 11, 2024, 12:48:40 pm »
Presumably the diodes are connected to the transistor's collector and the coil?

Here's the correct way of drawing it.

Note the bottom diode doesn't do anything. It never conducts.
 

Offline djococaud

  • Regular Contributor
  • *
  • Posts: 79
  • Country: fr
  • General rule : Simpler is Better
    • Djo Labs
Re: Spike in power line relay
« Reply #6 on: September 12, 2024, 05:37:20 am »
The 1N400x is way too slow to absorb the spike from the relay coil. Try a schotty diode instead (like 10MQ100N or similar)  ;)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf