tyilgin
Junior Member level 2
- Joined
- Jul 9, 2010
- Messages
- 23
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,504
Hi,
The schematic without bjt does not work at all, thus let's focus on the one with bjt. It may work.
A comparator has no dedicated GND pin, thus indeed it does never know that 300V exist.
So if all voltages at the comparator are within it's supply rails everything is fine.
300V ... and MCU ... often is a bad combination. Consider to galvanically isolate (according safety regulations) the MCU circuit from the high voltage circuit. You talk about delay... then a high ohmic path in combination with stray capacitance will create some delay.
"Output current 6mA" .. just means it can drive at least (worst case) a load with 6mA. So 6mA and less is fine.
"Output voltage 36V" ... with respect to what? The datasheet should tell. Most probably with respect to the negative supply pin.
Your power calculation: does not apply for the comparator since it never sees a high voltage difference wrt the supply pins. It rather relates to the high ohmic resistor.
Zener is no good solution.
****
Why high side sensing? Isn't there a return path in the low side?
Why not using isolated current sensing?
Show the complete schematic.
Tell us your timing requirements in values with units.
Klaus
Thank you for your attentionSchema2 can't work, the simulated voltage of 281V is fake, result of an incorrect comparator model. The output voltage is clamped to negative supply rail by substrate diode, respectively the MCU input will be always high.
"IGBT (over)current behavior is usually given in the datasheet."Hi,
there are cheaper solutions than the TMCS chip. From Allegro or LEM and others...
IGBT (over-) current behaviour usually is given in it´s datasheet.
1us for the full signal chain with a 1.3us comparator is a bit unrealistic. ;-)
Klaus
"Check datasheet: Fig. 11: SOA Characteristics."Hi,
please in future provide (and use) datasheets directly form the manufacturer. They are most up to date, no advertisement, less likely to contain malware.
Check datasheet: Fig. 11: SOA Characteristics.
I even guess 2us is a bit optimistic.
CD4068? really? Why no 74HC(T)30 --> 10 times faster, cheaper, more modern..
Or why not combine all low side comparators to one input (wired AND) and combine all high side comparators?
A schmitt trigger input won´t hurt...
Schematic: (my saying: a schematic without capacitors is no schematic) bypass capacitors on all power supplies and all REF signals.
The bjt has a specification of 300V absolute maximum. So if you are just for 1 microsecond at 300.01V you are off specification. It is the absolute edge. I don´t recommend this. Also the small distance between 300V pins gives no safety margin.
The 1.5M Ohms resistor needs to be rated for (more than) 300V "Continous operating voltage" .. not 300V short time overvoltage.... and not 300V isolation voltage. Especially at DC when you get one tiny arc aross it, it may not self distinguish the arc. --> fire.
Check datasheet on this.
PCB layout will have big impact on safety and reliability.
Klaus
You need to improve your internet search skills.Thanks to you, I learned about the existence of the 74HC(T)30
Since 4078 would not be found, I returned to 4068.Hi,
Motorla 74HC4078:
I don´t know how many years Motorola does not produce logic ICs anymore. So I doubt you can buy a new motorola 74HC4078. Currently ST seems to still produce them...and provide a datasheet. Simple to find.
You need to improve your internet search skills.
You are not looking for something like xx4078 or it´s replacement.
--> Just do an "8 input NAND gate" search.
Schmitt trigger:
--> Internet search skills ;-)
It´s used with somehow slow signals or in noisy environment. It just ensures very clean switching .. including hysteresis.
(Again: it´s not urgent to use schmitt trigger here)
pull up is not mandatory:
Who said that? In which context?
Your new circuit:
* low side is fine
* high side won´t work. It is a step back to schematic 2 fo post#1, where we already know it does not work.
BTW: is this a simulation tool that you use?
If not, please do so. And do basic tests on your own.
Klaus
Hi,Hi,
"output currrent min. 6mA"
read it as: "the comparator can drive at least 6mA.
This means it´s risky to draw more than 6mA. But it´s safe to draw less.
For the output to become HIGH you need a pullup current. At 15V you may use a resistor of 2.5 kOhms or higher.
***
Simply use a BJT like in post#1 or post#4.
***
Use a simulation software.
Klaus
hiNot sure I followed what your are doing, but the short answer to your posted question is that yes, any voltage on the output of a LM339 over it's maximum rating will cause a problem (likely a zapped LM339).
Schematic: (my saying: a schematic without capacitors is no schematic) bypass capacitors on all power supplies and all REF signals.Hi,
please in future provide (and use) datasheets directly form the manufacturer. They are most up to date, no advertisement, less likely to contain malware.
Check datasheet: Fig. 11: SOA Characteristics.
I even guess 2us is a bit optimistic.
CD4068? really? Why no 74HC(T)30 --> 10 times faster, cheaper, more modern..
Or why not combine all low side comparators to one input (wired AND) and combine all high side comparators?
A schmitt trigger input won´t hurt...
Schematic: (my saying: a schematic without capacitors is no schematic) bypass capacitors on all power supplies and all REF signals.
The bjt has a specification of 300V absolute maximum. So if you are just for 1 microsecond at 300.01V you are off specification. It is the absolute edge. I don´t recommend this. Also the small distance between 300V pins gives no safety margin.
The 1.5M Ohms resistor needs to be rated for (more than) 300V "Continous operating voltage" .. not 300V short time overvoltage.... and not 300V isolation voltage. Especially at DC when you get one tiny arc aross it, it may not self distinguish the arc. --> fire.
Check datasheet on this.
PCB layout will have big impact on safety and reliability.
Klaus
Let´s compare it with a bungee rope.I guess I must still be misunderstanding. I understood that when it was at least 6mA, I had to draw more than 6mA.
This is completely wrong. Why do you think so? Did I write something wrong?When I read your comments here again, I perceive that you do not recommend bjt.
Hi,Hi,
Let´s compare it with a bungee rope.
If the information says it can carry 60kg ... 160kg.. it does not say you need put 60kg on it.
You may put 10kg on it and it will safely work.
Put 60kg on it and it will work in either case.
Put 160kg on it and it will work, but not under all conditions. (it will not break, but it may stretch too long)
Put more than 160kg on it and it may probably not work.
****
Schmitt trigger:
A schmitt trigger does not move. What exactly do you mean?
And a schmitt trigger is something completely different to an OPAMP.
***
Proteus:
I don´t use Proteus, but I would be surprised if it does not support one of the most standard comparators.
And:
Don´t expect it to warn you.
But still you can feed it with some input and see what the output is.
Like with the "non bjt" circuits it should show the circuit output always HIGH, independent of the input.
So it´s rather simple to see that the circuit does not do what you expect / does not work at all.
***
This is completely wrong. Why do you think so? Did I write something wrong?
--> I recommend to use a BJT. But I also recommend to use a suitable BJT with appropriate V_CE specification.
Klaus
The the "input range" usually more likely is 0.3V beyond supply rails. Datasheet gives exact specificationSince the input voltage ranges of the schimith trigger are fixed (I think it's called VT+,VT-),
Hi,Hi,
The the "input range" usually more likely is 0.3V beyond supply rails. Datasheet gives exact specification
and VT are the threshold levels, where the logic changes state.
Where do you see the problem with using schmitt trigger inputs in your project? I don´t understand.
Are you sure you still refer "schmitt trigger" to logic ICs (as I meant it in post#8 and you referred to in post#9)
like 74HC(T)14, 74HC(T)132...
BTW: the video (and other videos of this content creator) are not very prefessional, often not complete ... and partly even wrong. It is not the best choice of video.
Better use videos provided or supported by semiconductor manufacturers, universities or professionals with good reputation. Sadly there are a lot of bad videos around.
An OPAMP is meant for analog output, never hitting the rails, never saturated output.
A comparator is meant for digital output, usually always saturated.
Thus a professional would use a comparator when (self) designing a comparator with hysteresis (what they and many other call a Schmitt trigger). A professional won´t use an OPAMP unless it clearly specified for saturated output and specified for big input voltage difference.
While you can always use a comparator you can not always use an OPAMP.
This does not mean that every "opamp made Schmitt trigger" never can work. It may even work with a lot of standard OPAMPS. It depends on the operting condition. Some OPAMPs may fail with modified temperature, modifed supply voltage, modified common mode input voltage, big differential input voltage (it may even burn an OPAMP) and it may cause timing problems.
Klaus
No, but you can look at the output voltage and see if it exceeds the devices rating.But even if it had a library, I don't think it would warn me about what I asked at the beginning.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?