How to simulate the outputs of comparator and the output of the NOR gate?

ericgibbs

Joined Jan 29, 2010
19,121
Hi tie,
Found your problem.
The va and vb input pulses are over lapping so the OR always sees a High.
Decrease the Va and Vb pulse widths a little and also speed up their edges.
EEG57_ 1658.png
 

ericgibbs

Joined Jan 29, 2010
19,121
Hi tie,
Why have you made the rise and fall times of the two pulses 5 and 10 mSec???

Can you explain what is the purpose of this project?

E

Added a test sim for your LM393A, it works OK.
E
EG57_ 1663.png
 

Attachments

Last edited:

Thread Starter

tienk

Joined Apr 8, 2024
76
Hi tie,
Why have you made the rise and fall times of the two pulses 5 and 10 mSec???

Can you explain what is the purpose of this project?

E

Added a test sim for your LM393A, it works OK.
E
View attachment 320711
1714048769409.png
the 5 and 10ms is the Ton and Tperiod respectively
The BSPD is designed to spot brake system abnormalities or faults, including erroneous pressure measurements, and take the appropriate preventative measures to avoid accidents or breakdowns in the future.
 

Thread Starter

tienk

Joined Apr 8, 2024
76
View attachment 320712
the 5 and 10ms is the Ton and Tperiod respectively
The BSPD is designed to spot brake system abnormalities or faults, including erroneous pressure measurements, and take the appropriate preventative measures to avoid accidents or breakdowns in the future.
Hi tie,
Found your problem.
The va and vb input pulses are over lapping so the OR always sees a High.
Decrease the Va and Vb pulse widths a little and also speed up their edges.
EView attachment 320703
have you tried testing like you did for the modified one you did because im not sure if its because of the parameters or the circuit itsleld
 

Alec_t

Joined Sep 17, 2013
14,411
In your post #20 asc file you have the +ve supply pins of U12 nd U13 connected to ground instead of +5V.
Voltage sources V2w and low are in conflict with the outputs of comparators U8-11.
 

Thread Starter

tienk

Joined Apr 8, 2024
76
In your post #20 asc file you have the +ve supply pins of U12 nd U13 connected to ground instead of +5V.
Voltage sources V2w and low are in conflict with the outputs of comparators U8-11.
what do you mean by U12 and U13, because i dont have these
 

Thread Starter

tienk

Joined Apr 8, 2024
76
Hi tie,
How do you expect this Brake section to work.?
E
the brake and the current section are the same, they would be sensors which need stay in the range made by the window comparator if but if both of them are out of range it will output low
 

ericgibbs

Joined Jan 29, 2010
19,121
Hi tie,
I understand what you are intending with these comparators, but with those clamp diodes on the Current and Brake inputs, how can the signals switch the comparators.
Look at the image I have posted.

Try the circuit with and without the clamp diodes, and check their performance.
E
 

Thread Starter

tienk

Joined Apr 8, 2024
76
Hi tie,
I understand what you are intending with these comparators, but with those clamp diodes on the Current and Brake inputs, how can the signals switch the comparators.
Look at the image I have posted.

Try the circuit with and without the clamp diodes, and check their performance.
E
thats a transient voltage suppressor diode (tvs) its just an addition to protect from any spikes
 

Thread Starter

tienk

Joined Apr 8, 2024
76
You do in the simulation (asc) file you attached to post #20. They are comparators on the right side of the schematic.
yes thats a mistake but im trying to figure out why the output of the logic gate is constant and not outputting pulse waves
 
Top