Author Topic: current measurement  (Read 4243 times)

0 Members and 1 Guest are viewing this topic.

Offline charon1985Topic starter

  • Contributor
  • Posts: 32
  • Country: at
current measurement
« on: June 28, 2016, 06:48:52 am »
Hi, i have built an induction heating circuit and i am trying to measure the current that goes into the step down transformer. After the transformer is the series LC circuit. I have 3 current transformers, one built by me and two built by factory. After the current transformer i have rectifying circuit, and after that i have an opamp, next will be the atmega controller to measure the current...

Now i have the following problem, at the beginning and end of the dead time, i have some oscillations spikes. Since the oscillations are not that big the rectifier circuit and the opamp are not affected, but the current measurement will suffer. I am thinking of taking 2-3 measurements and make the  mean. All 3 CT have same oscilations in the output.

What is generating the spikes and how can i remove them (even after rectification if else is not possible or the opamp)?

Thank you.

« Last Edit: June 28, 2016, 06:52:29 am by charon1985 »
 
The following users thanked this post: judyfromraypcb

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: current measurement
« Reply #1 on: June 28, 2016, 07:15:44 am »
Schematic?
Is this a PCB layout? Deadbug?
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline charon1985Topic starter

  • Contributor
  • Posts: 32
  • Country: at
Re: current measurement
« Reply #2 on: June 28, 2016, 07:32:52 am »
Rectification, opamp and the atmega controller are on breadboard, the rest of the circuit is on PCB.

If deadbug refers to the construction method, then is not a deadbug construction.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: current measurement
« Reply #3 on: June 28, 2016, 07:39:13 am »
You are providing very general information and hoping for some information about the details of the behavior.

What you are seeing could be a design problem, a construction problem, or a probing problem. It could be all of those. If you provide only an overview of the setup - you are not likely to get an actionable answer.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 2085
Re: current measurement
« Reply #4 on: June 28, 2016, 08:02:59 am »
Are these spikes real? Or are they artefacts being induced in the ground lead of your oscilloscope probe?
 
The following users thanked this post: charon1985

Offline charon1985Topic starter

  • Contributor
  • Posts: 32
  • Country: at
Re: current measurement
« Reply #5 on: June 28, 2016, 08:20:06 am »
Providing to many details about a problem will give a "chance" for some people to comment on the problem providing wrong paths for solving. Usually the people who know the solving for a problem will recognize the problem even if the situation is briefly described.

The problem that i am facing, i have seen it on similar other projects, but the builders simply ignore it...

Andy Watson, it is possible to be artifacts because i have had similar problems. I am new to high frequency signals and oscilloscopes. For example on the same signal if the ground lead (the black wire with alligator clip) is not kept close to the probing pen, or the physical distance between the probing points (ground and probe tip) is large,  the rectified and smoothed signal looks like a small sinusoidal signal imposed over a DC component.
I think that the best way would be to measure the signal (with the microcontroler) and see what values i get. Would you sugest anything else to do?
 

Offline Kilrah

  • Supporter
  • ****
  • Posts: 1852
  • Country: ch
Re: current measurement
« Reply #6 on: June 28, 2016, 08:38:41 am »
Providing to many details about a problem will give a "chance" for some people to comment on the problem providing wrong paths for solving. Usually the people who know the solving for a problem will recognize the problem even if the situation is briefly described.

That's valid when what you see can only come from one or 2 pretty obvious causes. When there are way too many different things that can cause it like here not providing enough details won't get you anywhere... and not accepting it will get you ignored.
 

Offline bktemp

  • Super Contributor
  • ***
  • Posts: 1616
  • Country: de
Re: current measurement
« Reply #7 on: June 28, 2016, 08:55:12 am »
The spikes are generated by the fast switching of the power transistors.
You can either ignore them, or you need to provide much more details (at least schematic and pictures of your actual circuit).
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: current measurement
« Reply #8 on: June 28, 2016, 01:22:27 pm »
The first image looks a lot like the switching noise I see on one of my op amp circuits and AFAICT, it's caused by the switching PS.
I am using a DC wall wart followed by a dual-output switcher to create +-15V.

ETA:  You can always put a low pass filter on the ADC input.  In any event, the ADC won't be measuring anything in the MHz range.
« Last Edit: June 28, 2016, 07:51:47 pm by rstofer »
 

Offline charon1985Topic starter

  • Contributor
  • Posts: 32
  • Country: at
Re: current measurement
« Reply #9 on: June 28, 2016, 06:12:18 pm »
Problem solved.

I hate measurement errors.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: current measurement
« Reply #10 on: June 28, 2016, 06:21:25 pm »
This is the normal solution. I make my own with different lengths.

If you posted a pic of your work and test method earlier - a dozen people would have pointed out that detail right away. Power electronics are notoriously difficult to measure accurately and it is how I make a living right now. Don't be afraid to show your work if you want information. You may get some conflicting opinions, but that is way better than dead silence.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 
The following users thanked this post: Kilrah

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 2085
Re: current measurement
« Reply #11 on: June 28, 2016, 07:12:45 pm »
This is the normal solution. I make my own with different lengths.
Thank you for the picture - the last time I suggested this solution I was mocked! I also suggested using a paper-clip as the source material - it gives it a bit of spring and the extra resistance is insignificant. Also, if you cut the end obliquely you can leave a sharp point for making the contact.
 

Offline w2aew

  • Super Contributor
  • ***
  • Posts: 1780
  • Country: us
  • I usTa cuDnt speL enjinere, noW I aR wuN
    • My YouTube Channel
Re: current measurement
« Reply #12 on: June 28, 2016, 08:26:06 pm »
I make my own short ground contacts like that a lot.  You can see it here (at 6:45) in my video about the affects of ground lead lengths on signal integrity:
YouTube channel: https://www.youtube.com/w2aew
FAE for Tektronix
Technical Coordinator for the ARRL Northern NJ Section
 

Offline w2aew

  • Super Contributor
  • ***
  • Posts: 1780
  • Country: us
  • I usTa cuDnt speL enjinere, noW I aR wuN
    • My YouTube Channel
Re: current measurement
« Reply #13 on: June 28, 2016, 08:27:59 pm »
...and, if it is a spot you're going to probe often, or need to do it hands free, then make yourself a high performance probe "socket" like this:


YouTube channel: https://www.youtube.com/w2aew
FAE for Tektronix
Technical Coordinator for the ARRL Northern NJ Section
 

Offline alsetalokin4017

  • Super Contributor
  • ***
  • Posts: 2055
  • Country: us
Re: current measurement
« Reply #14 on: June 29, 2016, 02:42:39 pm »
@Charon1985:

Your spikes are apparently _still there_! Note that in your first post you have the scope's vertical scale set to 200mV/div, and in the shot where you say "problem solved" you have the vertical scale set to 500 mV/div. The spikes on the sinusoid seem to be just about the same actual voltage in both cases.  (The second shot is somewhat complicated by the double-image caused by incorrect triggering.)  At the higher 500 mV/div setting the spikes are just disappearing into the noise on the flat-line trace, but they are still there.

Simply taping the long ground lead to the body of the probe does not solve the problem caused by the long ground lead. To eliminate this problem you should take the grabber clip off the probe tip and use one of the spring-type ground adapters as shown in images above, using the ground ring close to the sharp tip of the probe.

The easiest person to fool is yourself. -- Richard Feynman
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: current measurement
« Reply #15 on: June 29, 2016, 03:32:37 pm »
Some good stuff here:

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf