2
\$\begingroup\$

At the moment when I insert the USB cable, at the output of the converter, 5 volts appears for a short time. Why is this happening?

Circuit: enter image description here Voltage Oscillogram:

enter image description here

BUT! When I connect the ground oscillograph to the board, this effect disappears. The ground of the oscillograph and the computer are connected in an electric outlet.

This effect is a measurement error or an error in the circuit?

\$\endgroup\$
6
  • \$\begingroup\$ what is the time scale on that plot? \$\endgroup\$ Commented Oct 6, 2017 at 14:19
  • \$\begingroup\$ Where is your scope ground connected when you see the issue? I.e. before you connect the ground to the board and the effect disappears? In general, these parts to not behave as you describe, so I suspect some kind of measurement error, but hard to say without more info. \$\endgroup\$
    – John D
    Commented Oct 6, 2017 at 14:21
  • \$\begingroup\$ John D, the GND of the USB and the GND of the Oscillograph are a short circuit. I checked this with a digital multimeter \$\endgroup\$
    – AndreyB
    Commented Oct 6, 2017 at 14:30
  • \$\begingroup\$ "what is the time scale on that plot?" 400 μS in cell \$\endgroup\$
    – AndreyB
    Commented Oct 6, 2017 at 14:34
  • \$\begingroup\$ If the ground impedance was actually 0 between source and scope, there would be no difference, so in fact it is not 0 ohms including ground inductance and probe coax capacitance(est 100pF)//10M= 1us) \$\endgroup\$
    – D.A.S.
    Commented Oct 6, 2017 at 14:44

2 Answers 2

2
\$\begingroup\$

Knowing the time scale would be useful.

  1. Using two channels connect scope ground to power supply ground NOT board ground) and monitor Board_+5V and board_Ground as the USB plug is inserted. Odds are they do not both make contact simultaneously. If the difference is about as long as the 5V pulse you see on the 3V3 output it explains your problem.

  2. Ground the scope ground near the IC ground.
    Ensure that the system ground is properly connected. If connecting scope ground to board_ground or a wire from PSU_ground to board_ground before the USB plug is inserted cures the problem then as in 1. you probably have a non simultaneous power supply connection.Note that Vout relative to board ground may be ~= 0V rather than 5V during the pulse period.

  3. Only if the above do not cure the problem then what you are seeing MAY be real.
    The IC regulates at 3V3 when the R15/R16 divider indicates that correct Vout is present. Depending on the time scale involved, the capacitance & time constant of the feeback circuit, and the energy stored in L1 compared to the load power, the output may exceed the correct value until the IC 'comes into regulation.

A faster transient response may be achieved by placing a small capacitor (start with say 1 nF) across R15.

Initial overshoot is more likely to occur with zero load.
Is there any load connected?
If not, try adding a modest load to see the effect (if any).

\$\endgroup\$
4
  • \$\begingroup\$ "Knowing the time scale would be useful." 400 μS in cell \$\endgroup\$
    – AndreyB
    Commented Oct 6, 2017 at 14:32
  • \$\begingroup\$ As a load microcontroller + several digital IC \$\endgroup\$
    – AndreyB
    Commented Oct 6, 2017 at 14:40
  • \$\begingroup\$ Probably you are right, since this effect is unstable and the pulse width of 5 volts always varies. \$\endgroup\$
    – AndreyB
    Commented Oct 6, 2017 at 14:46
  • 1
    \$\begingroup\$ Thank you. This effect was actually caused by the fact that the power wire is connected first. \$\endgroup\$
    – AndreyB
    Commented Oct 6, 2017 at 14:53
2
\$\begingroup\$

It's possible that the ground made contact slightly later so only the V5 line is connected to the board but and the ground if floating. Then it's not surprising that the voltage equalized across the entire board because there is only a single connection.

When you connect the ground of the oscilloscope to the ground of the board it closes the circuit.

\$\endgroup\$
1
  • \$\begingroup\$ +1 I covered a range of maybes. You managed to target the correct one :-) \$\endgroup\$
    – Russell McMahon
    Commented Oct 7, 2017 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.