![]() | ![]() | ![]() |
| |||||||
| Datasheet/Parts Requests Request a datasheet or enquire about part equivalents and/or difficult-to-find parts here. |
![]() |
| | Tools |
| | #1 |
|
Does anyone know of a dual channel 3-input OR gate? I can only find a NOR version but need it on a single chip (no external inverters...though I suppose I could connect it to a 2 channel inverter) because matching is critical. Or anything else that will allow digital lines A, B, and C to drive line D with a HI being dominant over a LO. But I need to prevent the signals on ABCD from travelling backwards to the sources driving either A, B, or C. Kind of like a one-way merge road, like a diode but no voltage drop or current requirements. Last edited by dknguyen; 1st March 2007 at 03:41 AM. | |
| |
| | #2 |
|
You may try the CD4072 (dual 4-input OR gate) or the CD4075 (triple 3-input OR gate).
| |
| |
| | #3 |
|
Search Results DUAL 3-INPUT OR 10610/BEBJC IC LOGIC GATE DUAL 3-INPUT OR ECL10 DIP 16PIN CERAMIC 100102A 3-Input OR-Function Logic Gate 74HC4075N Triple 3-input OR Gate CD4075BE CMOS TRIPLE 3-INPUT OR GATE CD74HC4075E HIGH SPEED CMOS LOGIC TRIPLE 3-INPUT OR GATES MC10110L Dual 3-input/3-output OR Gate http://store.americanmicrosemiconduc...r-3-input.html · 100102A · 10610/BEBJC · 74HC4075N · CD4075BCN · CD4075BE · CD4075BFX · CD74HC4075E · MC10110L · MC10110P · MC10210FN · MC10210L · MC10H210L · MC10H210P · MC356G · SN74HC4075N · SN74LS154N · TC4075BP | |
| |
| | #4 |
|
Thanks. I've gotten rid of some needless parts so I don't need a dual OR anymore so it's easy enough to find a single channel 3-input OR. DOes anyone know if such a thing as a D flip flop with a "bypass" exists? I don't think I can just bypass it with a MOSFET to short across the input and output since that will produce a short if the line is high while the DFF is trying to pull the output low. | |
| |
| | #5 | |
| Quote:
Last edited by hjames; 7th March 2007 at 09:08 PM. Reason: grammar | ||
| |
| | #6 |
|
A latch might do the job, but I think what you want is a multiplexer. Run the input to the flip-flop and the output to the A and B inputs of the mux. Use the select line to choose from among the alternatives. You can implement the mux with gates if you like. Assume D is the input to the flip-flop and Q is the output. Then if S is the select line and M is the multiplexer output you have Code: M = S*D + SQ A transparent latch and a flip-flop are different animals with respect to the system clock. You should exercise some care if you go this way. Last edited by Papabravo; 7th March 2007 at 06:08 PM. | |
| |
| | #7 |
|
I don't think it's a latch I need. Under certain conditions the data is only valid on the rising edge and any stray data that gets passed to the output other than the data on the rising edge will confuse the uC. Hence the D-FF, and not the latch since there is a transparency that occurs. But under other conditions the data is valid all the time and I need to "remove" the D-FF fromt he circuit, hence the bypass. What I need is essentially a mux that the D-FF feeds into, but in my case I could just run an extra line from the D-FF input to the microcontroller rather than add a mux and additonal propogation delay. Last edited by dknguyen; 7th March 2007 at 07:51 PM. | |
| |
| | #8 |
|
Well, how fast are the signals you're dealing with? Using discrete logic like this with a uC is odd. The only times I'd imagine that it is necessary is if the signals are exceptionally fast, or you have some very hard timing requirements.
| |
| |
| | #9 |
|
It's for back EMF zero cross sensing of a brushless motor. The back EMF will be sampled synchronously with the PWM during the PWM off-time. It can only be sampled when the high side FETs are off (low side is simply held on). THe same PWM signal that turns on the FETs will trigger the D-flip flop that will pass the output from the BEMF sampling comparator to the uC only on the rising edge of the PWM (while the high-side switches are off). Therefore, the sampling has to finish before the high-side FET starts to turn on (50ns- the propogation delay of the driver, the FET itself will take 23ns to ramp up). The PWM is 50kHz. The D-FF does not allow the Back EMF to be sampled in the absence of the PWM driving the high-side FETs (again the low-side fets are simply held on), therefore I cannot sample the PWM when the robot is coasting or in any other situation where I want to passively track motion. That's why I want to be able to bypass the D-FF in those situations. Last edited by dknguyen; 8th March 2007 at 01:30 AM. | |
| |
| | #10 |
|
you are welcome.
| |
| |
| | #11 |
|
Why not put the clock for the D-flip flop though a AND or an OR gate depending on your logic polarity? Then feed the PWM signal into one terminal of the gate and connect the other terminal of the gate to your uC so the D-flip flop can be triggered by both sources? Like this:
__________________ Inside every little problem, is a big problem trying to get out. | |
| |
| | #12 |
|
Don't you mean an OR gate? That's actually my preferred choice, except that I kind of wanted to use logic gates all from the same series...you know...just because. THere is actually already a 3-input AND feeding into the D-FF since the D-FF is actually triggered on any rising edge of any of the three high-side MOSFETs). I would need a 4-input OR which doesn't exist for the series, but then it gets all into semantics of wanting to use logic gates from the same series. UPDATE: So I found another series of logic ICs to pick from, one of them being an ECL 4-input OR gate. THanks! EDIT: Bah the ECL thresholds are too close together and aren't quite compatible with CMOS. Maybe I just suck at hunting down logic gates but the only CMOS 4-input single-channel OR I can find is from TI, the CD4072B but the 60ns propogation is too long. Last edited by dknguyen; 8th March 2007 at 06:08 AM. | |
| |
| | #13 | |
| Quote:
What about the 74hc4072? It should have a shorter propagation delay time. Somewhere around 10 - 15 ns I would think.
__________________ Inside every little problem, is a big problem trying to get out. | ||
| |
| | #14 |
|
Is there a single version of it? I said earlier that I simplified the design and got rid of some things (dual is onyl needed if I can also sample the BEMF when the high-side is being held on and the low-side is being PWM'd, but due to comparator bias issues, I cannot).
| |
| |
|
| Tags |
| 3input, channel, dual, gate |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Using Oscilloscopes | mechie | Electronic Theory | 9 | 29th November 2007 10:49 PM |
| 4 input XOR gate | fingers | Datasheet/Parts Requests | 6 | 6th May 2007 08:40 PM |
| Measure DC offset, Hum, DBs gain, Oscillation | walters | General Electronics Chat | 21 | 7th June 2005 04:01 AM |
| Need 6 channel digital input to PC | iwonder | Electronic Projects Design/Ideas/Reviews | 16 | 8th December 2003 09:50 PM |
| Need 6 channel digital input to PC | iwonder | Electronic Projects Design/Ideas/Reviews | 4 | 1st December 2003 07:56 PM |