|
studyante
|
 |
« on: July 27, 2010, 07:34:29 PM » |
|
anu pong circuit ang pinaka simple at pinakamadaling maimplement na pang-generate ng triangle wave? salamat po. kailangan ko po ng 200 Hz na 3.3 V peak na triangle wave. Salamat po
|
|
|
|
|
Logged
|
|
|
|
|
The Philippine Electronics and Technology Forum
|
 |
« on: July 27, 2010, 07:34:29 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
DigitalMind
Technical People
Hydroelectric
   
Pogi/Ganda Points: 219
Offline
Posts: 3487
|
 |
« Reply #1 on: July 27, 2010, 07:47:14 PM » |
|
you could generate a SAWTOOTH using 555 timer ic... but with triangle wave??? ummm .
|
|
|
|
|
Logged
|
|
|
|
|
|
akhen
Diesel Generator
Pogi/Ganda Points: 41
Offline
Gender: 
Posts: 1080
"Learning is good but application is 100x better!"
|
 |
« Reply #3 on: July 27, 2010, 08:01:20 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
rgv101
Size AA Battery
  
Pogi/Ganda Points: 12
Offline
Posts: 107
one man crew
|
 |
« Reply #4 on: July 27, 2010, 09:26:47 PM » |
|
sawtooth yan wala naman triangle wave sa technical term afaik...
agree w/ boss don martin sa 555 timer ic
|
|
|
|
|
Logged
|
|
|
|
|
labgruppen
|
 |
« Reply #5 on: July 27, 2010, 10:53:08 PM » |
|
anu pong circuit ang pinaka simple at pinakamadaling maimplement na pang-generate ng triangle wave? salamat po. kailangan ko po ng 200 Hz na 3.3 V peak na triangle wave. Salamat po
if by triangular wave you mean symmetrically linear ramp-up and linear ramp-down, you can use two op amps, one configured as a comparator with hysteresis and the other one configured as integrator. the comparator monitors the output of the integrator. the integrator input is from the output of the comparator. the triangular wave is taken from the output of the integrator. square wave output is available at the output of the comparator. the slope(slew rate) of the triangular wave is determined by the integrator's R-C time constant and the amplitude is determined by the VL and Vh of the comparator. the frequency is affected by both the slope and amplitude. search for op-amp app notes for examples.
|
|
|
|
|
Logged
|
|
|
|
DigitalMind
Technical People
Hydroelectric
   
Pogi/Ganda Points: 219
Offline
Posts: 3487
|
 |
« Reply #6 on: July 27, 2010, 11:01:34 PM » |
|
ramp up / ramp down. ayown. or cheat using XR2206
|
|
|
|
|
Logged
|
|
|
|
|
studyante
|
 |
« Reply #7 on: July 27, 2010, 11:30:58 PM » |
|
if by triangular wave you mean symmetrically linear ramp-up and linear ramp-down, you can use two op amps, one configured as a comparator with hysteresis and the other one configured as integrator. the comparator monitors the output of the integrator. the integrator input is from the output of the comparator. the triangular wave is taken from the output of the integrator. square wave output is available at the output of the comparator. the slope(slew rate) of the triangular wave is determined by the integrator's R-C time constant and the amplitude is determined by the VL and Vh of the comparator. the frequency is affected by both the slope and amplitude. search for op-amp app notes for examples.
sir i have attempted to implement the circuit similar to what you have said. my design is in this link http://www.electronicslab.ph/forum/index.php/topic,18727.0.html but my problem is that i could not implement it using actual components. i have checked the data sheets and i think my wiring and connections are correct. i could not determine the error. it does not produce waveforms at all.
|
|
|
|
|
Logged
|
|
|
|
|
labgruppen
|
 |
« Reply #8 on: July 27, 2010, 11:40:17 PM » |
|
sir i have attempted to implement the circuit similar to what you have said. my design is in this link http://www.electronicslab.ph/forum/index.php/topic,18727.0.html but my problem is that i could not implement it using actual components. i have checked the data sheets and i think my wiring and connections are correct. i could not determine the error. it does not produce waveforms at all. kakakita ko rin ng thread mo kanina, sasabihin ko sana na ok na yung ckt mo, naunahan mo lang ako ng pindot ng reply.. anyways, your design is ok, so it should work in actual implementation. a picture of your actual circuit and voltage readings on the op-amp pins would help on the diagnostics.
|
|
|
|
|
Logged
|
|
|
|
|
studyante
|
 |
« Reply #9 on: July 27, 2010, 11:43:14 PM » |
|
i will post it tomorrow sir, i do not have any equipment right now..
|
|
|
|
|
Logged
|
|
|
|
|
studyante
|
 |
« Reply #10 on: July 28, 2010, 11:31:56 AM » |
|
this is my setup sir.  the output waveform at pin 7 is a sinusoid with diminishing amplitude. i think its just noise. my input voltage is 5V and -5V
|
|
|
|
|
Logged
|
|
|
|
akhen
Diesel Generator
Pogi/Ganda Points: 41
Offline
Gender: 
Posts: 1080
"Learning is good but application is 100x better!"
|
 |
« Reply #11 on: July 28, 2010, 12:53:18 PM » |
|
di kaya affected ng imperfections ng breadboard yan? hmmmnnn...
|
|
|
|
|
Logged
|
|
|
|
|
labgruppen
|
 |
« Reply #12 on: July 28, 2010, 01:01:20 PM » |
|
how about the voltages (with respect to gnd) of the pins of the ic? (pins 1-7 and 11) you could also try the circuit at lower frequency first (by increasing the 1k and the capacitor). have you checked the continuity of your gnd? (pin2,pin5 and gnd) because some breadboards have the rails broken into groups and the rightmost jumper might be on separate group already.
|
|
|
|
|
Logged
|
|
|
|
|
studyante
|
 |
« Reply #13 on: July 28, 2010, 06:21:07 PM » |
|
sirs i have checked all my connections and wiring and they are all continuous. i tried implementing an integrator using a square wave from a signal generator. there was an output of triangle wave. i was thinking that maybe i should implement a different square wave generator..
|
|
|
|
|
Logged
|
|
|
|
RaffT
Technical People
Hydroelectric
   
Pogi/Ganda Points: 95
Offline
Gender: 
Posts: 3214
more on R-n-D
|
 |
« Reply #14 on: July 28, 2010, 06:38:44 PM » |
|
may decoupling caps kaba sa supply lines ng op-amp mo? baka sobra haba ng supply lines? try using LM324 quad op-amo kaya...
|
|
|
|
|
Logged
|
Learning is CooL! BEAM robotics/DIY UCD180/PSP/AC wtmtr/digiESRmtr/PICkit™2 clone/SGTC/SSTC/DR-SSTC
|
|
|
'yus
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 274
Offline
Gender: 
Posts: 4170
oops, kernel panic!
|
 |
« Reply #15 on: July 28, 2010, 08:43:48 PM » |
|
simpliest sawtooth gen: http://www.electronicslab.ph/forum/index.php/topic,2199.0.htmlas tested by tita B.  nagvavary nga lang ang frequency with supply and with transistor used.
|
|
|
|
|
Logged
|
join PhilRobotics - Amateur Robotics Club of the Philippines
|
|
|
|
labgruppen
|
 |
« Reply #16 on: July 28, 2010, 11:31:31 PM » |
|
sirs i have checked all my connections and wiring and they are all continuous. i tried implementing an integrator using a square wave from a signal generator. there was an output of triangle wave. i was thinking that maybe i should implement a different square wave generator..
ok, the problem lies with the comparator section then. could you inject a triangular wave into the input of your conparator and monitor the output?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
TinTopHack
|
 |
« Reply #18 on: August 14, 2010, 10:42:46 PM » |
|
sirs i have checked all my connections and wiring and they are all continuous. i tried implementing an integrator using a square wave from a signal generator. there was an output of triangle wave. i was thinking that maybe i should implement a different square wave generator..
Pls check the other thread that you started regarding this. There I described a static method of troubleshooting your circuit. That method allows you to slow down your circuit's operation so that you can see what is happening in slow motion. Then we will understand what is wrong with it and how to solve it. http://www.electronicslab.ph/forum/index.php/topic,18727.msg333366.html#msg333366
|
|
|
|
|
Logged
|
The world, as everybody knows, is analog; unless, of course, it's digitized.
|
|
|
|
TinTopHack
|
 |
« Reply #19 on: August 15, 2010, 01:07:02 AM » |
|
ginamit ko yan sa fan speed controller at originally para LED backlight hope makatulong  This design is simple and nice but its ramp up and down tends to curve as shown on the scope because the charging current to the cap is not constant. The circuit used by estudyante generates a linear ramp and down because it uses an integrator where the charging current is constant.
|
|
|
|
|
Logged
|
The world, as everybody knows, is analog; unless, of course, it's digitized.
|
|
|
|
The Philippine Electronics and Technology Forum
|
|
|
|
|
|
Logged
|
|
|
|
|