Author Topic: Sine to square.  (Read 1779 times)

0 Members and 1 Guest are viewing this topic.

Offline neoTopic starter

  • Super Contributor
  • ***
  • Posts: 1694
  • Country: us
  • The specialist.
Sine to square.
« on: May 25, 2017, 10:31:04 am »
Not a question, just a useful circuit that i figure might be useful to someone.  60 HZ AC to a DC SQ wave, with variable voltage. It could probably be nit picked to death but this is what i came up with and it works for me, the resistor values are just what i had a bag of and they happen to work as for the transistors just about any npn and pnp will work. The zener diode exists only for two reasons, protection for the transistors and it keeps it from going negative. This took me a long time to figure out by just experimenting, longer than i care to admit  :-DD.
A hopeless addict (and slave) to TEA and a firm believer that high frequency is little more than modern hoodoo.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: Sine to square.
« Reply #1 on: May 25, 2017, 11:20:48 am »
I am not an expert in AC line interface but there may be safety issues you
should be concerned about. Hopefully other posters can comment on this
aspect of the design.

One approach is to use an OptoCouper, lots of isolation, easy to implement.


http://icecube.wisc.edu/~kitamura/NK/Datasheets/misc/5988-4082EN%20designers%20guid.pdf


Regards, Dana.
« Last Edit: May 25, 2017, 01:41:12 pm by danadak »
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline neoTopic starter

  • Super Contributor
  • ***
  • Posts: 1694
  • Country: us
  • The specialist.
Re: Sine to square.
« Reply #2 on: May 25, 2017, 06:58:28 pm »
I am not an expert in AC line interface but there may be safety issues you
should be concerned about. Hopefully other posters can comment on this
aspect of the design.

One approach is to use an OptoCouper, lots of isolation, easy to implement.


http://icecube.wisc.edu/~kitamura/NK/Datasheets/misc/5988-4082EN%20designers%20guid.pdf

Regards, Dana.

or just use a low voltage output transformer? As i said im sure its not perfect but it does work.
« Last Edit: May 25, 2017, 07:00:10 pm by neo »
A hopeless addict (and slave) to TEA and a firm believer that high frequency is little more than modern hoodoo.
 

Offline shteii01

  • Frequent Contributor
  • **
  • Posts: 266
  • Country: us
Re: Sine to square.
« Reply #3 on: May 25, 2017, 11:29:01 pm »
Timer-Generator Circuits Manual by R. M. Marston, Chapter 3, published in 1990 or 1991.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf