Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 01, 2024, 04:46:48 04:46


Login with username, password and session length


Pages: [1]
Print
Author Topic: Convert (invert) a pulse  (Read 2791 times)
0 Members and 1 Guest are viewing this topic.
firewalker
Active Member
***
Offline Offline

Posts: 157

Thank You
-Given: 19
-Receive: 88


« on: November 07, 2007, 10:48:34 22:48 »

I have the following logic:

When a switch is not pressed the output is 24 volts. When the switch is pressed the voltage is 0. It is the output of a motor sending this pulse on every cycle. It sends continuously 24 volts and a 0 pulse when it completes a cycle.

I want to invert this Logic. I want 0 volts and a 24 volts pulse on every cycle of the motor.

I started to design a circuit with a transistor but I am stubbed for the moment…

The circuit should be fast enough to “read” frequencies up to 50 kHz.
Logged
nacho1
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 24
-Receive: 11


« Reply #1 on: November 08, 2007, 01:51:00 01:51 »

if You want to drive a relay this schematic might help you:
http://www.wam.umd.edu/~toh/ElectroSim/Relay.GIF

if you only want to have an inverted signal, then this are the calcs:

condition to saturate the transistor ic>>ib, do ic>=10 x ib. so:

rc = Vcc-Vce(sat)
       ---------------------------
                        ic


rb = VCC-Vbe
        ---------
            ib


so choose your Ic, calc rc,
then ib=ic/10
and then calc rb

whis is an example with 5v & 12v for vcc
http://www.mayothi.com/images/transistor3.gif

you shuld take the signal from the colector
I hope it helps
greetings
Logged
ppa88
Active Member
***
 Muted
Offline Offline

Posts: 200

Thank You
-Given: 49
-Receive: 131


« Reply #2 on: November 08, 2007, 10:15:21 10:15 »

Here is a simple proteus simulation to illustrate it.

http://rapidshare.com/files/68256398/invert.rar.html
Logged
pl4tonas
Active Member
***
Offline Offline

Posts: 145

Thank You
-Given: 318
-Receive: 195



« Reply #3 on: November 08, 2007, 10:49:16 10:49 »

I suggest to use the transistor circuit proposed by the posts above but with an extra resistor connected between base-emmiter.
This should have a value between 2K2 to 10K (recomment the 2K2 or 3K3 value) and is used to ensure that any voltages near 0v i.e. 0.5 or 1V, would be treated as 0 level.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC