Author Topic: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave  (Read 3432 times)

0 Members and 3 Guests are viewing this topic.

Offline QualityGuyTopic starter

  • Contributor
  • Posts: 11
  • Country: us
A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« on: November 01, 2016, 09:48:53 pm »
Greetings Fellow Members;

I've tried to find the answer to this without success, although I know it's out there somewhere...

I have a small, spare back-up UPS that generates a PWM / simulated sinewave.  I'm going to connect several vintage digital clocks that use the A/C line to keep time to this UPS since the clocks don't have battery back-up. 

Do clocks that keep time based on the A/C frequency require a 'pure' sinewave, or can they run OK on a PWM / simulated sine wave as the clock signal?

Thanks,

William
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14525
  • Country: de
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #1 on: November 01, 2016, 09:57:42 pm »
It depends on the circuit. Good ones should run OK from the UPS, some might be sensitive to noise and higher frequencies from the UPS.
 

Offline QualityGuyTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #2 on: November 02, 2016, 02:45:02 pm »
Well then, it sounds like a trial and error situation!  Most of the time, when we have a power glitch, it's only for a second or two.   :-\
 

Offline CraigHB

  • Regular Contributor
  • *
  • Posts: 227
  • Country: us
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #3 on: November 02, 2016, 03:31:06 pm »
UPS units put out a pretty clean looking sine wave.  It's the AC inverters you buy off the shelf that can put out those stepped sine waves.  Even so you can find a pure sine wave option with those at about twice the cost.  I've run into trouble powering a few things with a stepped sine wave inverter.  They're good for most stuff, but they don't work on everything.
 

Offline ericloewe

  • Supporter
  • ****
  • Posts: 85
  • Country: pt
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #4 on: November 02, 2016, 04:58:14 pm »
UPS units put out a pretty clean looking sine wave.  It's the AC inverters you buy off the shelf that can put out those stepped sine waves.  Even so you can find a pure sine wave option with those at about twice the cost.  I've run into trouble powering a few things with a stepped sine wave inverter.  They're good for most stuff, but they don't work on everything.
Cheap UPSes definitely do not output anything close to a sine wave:
http://www.tomshardware.com/picturestory/732-apc-bn650m1-ca-ups-tear-down.html#s40
 
The following users thanked this post: QualityGuy

Offline QualityGuyTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #5 on: November 03, 2016, 02:15:26 pm »
UPS units put out a pretty clean looking sine wave.  It's the AC inverters you buy off the shelf that can put out those stepped sine waves.  Even so you can find a pure sine wave option with those at about twice the cost.  I've run into trouble powering a few things with a stepped sine wave inverter.  They're good for most stuff, but they don't work on everything.
Cheap UPSes definitely do not output anything close to a sine wave:
http://www.tomshardware.com/picturestory/732-apc-bn650m1-ca-ups-tear-down.html#s40
And that's my concern; I have vintage, mostly 30+ year old digital clocks that have some internal parts that are in the unobtainium category, or very expensive. 

It looks like a "basic" better (pure sine wave) UPS isn't a whole lot more money: https://www.amazon.com/CyberPower-CP850PFCLCD-Sinewave-Compatible-Mini-Tower/dp/B00429N18S

Thanks to all for your comments!  They are much appreciated.
 

Offline Kalvin

  • Super Contributor
  • ***
  • Posts: 2145
  • Country: fi
  • Embedded SW/HW.
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #6 on: November 03, 2016, 02:26:54 pm »
Just make sure that the UPS is producing accurate and stable sine wave at 50Hz/60Hz. For example, if the frequency is 1Hz off, your clocks will run too fast or too slow.
 
The following users thanked this post: QualityGuy

Offline Kalvin

  • Super Contributor
  • ***
  • Posts: 2145
  • Country: fi
  • Embedded SW/HW.
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #7 on: November 03, 2016, 02:31:08 pm »
If the sine wave quality is not good enough, possibly a simple, passive 50Hz/60Hz bandpass filter is sufficient to clean the sine wave signal..
 
The following users thanked this post: QualityGuy

Offline QualityGuyTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #8 on: November 03, 2016, 10:24:17 pm »
If the sine wave quality is not good enough, possibly a simple, passive 50Hz/60Hz bandpass filter is sufficient to clean the sine wave signal..
Will consider it, and thanks.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #9 on: November 04, 2016, 10:18:58 pm »
If the client side is a digital clock input then the slow moving risetime of
a sine based 50/60 Hz input can cause a lot of clocking issues. Think
about the input hanging right at the threshold of the client side logic, and
ordinary system noise causing multiple counts as it is transitioning thru
this region.

Best solution is a comparator with hysteresis to negate the effect of noise.


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 
The following users thanked this post: QualityGuy

Offline Melt-O-Tronic

  • Frequent Contributor
  • **
  • Posts: 259
  • Country: us
  • Brilliant with a slaughtering iron in my hand!
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #10 on: November 04, 2016, 11:19:03 pm »
If you're concerned enough about the clocks (and I would be if it's a question of running motors in valuable vintage appliances on dirty power), consider a modest investment in a true sinewave UPS.

CyberPower UPS on Amazon

I have no affiliation.  I know about this because it's the model that Rigol recommends for powering their spectrum analyzers in the field.
 
The following users thanked this post: QualityGuy

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16356
  • Country: za
Re: A/C frequency for a Clock Signal - Sine Wave vs. PWM Square Wave
« Reply #11 on: November 05, 2016, 02:01:49 pm »
Quick brute force approach is to use a pair of identical transformers with the secondaries connected together, the primary of one getting the input sine, and the primary of the other ( now the secondary) giving the sine wave output. A non polarised capacitor of a few uF on the secondary, and another 1uF on the output should provide enough low pass filtering to get a reasonable sine wave even from a near square wave input, from the LC action of the cascaded filters.
 
The following users thanked this post: QualityGuy


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf