tag:blogger.com,1999:blog-7590176649168185428.post6925104158226551770..comments2024-03-28T18:51:21.655-04:00Comments on SolderSmoke Daily News: Renewed Hope for Divide by 2 I and QBill Mearahttp://www.blogger.com/profile/07662500663603350847noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7590176649168185428.post-22033049247853013052016-03-30T19:33:05.052-04:002016-03-30T19:33:05.052-04:00Many years ago I needed a quadrature clock (it was...Many years ago I needed a quadrature clock (it was for a digital circuit rather than something in the "phasing phamily" of radios) which was quite similar to the circuit that you describe.<br /><br />The issue that I had was that the original clock wasn't a perfect 50% duty cycle (it was from a divide-by-3 or something - it wasn't a number that was 2^n, certainly).<br /><br />The fact that the "0" and "1" times were not equal caused a skewing of the quadrature signal. In this particular case I didn't care since all I needed was something quadrature-ish and (theoretically) +/- (almost) 45 degrees would have been OK - much like the very loose requirements from a quadrature rotary encoder that one might use for tuning a radio. (Ever look at the specs for one of those w/respect to phase accuracy?)<br /><br />Over the years since this experience stuck with me, which is why I've always used the ubiquitous "divide-by-four" scheme and taken advantage of its insensitivity to the duty cycle of the driving signal.<br /><br />Were I to attempt to use a "divide-by-two" quadrature scheme I would want to be sure that the duty cycle of the feeding signal was very constant - preferably as close to 50% as possible, but this is harder that it might seem since one would likely be sourcing this signal from an analog source and the "squaring" it in a logic gate - and the duty cycle of the output signal would be dependent on the drive level and the logic thresholds of the input gate - and the latter would vary with the temperature, supply voltage and even the brand or batch of the part.<br /><br />(It would not only be the phase that could impact opposite-sideband rejection, but if the duty cycles of the I and Q LO signals were different - but centered exactly 90 degrees apart - this could impart a slightly different amount of insertion loss in the two signal chains owing to apparent differences in LO energy, etc. and upset the amplitude balance as well. If the mixer were well driven this effect would likely be minor compared to phase differences.)<br /><br />In other words, I decided that I could probably do it, but I'd also want an accessible "LO phase null" control available (a variable capacitor or varactor to adjust some sort of L/C phasing and/or a pot to nudge voltage thresholds to a logic gate/squarer) that would be used to "tweak" the circuit under varying conditions.<br /><br />If one were to do this, it might just be easier to use a passive L/C phase shifter and an "on-frequency" LO in the first place. In that case I suppose that one could have a filtered PWM output of the Arduino tune a varactor in such a circuit to keep the phase shift precise across the band, linearly interpolating between stored settings one would empirically determine every 10-50 kHz or so, storing the calibration data in the Arduino's EEPROM.<br /><br /><br />(Lots of fun, this noodling...)<br />KA7OEIhttps://www.blogger.com/profile/01153508130273704727noreply@blogger.comtag:blogger.com,1999:blog-7590176649168185428.post-75179726825661130862016-03-29T21:52:34.445-04:002016-03-29T21:52:34.445-04:00Another approach would be to add extra gates ahead...Another approach would be to add extra gates ahead of the flip flop switching too soon, or add an RC delay to slow down the signal transition. (Steve, KE4AM)Anonymousnoreply@blogger.com