Bode plot

Pixelx

Member level 3
Joined
Aug 25, 2024
Messages
65
Helped
0
Reputation
0
Reaction score
3
Trophy points
8
Activity points
574
Is it possible to measure the Bode characteristic of the converter using a generator and an oscilloscope? I want to determine the stability reserve of the phase and amplitude. I have a transformer injecting the DHO814 oscilloscope, an FY6900 generator, and I wrote a code in python that injects voltage into the feedback loop on a 51ohm resistor.
I have the impression that my data reading from the oscilloscope is too slow in relation to the regulation. It seems to me that if I read every 100ms, the converter will stabilize by then? Can it be done on the equipment I have?

Does the oscilloscope have to be set to the AC range? Because that's what I did

This is how I determine the gain, I don't know if it's right?

amplitude_ratio = (np.max(vout)) / (np.max(vin))
gain_db.append(20 * np.log10(amplitude_ratio))


Yellow input waveform and blue output waveform
 

Attachments

  • 1 (1).jpg
    565.1 KB · Views: 70
  • 1 (2).jpg
    330.6 KB · Views: 75
  • schematic.JPG
    132.2 KB · Views: 79
  • amplitude.png
    33.5 KB · Views: 69
  • phase.png
    42.8 KB · Views: 53
  • TPS.JPG
    65.1 KB · Views: 69

Is it worth hiding the transformer in an aluminum housing connected to PE?
I'd be very cautious about shields and/or filters to the injection transformer.

One of the fundamental assumptions of this method of measurement is that the injection transformer does not affect the loop transfer function at all. The more stuff you add, the more likely you are to violate this assumption.

It's unclear what purpose putting the transformer in a shield would serve in the first place.
 

This is an old waveform, now I don't have such problems. I took the loop characteristic as you saw above, taking the information about the amplitude.

Can I connect this Y capacitor from the secondary side of the injection transformer to PE?


It's mainly about common mode interference, which adds noise. In my opinion, if I don't affect the disturbing signal, it doesn't interfere at all. In converters, add CAP Y between the converter grounds to reduce common mode currents.
 

. Do you know a better method of determining the phase? And not susceptible to noise?
Synchronous detection. Also known as Lock-in amplifier. With this method measurements below noise floor are possible.

 
Reactions: FvM

A notch filter on input sine is possible but captured signals have lots of regulator interference.

Is there 33 kHz sin on blue output? That's the difference.

I think it's time to do some step load tests. Do you have any specs for your error budget?
 
Last edited:

Is there 33 kHz sin on blue output? That's the difference.
Just expectable to get little gain at switching frequency. As mfntioned early in this thread, there's no useful modulator transfer function above 0.5 fsw. Problem of simplified measurement method is response to components not related to excitation signal.
Synchronous detection. Also known as Lock-in amplifier. With this method measurements below noise floor are possible.
Yes, as mentioned in post #9, commercial loop gain analyzers are using this method.
I think it's time to do some step load tests.
Pro and cons of loop gain measurement versus step response have been already addressed. Most practioneers are happy with step response method for stability check and feedback loop tuning and rarely measure loop gain in frequency domain. Nevertheless loop gain measurement is a valid method, opions about unique advantages are obviously different.
Feedback loop can be stable at small signal and still expose large signal instability, in so far I'd rate step response or similar large signal methods as necessary for stability assessment.
 

Can I connect this Y capacitor from the secondary side of the injection transformer to PE?
I certainly would not try this unless all the other circuitry on the secondary side is also referenced to PE. Basically that means I would only connect this capacitor to the local GND (which might also be PE). But even that is something I would be very cautious about.
It's mainly about common mode interference, which adds noise.
Fundamental question when discussing EMI issues: What is the source of the noise, and what is the victim you're trying to protect?
In my opinion, if I don't affect the disturbing signal, it doesn't interfere at all. In converters, add CAP Y between the converter grounds to reduce common mode currents.
There are sometimes valid reasons to add capacitance between "grounds," and this is based on identifying the source and victim in the system. In this case, I highly doubt your signal generator on the primary of the injection transformer is either a source or a victim of common mode noise. Thus I don't see any benefit to adding a Y capacitor.
 

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…