Author Topic: AGC without phase shift  (Read 2700 times)

0 Members and 1 Guest are viewing this topic.

Offline sanwal209Topic starter

  • Regular Contributor
  • *
  • Posts: 114
AGC without phase shift
« on: February 12, 2019, 03:25:04 pm »
Hi,

I am looking for a circuit or IC which takes 0.5Vp-p to 1Vp-p sinewave and it outputs sinewave 1Vp-p without phase shift.

Background is we need to downgrade mains AC 110V to 220V to constant voltage sinewave without phase shift.

Best Regards
Sanwal Saleem
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: AGC without phase shift
« Reply #1 on: February 12, 2019, 04:38:04 pm »
An ordinary AGC circuit using a Jfet produces no phase shift.
 

Offline sanwal209Topic starter

  • Regular Contributor
  • *
  • Posts: 114
Re: AGC without phase shift
« Reply #2 on: February 13, 2019, 08:13:22 am »
Can you please refer me to some schematics?
 

Offline DaJMasta

  • Super Contributor
  • ***
  • Posts: 2361
  • Country: us
    • medpants.com
Re: AGC without phase shift
« Reply #3 on: February 13, 2019, 04:37:30 pm »
Pretty much any analog AGC will do the job, right?  And if your signal is only 50Hz or 60Hz, your tolerance for phase shift is MASSIVE before anything is noticeable, so virtually any AGC will work.
 

Offline sanwal209Topic starter

  • Regular Contributor
  • *
  • Posts: 114
Re: AGC without phase shift
« Reply #4 on: February 14, 2019, 02:06:01 pm »
I have tried to simulate couple of AGC in Tina TI but it does introduce phase shift
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19990
  • Country: gb
  • 0999
Re: AGC without phase shift
« Reply #5 on: February 14, 2019, 04:00:39 pm »
Any active circuitry will produce a phase shift because there will be some delay between the input and output voltages changing, as nothing can happen instantly.
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 6971
  • Country: nl
Re: AGC without phase shift
« Reply #6 on: February 14, 2019, 04:07:38 pm »
Just do it digitally ... doing this with a non sampling analogue circuit is going to require a complex circuit. Doing peak detection in discrete circuitry to tweak an AGC can be done, but at that point you're so much more components than a microcontroller.

Just use a microcontroller.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19990
  • Country: gb
  • 0999
Re: AGC without phase shift
« Reply #7 on: February 15, 2019, 09:00:09 am »
Just do it digitally ... doing this with a non sampling analogue circuit is going to require a complex circuit. Doing peak detection in discrete circuitry to tweak an AGC can be done, but at that point you're so much more components than a microcontroller.

Just use a microcontroller.
But that would most likely result in even greater phase shift, than an AGC.
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 6971
  • Country: nl
Re: AGC without phase shift
« Reply #8 on: February 15, 2019, 02:42:15 pm »
The phase shift from ADC/processing/DAC is almost irrelevant on a 50/60 Hz signal. Also this is almost certainly just part of a chain of processing, he needs to do all of it digitally.

This stuff doesn't make sense any more to do in analogue other than a mental exercise.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15413
  • Country: fr
Re: AGC without phase shift
« Reply #9 on: February 15, 2019, 03:02:40 pm »
Knowing nothing more about the OP's requirements, it's hard to suggest anything really relevant.

We don't even know how they attenuate the mains signal? Is it direct coupling, with just a resistive divider, and no isolation? Is there AC coupling? Is there a transformer? All of this will already introduce some amount of phase shift. We don't know if that matters or not. We don't know what amount of phase shift is acceptable. As already mentioned, it's not that hard to get negligible phase shift on a such a low frequency signal as long as you use a reasonable topology (for instance avoiding the use of filters with cutoff frequencies that are too close to the original signal's frequency). We also don't know why they'd need a fixed 1Vpp output signal, or if they could actually make use of an output signal with an amplitude the dynamic range of which seems pretty small (6dB!)

So maybe they should post a schematic and figures about what they expect first, and how they intend on using the output signal.
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3336
  • Country: gb
Re: AGC without phase shift
« Reply #10 on: February 15, 2019, 05:45:55 pm »
I have tried to simulate couple of AGC in Tina TI but it does introduce phase shift

Show your circuit.  Do you really mean you are seeing significant phase shift between input and output signals, or are you actually talking about the response time of the AGC circuit?  A simple JFET AGC circuit should introduce negligible phase change at such low frequency.
 

Offline sanwal209Topic starter

  • Regular Contributor
  • *
  • Posts: 114
Re: AGC without phase shift
« Reply #11 on: February 18, 2019, 09:51:38 am »
Hi Guys,

Sorry for late response, Let me explain the requirements.

Main scope of project is to convert single phase to three phase output. Output should be sync with the input phase. Yes, I know we can simply make inverter and do the job but our output current requirment is 1mA@220V. With this power rating inverter will be an over kill. Output is used to excite the coils so that other sensor board will be able sense.

Solution i thought is to downgrade 220Vmains to 1V(or less) fed it into two phase shift register and i result we will have low voltage 3 phase output which then fed into power amplifier and output of power amplifier will drive transformer to create isolated 3phase output.

AGC is required to keep constant voltage output after downgrading 220V mains so that any fluctuation will not effect the output.

I have attached some circuits which i simulated and got the phase shift.




 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4195
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: AGC without phase shift
« Reply #12 on: February 18, 2019, 10:01:11 am »
You can do this digitally. Just use a phase locked loop with a DAC waveform generator.
https://dsp.stackexchange.com/questions/52981/synchronize-a-software-waveform-generator
 

Offline sanwal209Topic starter

  • Regular Contributor
  • *
  • Posts: 114
Re: AGC without phase shift
« Reply #13 on: February 18, 2019, 03:18:22 pm »
Yes, Everything can be done on digital level but we want to do it in analog as we dont have resources for firmware development.
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 6971
  • Country: nl
Re: AGC without phase shift
« Reply #14 on: February 18, 2019, 04:42:45 pm »
Opamp peak detector -> low pass filter -> drive the output of the low pass filter every so slowly to 1V by changing the gate voltage of a JFET variable attenuator with an opamp circuit, negative feedback and very very low bandwidth.

This will have the response time on the order of seconds and there's no real way to avoid it without going digital, no phase shift though.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19990
  • Country: gb
  • 0999
Re: AGC without phase shift
« Reply #15 on: February 18, 2019, 06:39:48 pm »
I have attached some circuits which i simulated and got the phase shift.
How much phase shift does the simulator show?

Please post the results.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: AGC without phase shift
« Reply #16 on: February 18, 2019, 07:14:47 pm »
The Wien Bridge oscillator has only one output so it does not have a second signal to compare with its output phase.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19990
  • Country: gb
  • 0999
Re: AGC without phase shift
« Reply #17 on: February 19, 2019, 08:32:51 am »
The Wien Bridge oscillator has only one output so it does not have a second signal to compare with its output phase.
I presume the idea is not to build the oscillator part, just the AGC. R2, R2, C1 & C2 will be omitted and the signal applied to the non-inverting input of the op-amp.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19990
  • Country: gb
  • 0999
Re: AGC without phase shift
« Reply #18 on: February 19, 2019, 08:46:11 am »
Awhile ago I designed a microphone AGC for a project which got cancelled. Once the gain had stabilised, there was minimal distortion and phase shift, other than the usual 180o expected from an inverting amplifier.

Perhaps the original poster has selected the wrong value for an AC coupling capacitor.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf