2025 Award
- 17,116
- 10,627
You are missing a solid ground on the secondary side of your circuit.imsmooth10 said:I'm missing something which is why I'm reaching out here.
You are missing a solid ground on the secondary side of your circuit.imsmooth10 said:I'm missing something which is why I'm reaching out here.
Your physical circuit will need a ground connection to protect the insulators, so install a real ground connection now, tell us where it is, and keep it in place. That is also a safety issue.imsmooth10 said:I made a solid ground connection and much as I thought there is no difference. The probes work fine and as you can see if a previous post image, they accurately show the 90 voltage lag on the capacitor when I put the probes across it. I get the same strange behavior with a ground connection and a resistor or capacitor divider:
I do not use Mac so I do not know. Mac costs too much and restricts the software I can run. LTspice has the same internal functionally. There are often several ways to edit something, by using mouse clicks while holding control keys.imsmooth10 said:When setting up the .trans command it seems that the Mac requires you to manually type in the values while the PC has a better interface. Is that correct?
You have discovered that the reference current direction is terminal 1 of the component. It is an old and fundamental convention that, earlier, made SPICE possible. You will need to follow, or work around it. If it is a problem, flip the component, or place a unary negative sign in the specification, or the plot window trace equation.imsmooth10 said:Also, what is the deal with the currents going backwards unless I flip the components.
I tried mind reading, but I am not doing well today, you are going to have to help me.imsmooth10 said:Made a solid ground. Connected the divider.
The Diff. Probe P2505 only has a CMRR of > 300 @ 100 kHz. or <-30dB error. So a good ground is essential on the signal with a short ground connection. Verify again with both inputs and gnd to gnd for a flat trace.imsmooth10 said:I know the p5205 is no longer serviceable. Any suggestions for a good replacement. p5205a?
Still learning how to use LTspice. Below is the LTSpice tank model. All these years I should have started using it. The tank is modeled pretty close to how mine works.Baluncore said:I tried mind reading, but I am not doing well today, you are going to have to help me.
What or where did you ground something?
What sort of divider did you use?
How did you connect the divider?
Maybe it is time for you to use LTspice to draft an up-to-date circuit diagram. It does not have to run correctly.
If you change an LTspice.asc file to LTspice.asc.txt , you can attach it to a post, then others can run and edit it. That is the most compact way to communicate circuit diagrams clearly.
Do not post screenshots.
Alternatively, use the "Tools" menu, "copy bitmap to clipboard".
Save the image as a .png or .jpg
You're saying to short the probe ends together or to test them on the grounding lead?TonyStewart said:Verify again with both inputs and gnd to gnd for a flat trace.
Probing the HV output will radiate EMI measurement problems beyond the scope of this thread. only use the C divider output.
You can improve it further with 100 pF\10 nF ( Z(f)= 212 Ohms @ 75kHz to probe.
YES by connecting both inputs to either signal and ground, you are measuring the CMRR and crosstalk. So expect it must be a flat line.imsmooth10 said:You're saying to short the probe ends together or to test them on the grounding lead?
When I connect both leads together they are picking up significant EMI when I power up my device. I suspect something is not working with the probes. Any suggestions to troubleshoot them or the power supply (1103)?TonyStewart said:YES by connecting both inputs to either signal and ground, you are measuring the CMRR and crosstalk. So expect it must be a flat line.
When you say only use the C divider output are you referring to a capacitative divider or something else?
YES and it's called "capacitive" and not capacitative.
You will have to show a picture of everything with all power sources with schematic showing nodes, and sources of AC. SMPS (DC) are notorious for leakage of CM noise when isolated. Then we can analyze and fix.imsmooth10 said:When I connect both leads together they are picking up significant EMI when I power up my device. I suspect something is not working with the probes. Any suggestions to troubleshoot them or the power supply (1103)?
thanks for the edits. I have some questions now as I'm trying to learn how to use LTSpice.Baluncore said:Edited LTspice schematic and plot files attached.
Includes notes on simulation, and a 101:1 voltage divider.
When in LC resonance, current in the inductor is in quadrature with voltage on the capacitor, so they are never zero at the same time. If they both start the simulation at zero, it takes about 40,000 cycles of oscillation before the circulating energy builds up, and the voltage becomes symmetrical about zero. I avoid that simulation settling time, by starting the capacitor with a non-zero voltage.imsmooth10 said:4. How is setting the V(a) condition changing the analysis much other than setting the initial voltage to 240? Is it necessary? In reality, aren't both voltages really zero in the beginning?
Menu 'edit', 'Label Net'. Shortcut F4, or the 'Label Net' button in the toolbar, between the ground and resistor icons.imsmooth10 said:4b. How did you enter the label "a"
Why, or what will you use the signal for?imsmooth10 said:My goals is to get a good zero crossing trace for my capacitor voltage.
meaning:Baluncore said:The gating of that current through the optocoupler could be done by the capacitor voltage.
You're referring to the 10k resistor as the current sense, right?. If the voltage goes up on the cathode side of the LED diode doesn't that decrease the voltage drop across the diode and hence the current driving it? When you say "raise" the collector R are you saying you choose different design values? My issue is the voltage source varies from 0 to 500Vrms and the value of R would be fixed.TonyStewart said:When input current is low, you raise collector R value the same and buffer as I did. The diodes capacitance is not modelled so there are freq. limits and also tolerances on hFE are not an option there.