0
\$\begingroup\$

enter image description hereI have a square wave generator that puts out roughly 200 kilohertz of pure square wave signal. When I give this square wave which is I am sure it is a square to the base of a transistor (NPN) the output turns into something that I would call shark fin wave. The rise has a curve but the fall is perfectly perpendicular. What am I doing wrong?


@Burglups "Welcome. A schematic could ..........." Thank you friend for your warm welcome. Here is the schematic of my entire project. It is going to be a soldering Iron . Thanks for taking time to reply to my post

@periblepsis "Hrmann, You have said what  entirely different? I can't tell......" Thanks friend for cool and nice sketches and clarifying points I really learned a lot from your sketches and commentary that was added.  I'll definitely benefit a lot from these lessons in the next steps of my project.

@Justme "What is the purpose of buffering the NE555...." The purpose of my original circuit is not only buffing the output but also reversing the duty cycle with off-cycle. I have this nice little pulse module N555 (see photos) and it allows me to adjust the frequency as well as the duty cycle. in my project though I need a lower duty cycle because I am working with higher voltage. Unfortunately when I try to reduce the duty cycle the model output becomes really unstable and one of the potentiometers gets a little warm. From the other side I have pretty much no limitation and I can increase the duty cycle to something like 90%. My idea was that in my original circuit, the R1 was gonna provide the voltage for the gate of ES170 MOSFET and when the transistor switches, it should ground the gate of the MOSFET and thus turning it off. The turn off part is working fine but turning on is kind of gradual (shark fin) which is gonna heat up the mosfet and probably kill the MOSFET. My project is building Weller soldering gun. Here are the materials that I have, the simplified diagram, and here are my findings so far:

  • Lowering the duty cycle, since the input to the primary winding is relatively high (110v) is actually the solution (by my understanding) since the ferrite core reaches saturation fast and no need for longer duty cycle. -It somewhat works but the heat produced by the secondary winding is not even close to what I need
  • the D1 (reverse induction protection) gets hot. Even 5A diod gets too hot, especially when there is no load on the secondary winding.
  • The interesting part was that as soon as I short the secondary winding, the linear light dims a bit when I expectet more current go thru the circuit, -the primary winding is roughly 100 turn, but I have no way or knowledge to calculate the precise loops so I go but gut feeling

@ Michal Podmanický ..... for 200kHz I would use some fast switching signal transistor. Thanks friend! I will give it a shot and will let you know how it changed the results. . Cheers!!! @ D.A.S.'s  Friend Thanks!! But too technical for me! I appreciate if you could elaborate a bit oenter image description herer suggest some books etc, to help me understand those vccrccr.... stuff enter image description here enter image description here enter image description here

enter image description here

\$\endgroup\$
12
  • 2
    \$\begingroup\$ Welcome. A schematic could help to better understand how each components interact. \$\endgroup\$
    – user317139
    Commented Oct 25 at 23:12
  • \$\begingroup\$ A picture of the input and output waveforms would be nice, too. \$\endgroup\$ Commented Oct 25 at 23:45
  • \$\begingroup\$ Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. \$\endgroup\$
    – Community Bot
    Commented Oct 26 at 0:09
  • \$\begingroup\$ Hrmann, You have said what you are getting, but you have not said what you want to have. Given we don't know what you want, it is rather more difficult then to tell you what you may be doing wrong. Are you looking for a straight (not curved) ramp? Or something entirely different? I can't tell. \$\endgroup\$ Commented Oct 26 at 0:22
  • \$\begingroup\$ For R1 I used 300 ohm to 1 k ohm and for the R2 I used 470 ohm to 2.2k. The shape of the signal output is perfect square but it comes out as something I would call shark fin. \$\endgroup\$
    – Hrmann
    Commented Oct 26 at 0:25

4 Answers 4

2
\$\begingroup\$

There is a trick to overdrive the base during the transitions (edges) with series capacitor, but not to drive hard (not use low base resistor) during levels to avoid saturation.

Putting the transistor out of hard saturation takes a lot of time , i.e. it slows down the speed/edges.

enter image description here

Btw, for 200kHz I would use some fast switching signal transistor.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Those were, back at least as far as when I was a child in the 1960's, called speed up's. +1 for suggesting it. I think I'll build on what you wrote here (which is a fine idea) since you've reminded me. \$\endgroup\$ Commented Oct 26 at 3:31
1
\$\begingroup\$

There is nothing wrong, the shark fin wave shape is to be expected from that circuit.

The transistor base is driven hard with quite a lot of current into saturation when turning it on, so this makes fast falling edge.

