Electronics > Beginners
Circuit design, lost on what's probably simple transistor logic
(1/2) > >>
blazini36:
Newbie here.

I've built a camera setup for a specific purpose. It uses 2 Machine Vision cameras with independent trigger and strobe control. The strobes are custom made with some high power LEDs. The cameras strobe control output is the "open drain" of an optocoupler. In practice the strobe control pin of the camera sinks to ground. I've been using off the shelf Meanwell AC-DC LED drivers with a DC SSR controlling the drivers output side and the camera strobe pin connected to the V- side of the SSR with the V+ side of the SSR connected to the 24v+ non-switched output of the power supply. This has worked fine for some time but I want to clean up the whole design and integrate things a little better.

I found some PCB mountable Meanwell DC-DC constant current LED drivers (LDH-45B-1050) that put out enough juice to handle the strobes and they are triggerable. The problem is the logic needs to be inverted on the PCB. The drivers have PWM and an analog pin for control. These are also usable as "remote on/off" pins as per the datasheet. If these pins are left floating the driver's output is ON. If the "PWM_DIM" pin is grounded the driver will shut the output off. If that pin is grounded and the "Analog_DIM" pin is brought up to ~1.3v the driver will turn on. SO basically the problem is that the Driver is normally ON when it should be OFF, and the available 0v signal source from the camera to turn it on is what would turn it off.

I came up with this circuit to invert that logic and adds a small 5v switching regulator for a 5v output and the PCBs logic. I'm no board level wiz and I'm  a little lost working with transistors for some reason so I'm not sure if this was the best way to do this. I've tested this circuit with a single driver and it works, I'm not sure where I came up with the diode on the base of the BJT but it doesn't work otherwise. When I went to route the PCB I realized it is not going to work as is since the inversion is dependent on the camera's remote output pulling down the 5v line and since it will pull down the whole 5v line as it is now it would trigger the other driver attached to the same 5v line, not to mention probably make the 5v output useless. I'm looking for help on how to handle the camera's remote (strobe) pin to the drivers control pin

Attached is an image of the schematic. I put an orange box around the 5v pullup that I'm almost certainly doing wrong. I'm open to using an opto, bjt's, mosfets, whatever works the best and has a fast response. I try to minimize the delay since that would require the camera's exposure time to be longer than necessary.

Wimberleytech:
Seems to me, you have tied "RemoteX" to a hard 5V.  There is no control as a result.  The 5V connection should be pulled high via a resistor (1k, 2k, 10k?).  What is driving the RemoteX pins?
blazini36:

--- Quote from: Wimberleytech on December 04, 2018, 02:14:52 am ---Seems to me, you have tied "RemoteX" to a hard 5V.  There is no control as a result.  The 5V connection should be pulled high via a resistor (1k, 2k, 10k?).  What is driving the RemoteX pins?

--- End quote ---


--- Code: ---The cameras strobe control output is the "open drain" of an optocoupler. In practice the strobe control pin of the camera sinks to ground.
--- End code ---

This is the external "remote" connection
blazini36:
My schematic skills aren't the greatest but I've breadboarded this and it seems to work well. I swapped out the BJTs with N-channel mosfets. Still open to improvements or just flat out tell me I'm doing it wrong.

Wimberleytech:

--- Quote from: blazini36 on December 04, 2018, 05:17:03 am ---My schematic skills aren't the greatest but I've breadboarded this and it seems to work well. I swapped out the BJTs with N-channel mosfets. Still open to improvements or just flat out tell me I'm doing it wrong.

--- End quote ---

Those are enhancement-mode n-ch mosfets.  As connected, they never turn on (always off).  There IS a current path, however--it is through the internal drain-source diode.  That is why it works.  Eliminate the mosfets.  Just short across where drain and source are connected.
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod