|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
EE question: convert RS232 voltages to RC servo
Looking for EE's to comment please. I want to convert a -12V to +12V PWM signal to RC servo voltage levels (0 to +5V), with sufficient current to reliably drive a Victor. I cannot locate any specs for the Victor's input impedance and required minimum input voltage. I'm thinking a simple circuit like this will do the job. The questions I have are these: - Is 1200 ohm a small enough output impedance to reliably drive the Victor's input? - Is the 2.7MegOhm small enough to allow the 12V input to drive the 2N3904's base? - Will the transistor operate as desired (i.e. shut off) with a -12V signal at the base, without damaging the transistor? - Will these resistance and voltage values keep the 2N3904 within a safe operating range ? Last edited by Ether : 18-06-2012 at 22:04. |
|
#2
|
|||
|
|||
|
Re: EE question: convert RS232 voltages to RC servo
Victors are opto-isolated, so really you just need to get your current in to the right range. You should be able to do this with a resistor and a(n optional?) diode (to be nice to the LED in the opto at -12V.
I'm not sure what value resistor would be best. Your base resistor seems a bit high by my math, I'm not convinced it will turn on enough to register as a low... but my BJT math is extra rusty. I'd replace the BJT with a FET and lower the gate resistance to 100k, like the digital-age/class-D EE whippersnapper I am. |
|
#3
|
||||
|
||||
|
Re: EE question: convert RS232 voltages to RC servo
Am I interpreting your suggestions correctly? And, does anyone have specs on:
|
|
#4
|
|||||
|
|||||
|
Re: EE question: convert RS232 voltages to RC servo
Ether,
As Eric said the input is an opto isolator. If you look at the schematic for the Jaguar, it is very similar, but not identical. A few years ago I made a device that would drive the victors and found it required about twice as much current as the Jaguars. I wanted the same device to drive either. On your drawing you didn't say if the other side of the input was going to + vcc or gnd. If it is going to gnd, then 1200 will not supply enough current. I will try to dig up the stuff I used. Seems like I remember it needed to be in the 400 ohm range. -Hugh |
|
#5
|
|||||
|
|||||
|
Re: EE question: convert RS232 voltages to RC servo
Ehter,
Check out this thread, if you had not already. http://www.chiefdelphi.com/forums/sh...ghlight=victor Hugh |
|
#6
|
||||
|
||||
|
Re: EE question: convert RS232 voltages to RC servo
Quote:
In that thread, Don Rotolo posted: Quote:
|
|
#7
|
|||
|
|||
|
Re: EE question: convert RS232 voltages to RC servo
I suggest a fully series circuit: +/-12V -> diode -> resistor -> PWM input -> return.
Lets take a look at the jaguar because we have a schematic available for it. Its PWM input stage is a H11L1M in series with 150 Ohms. The H11L1M has a threshold current of 1.6mA, and can handle up to 60mA continuous. It specs forward voltages at 10mA in the 1.2 to 1.5V range. It can only handle up to 6V in reverse. Lets target 3mA. The forward voltage is in the 1 to 1.3V range (Figure 6 plus slop), and lets say that our series diode's forward voltage is .3V. Total silicon drop is somewhere between 1.3V and 1.6V, lets call it 1.5V. Our resistance should be (12V - 1.5V) / 3 mA = 3.5kOhm Zener-ing it can be made to work, but that is more appropriate for a voltage-mode input. The Jaguar and Victor both have current mode inputs. |
|
#8
|
||||
|
||||
|
Re: EE question: convert RS232 voltages to RC servo
Quote:
Last edited by Ether : 19-06-2012 at 16:18. Reason: added hand sketch |
|
#9
|
|||
|
|||
|
Re: EE question: convert RS232 voltages to RC servo
Quote:
![]() Take the 1N914, selected by sorting digikey by price and choosing the first one with a decent datasheet. Figures 1 and 2 show reverse bias current curves, and are in the 20nA range for 12V. I'm confident the LED can handle this 20nA of reverse bias because at 3V in reverse it is leaking up to 10uA. The 6V number on the H11L1M sheet means that 6V @ zero ohms is being applied and survived forever in a worst case manufacturing / temperature scenario. Another option is to put the diode antiparallel across the LED. The disadvantage is that it conducts in both directions. The advantage is that it is easy to prove from the datasheets that everything will be ok. |
|
#10
|
||||
|
||||
|
Re: EE question: convert RS232 voltages to RC servo
Quote:
Hugh mentioned in an earlier post that the Victor requires about twice as much input current as the Jag. So make the Vic 6ma. Divide that into 12 volts to get approx 2000 ohms for the resistor in Figure C. Other than mail order and Radio Shack, are there any other places any more that might carry small electronic parts like resistors and diodes? For example, would RC hobby stores carry stuff like that? I used to have drawers full of parts, collected from old radios and TVs and hi fi equipment I disassembled. Somewhere along life's road and many moves they got lost or discarded. |
|
#11
|
|||||
|
|||||
|
Re: EE question: convert RS232 voltages to RC servo
Quote:
Quote:
|
|
#12
|
||||
|
||||
|
Re: EE question: convert RS232 voltages to RC servo
Would this work? No +5V supply required. R1 = 1200 ohms, R2 = 5600 ohms. I have these parts on hand. My main question is, would the +/-12V on the base turn the transistor on and off without damaging it? |
|
#13
|
||||
|
||||
|
Re: EE question: convert RS232 voltages to RC servo
The PWM outputs from the digital sidecar: can anyone tell me what their output impedance is please? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|