But the transistor is slow to turn off from saturation, and the only thing pulling the output high is just a resistor, so expect to see an RC charging waveform.

The transistor is quite useless though. The NE555 outputs drivers are quite strong and it is a push pull output, capable of likely driving a better square wave directly to your load than the transistor.

\$\endgroup\$
3
  • \$\begingroup\$ thanks but this is going to help me understand BJTs better. What values/ changes are likely to produce a square wave from the square wave input? Would adding a 12v zener in series at the collector junction help me get rid of the the unwanted curve and allow only voltage +12v go to the gate of the MOSFET which is fine by my understanding and opens the gate of IRF890 fully as long as it does not exceed 20v. In other words, the tip of the pulse is going to be a bit rapm but since it is within the safe region, the MOSFET should be fine. The NE555 module that I have dosnt give 10v output \$\endgroup\$
    – Hrmann
    Commented Oct 26 at 1:20
  • \$\begingroup\$ OK, but now you have an unknown NE555 module instead of a chip. As NE555s generally go up to 15V just fine, don't use a module that limits you, or rather, make sure that it could be used with 15V directly. If you bought it from some cheap online store, they really don't know what they are selling so there is a chance your module works with 15V just fine. But otherwise, you can't have a neat square wave with a single transistor pulling low hard and simple resistor pulling high weakly. If the purpose of the square wave load were known, maybe there are better solutions than designing a buffer. \$\endgroup\$
    – Justme
    Commented Oct 26 at 8:19
  • \$\begingroup\$ @Hrmann Looks like this is the same module and it says it supports 5V to 15V. The photo shows an actual TI NE555 on the board, but it’s possible the exact board you have might have a different chip on there. Perhaps the CMOS version. amazon.com/… \$\endgroup\$
    – Ste Kulov
    Commented Oct 26 at 21:45
1
\$\begingroup\$

All transistors have capacitance and probe capacitance doesn't help. While the Vbe is low the rise time of the initial slope matches RC and the slew rate reduces exponentially with voltage across the resistor. dVc/dt = Ic/C = V/RC.

Since the fall slew rate has a very low resistance that results in the rapid switch shorting out the Vce capacitance with a low T=RC. You won't be able to match Rce =Vce(sat)/Ic calculated in the daa sheet of a few ohms or less as a pull up for symmetrical square wave unless you reduce the supply voltage to prevent overheating parts but 50 Ohms pullup to 3.3V is 200 mW which on a 1/4 W resistor means that the Temp rise is 200/250 80% of the rated 125'C temp. rise.

A better solution is just use the totem pole BJT output and expect a 2V drop from Vcc for the high level or use the CMOS version depending on your speed expectations.

\$\endgroup\$
1
\$\begingroup\$

A 555 timer already has a fairly capable 2-quadrant output. One that is much better than your single bipolar with a resistor for its output. Partly for that reason, it wasn't clear to me where you are headed until you wrote in comments:

I am looking to get the same square signal but boosted to something like 15v to open the gate of a MOSFET fully. the 9volt VCC can be increased, up to 15volts.

That helped a lot.

If you don't mind that the output is inverted from the input, then the following behavioral circuit provides 2-quadrant output which can run easily at \$200\:\text{kHz}\$ with commonly found bipolars and will allow you to set \$V_{_\text{PP}}=15\:\text{V}\$ while keeping \$V_{_\text{CC}}=9\:\text{V}\$ (and lower, too, if this is a small battery that gradually declines in output voltage.)

schematic

simulate this circuit – Schematic created using CircuitLab

Michal Podmanický's answer reminded me about the speed-ups. So this circuit includes them for both the high and low sides (\$R_7+C_1\$ on one side and \$R_8+C_2\$ on the other.)

\$Q_3\$ operates in (to my mind) cascode mode. \$Q_1\$ and \$Q_2\$ provide the 2-quadrant output drive.

\$R_1\$ and \$R_2\$ provide some modest management of short-circuit/shoot-through and emitter degeneration. (You may remove them and just use a wire if it works for you.)

Here's the part values for \$V_{_\text{PP}}=15\:\text{V}\$ and \$V_{_\text{CC}}=9\:\text{V}\$ with an output compliance of \$100\:\text{mA}\$:

schematic

simulate this circuit

Here's the LTspice run for it, using two runs: (1) essentially unloaded; and (2) fully loaded:

enter image description here

I just picked the usual bipolars. Dissipation, even with some shoot-through, should be under \$200\:\text{mW}\$. Tolerable.

It appears to work reasonably well at \$200\:\text{kHz}\$.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.