Can an H bridge dc output be inverted to run a 24vac motor?

#5. Your motors

They are essentially three wires. Usually, there is an AC rated capacitor in the controller between FWD and REV. There is also a common.

So, a triac just connects one side of the motor to HOT to make it move FWD or reverse.

If you like, you can make an external circuit so both cannot be on at the same time when you have a micro controlling it.
 
#6. Reverse engineering

That's what you really have to do. Reverse engineer parts of the equation.

1. Is there a DC brake? I suspect not.
1a. Do you see an AC rated cap across two motor leads in the controller
i suspect not.
2. The head had gnd, Supply, pan pos and tilt pos
What are the ranges of values?
3. AC current to motor
4. Limits are probably mechanical and not based on potentiometer position
4a. Based on the instructions

Your current controller:
Your going to need a scope or something. This https://jyetech.com/Products/LcdScope/e150.php comes highly recommended from an embedded engineer that I know.
So, you need to figure out what 0 degrees is and 360 degrees is.

Hopefully it doesn't want to output 450 degrees. My antenna rotor has a 0-450 degree rotation. It helps when say stuff is on either side of the max rotation which we think is 360 degrees. It does not have to move as far.
 
Last edited:
So, you have to:
1. reverse engineer
2. emulate a controller
3. Convert pulse width into a setpoint.


You need to:
1. Measure current position
2, Control motor
3. Measure pulse width

You'll need some sort of processor. Maybe an Arduino.

You'll need some amount of glue logic and a power supply.

Probably the harder problem is measuring the pulse width.

You might want to factor in the lenght of the controller distance as well. If long, using the serial option may be better. You may want to isolated that as well.
 

ebp

Joined Feb 8, 2018
2,332
With your existing antenna positioning controller, are there any adjustments for setting the limits of movement or the midpoint? I'm talking here about the "transmitter" end with the sliders or knobs that are used to set the position.

KISS - note that the TS wants to use a hobby-type servo motor controller IC to do the job, and I think it can probably be done if his heads have the feedback pots installed. He has given no indication he has programming experience, which makes it a big, if highly instructive, undertaking to use a micro.

I wrote this previously but did not post it:
If I were attempting this I would use a microcontroller with an A to D converter. I'd measure the command pulse width with a timer on the processor and measure the voltage from the feedback pot with the ADC. The pot position signal would be ratiometric so a precision reference would be unnecessary. One method would offset and scale one or the other of the pulse width or voltage which would probably require multiplication or division of long integers by annoying constants, which is rather time consuming for an 8-bit processor. Scaling the pulse width to the expected ADC range is probably most sensible since it would be necessary only once per pulse, whereas scaling the ADC would be necessary every reading - no big deal if time permits. Another approach would be to drive each end of the feedback pot with the buffered output of a trimmer (i.e. a buffered trimmer at each end) and tweak everything for nice neat simple arithmetic. You could use simple variable resistors at the ends of the feedback pot, but the adjustments then interact and require iterative tweaking. I'd rather let the processor labor over math. Driving the motors is easy. Some means of "teaching" the controller the necessary factors for scaling, offset and deadband would be nice, but could be worked out the hard way and handled with constants at compile time.

As I've said before, I'm quite sure there are Arduino variants that would be perfectly adequate. A 32 bit version would be able to do the required arithmetic with tons of time left over for napping and twiddling its little electric thumbs. Still, the whole thing is not super trivial in terms of programming and would likely be pretty daunting for someone with no experience with programming.

IF, and I don't think it is a huge if, the feedback signal from the pots in the pan-tilt can be made compatible, an ordinary hobby servo control board with a couple of opto-driven triacs or small SSRs, which could be arranged with inputs in "inverse parallel" with diode current steering in place of the motor.

The hobby servos I've used simply stop when the input signal stops.

===
What would be helpful is someone with knowledge of the more modern "digital" servos used for hobby applications. My very limited understanding of them is that they still use pulse width proportional positioning but are programmable in a number of ways to optimize performance. Presumably there is good info on them somewhere on the web. They've been around for several years.

No matter what is to be used, the potentiometers on the heads are essential.
 
Aside:

I did not know this (LTC2644) http://www.analog.com/en/products/d...al-function-dac/ltc2644.html#product-overview part existed. It's a PWM to voltage converter and not quite PWM which means it may work.

What the chip does do is allow you to probably put something together a little faster that would work, but not so robust.

It also opens up a purely analog approach which I would not want to do.

If you make the proper "software and hardware hooks' you could create an upgrade path which would be:

A totally digital implementation to part Analog/Part digital implementation. Analog meaning totally analog parts (Yuk). You could make the position feedback digital which is probably a better thing than taking the sudo-PWM and converting it to a voltage with an IC.

Here is a Youtube frequency/duty cycle meter.
. Your not quite doing that. Your probably making a high pulse width meter with a repitition frequency meter.
You have the time between a rising and falling edge and the frequency of rising edges.

In the microcontroller/analog approach you do have to worry about noise filtering and A/D and D/A resolution and isoaltion, if wanted is much harder to do.

With any microcontroller project, you have to be careful not to apply voltages with the controller off without some sort of protection.

So, there are my thoughts. There will be hiccups along the way.



Isolation is much harder to do.
 

Thread Starter

born2dive00

Joined Oct 24, 2016
285
The only thing I am not sure of is if I connect the green wires to the microprocessor or other connections,
also I can not seem to find a ac in to dc out put SSR.
Ideals
 

ebp

Joined Feb 8, 2018
2,332
Once more - I can see nothing in the instructions/spec sheet to suggest there is any need to do anything about the brake. There certainly are no pins with anything to do with a brake shown in Figure 6. I am almost entirely convinced it is energized when the motor is energized (disengaged) and brakes when de-energized. If you can see anything in the specs to that say's I'm wrong, please point it out.

The resistor and capacitor for phase shifting will be internal to the head - this conclusion from not the slightest mention of them in the spec sheet.

You need two SSRs with DC input with their inputs connected in inverse parallel to where the DC motor would go. Each SSR drives one of the input leads of the Slo-Syn motor. Depending on the specs of the SSR you may need a diode (1N4148 would do) in series with the input of each to prevent reverse current. The SSRs should have an output rating of 240 VAC or greater (the motor may act as a sort of transformer so the OFF SSR sees higher-than-line voltage). The current rating can be very low - probably something rated at 3 amps is more than sufficient. There is no need for the Arduino where shown - just hook up the SSRs to the servo controller in place of the motor.

The single biggest question remains that of the compatibility of the position potentiometers with the servo controller IC. Typical hobby servos are expected to rotate 180 degrees maximum but use a pot which is about 270 degree rotation. It looks like the pots in the head may vary from 0 to 5k ohms as the head moves from limit to limit, but there are 1k resistors at each end, meaning the effective range is from 1/7 to 6/7, of the applied voltage. This is slightly wider range than you would get with a 270 degree pot moved through 180 degrees. However, apart from the nominal resistance values, this is not entirely clear. There are ways to effectively either compress or expand the voltage from the pots, but not independently without access to the actual pot terminals (which might be possible at the connector).
 

ebp

Joined Feb 8, 2018
2,332
Sorry - I just realized you want to apply DC to the motor to hold it. Why would you do that when the specs say there are brakes, one clearly purely mechanical and automatic and the other presumed to be automatic and electrical?
 
Once more - I can see nothing in the instructions/spec sheet to suggest there is any need to do anything about the brake. There certainly are no pins with anything to do with a brake shown in Figure 6. I am almost entirely convinced it is energized when the motor is energized (disengaged) and brakes when de-energized. If you can see anything in the specs to that say's I'm wrong, please point it out.
I agree.

The resistor and capacitor for phase shifting will be internal to the head - this conclusion from not the slightest mention of them in the spec sheet
It's usually just a capacitor. Putting it in the head is just a bad idea, design wise. The temperature range and humidity range has to be higher. Besides that you might have to take it down to replace it.

You need two SSRs with DC input with their inputs connected in inverse parallel to where the DC motor would go. Each SSR drives one of the input leads of the Slo-Syn motor. Depending on the specs of the SSR you may need a diode (1N4148 would do) in series with the input of each to prevent reverse current. The SSRs should have an output rating of 240 VAC or greater (the motor may act as a sort of transformer so the OFF SSR sees higher-than-line voltage). The current rating can be very low - probably something rated at 3 amps is more than sufficient. There is no need for the Arduino where shown - just hook up the SSRs to the servo controller in place of the motor.
I think I see where your coming from. I'd suggest a precision rectifier circuit with some sort of incorporated deadband so you can feed take a positive voltage > (deadband/2) and a negative voltage <deadband/2) to the SSR for the appropriate direction.

Not a bad idea for a design.

The single biggest question remains that of the compatibility of the position potentiometers with the servo controller IC. Typical hobby servos are expected to rotate 180 degrees maximum but use a pot which is about 270 degree rotation. It looks like the pots in the head may vary from 0 to 5k ohms as the head moves from limit to limit, but there are 1k resistors at each end, meaning the effective range is from 1/7 to 6/7, of the applied voltage. This is slightly wider range than you would get with a 270 degree pot moved through 180 degrees. However, apart from the nominal resistance values, this is not entirely clear. There are ways to effectively either compress or expand the voltage from the pots, but not independently without access to the actual pot terminals (which might be possible at the connector).
I haven't looked at an RC servo datasheet yet. It might be specific to a certain value potentiometer because of a wheatstone bridge sort of setup.

Aside:
With most rail to rail OP-amps you cannot reach ground or Vcc. You might be able to get within 300 mV of ground and maybe 1.2V of the supply voltage. That goes for the common mode voltage too. Now, they could make the reference at 1/2 the supply voltage.

The reason for the EXTRA resistors is to place the inputs within the common mode range of the OP amp. I'm currently working on a design for something that I need to do just that.
My plan is to use an LT3092 to send 10 mA to a control from V+ and then to drop a little over 300 mV in the leads and the ground side of a sliding potentiometer.

This will put the inputs within the common mode range using a 12V supply. I expect to get 0-10 V out of the Instrumentation AMP I plan to use.

So, I have:

12 V supply + (10 mA LTC3092 that drops 1.2 V current source) + 1K potentiometer + (Resistor that drops ~ 400 mV). The IA will measure the voltage across the potentiometer. There would be about 6 feet of cable.

I also need to control a LED at two intensities. I should be able to pull it off with a 6 conductor silver satin phone cord.

One thing missing - the control has an integral switch with a detent. 10 mA is a good current for decent contact wetting. This will cut the current source.

I could choose that without the control connected, you get 0V or any other voltage for that matter.

Question for @ebp...How do you calibrate the thing? And the question you raised...Would the range be reduced because of the extra resistance in the head?
 
Sorry - I just realized you want to apply DC to the motor to hold it. Why would you do that when the specs say there are brakes, one clearly purely mechanical and automatic and the other presumed to be automatic and electrical?
Totally agree. It appears to be automatic. Something tells me that because of the automatic braking, it might not like to pan and tilt at the same time.
 
So, maybe it is possible. I found this (MC33030) IC https://www.onsemi.com/pub/Collateral/MC33030-D.PDF which effectively uses voltages.

The AD IC referenced earlier can convert a pulse width to a voltage, so combined you have a servo system.

So, thinking out loud, you need to uncouple the motor drive into FWD and REVERSE. That's likely two comparitors. How close to 0V you need to be, I have no idea.

You have reference and feedback voltages. Can VCC be 5V? Probably.

Now you have a reference.

Take the AD chip and generate a voltage from a pulse width.

Level shift with an IA (instrumentation amp) to be consistant with the pots in the head.

Add gain/ attenuate/ possibly invert to calibrate. So that the PWM position agrees with the head position.

You might have something doable.

Nice idea @epb. I took it a bit further, but did not look at some of the details.

Aside:
A direction output with no current being drawn can basically mean at a limit.
 

Thread Starter

born2dive00

Joined Oct 24, 2016
285
The break switch is either the limit switch that is on the heads limiting the pan rotation to 350 degrees, ( this is a problem as it is not 360 and has a 10 degree blind spot) for the tilt there are 2 limit switches one each side.

OR the ac/dc break on the system with an additional relay to hold the position of the motors. ( this is the one I intend to use) This one would be controlled by a 360 1 turn pot so in effect the motor cuts out at 0/360 and the break is applied removing the limit switch blind spot for the pan.



Once more - I can see nothing in the instructions/spec sheet to suggest there is any need to do anything about the brake. There certainly are no pins with anything to do with a brake shown in Figure 6. I am almost entirely convinced it is energized when the motor is energized (disengaged) and brakes when de-energized. If you can see anything in the specs to that say's I'm wrong, please point it out.

The resistor and capacitor for phase shifting will be internal to the head - this conclusion from not the slightest mention of them in the spec sheet.

You need two SSRs with DC input with their inputs connected in inverse parallel to where the DC motor would go. Each SSR drives one of the input leads of the Slo-Syn motor. Depending on the specs of the SSR you may need a diode (1N4148 would do) in series with the input of each to prevent reverse current. The SSRs should have an output rating of 240 VAC or greater (the motor may act as a sort of transformer so the OFF SSR sees higher-than-line voltage). The current rating can be very low - probably something rated at 3 amps is more than sufficient. There is no need for the Arduino where shown - just hook up the SSRs to the servo controller in place of the motor.

The single biggest question remains that of the compatibility of the position potentiometers with the servo controller IC. Typical hobby servos are expected to rotate 180 degrees maximum but use a pot which is about 270 degree rotation. It looks like the pots in the head may vary from 0 to 5k ohms as the head moves from limit to limit, but there are 1k resistors at each end, meaning the effective range is from 1/7 to 6/7, of the applied voltage. This is slightly wider range than you would get with a 270 degree pot moved through 180 degrees. However, apart from the nominal resistance values, this is not entirely clear. There are ways to effectively either compress or expand the voltage from the pots, but not independently without access to the actual pot terminals (which might be possible at the connector).
 

Thread Starter

born2dive00

Joined Oct 24, 2016
285
the resistor and capacitor for the phase shifting and the hold are already onboard the head, built in. I just have to energize the circuit.

Once more - I can see nothing in the instructions/spec sheet to suggest there is any need to do anything about the brake. There certainly are no pins with anything to do with a brake shown in Figure 6. I am almost entirely convinced it is energized when the motor is energized (disengaged) and brakes when de-energized. If you can see anything in the specs to that say's I'm wrong, please point it out.

The resistor and capacitor for phase shifting will be internal to the head - this conclusion from not the slightest mention of them in the spec sheet.

You need two SSRs with DC input with their inputs connected in inverse parallel to where the DC motor would go. Each SSR drives one of the input leads of the Slo-Syn motor. Depending on the specs of the SSR you may need a diode (1N4148 would do) in series with the input of each to prevent reverse current. The SSRs should have an output rating of 240 VAC or greater (the motor may act as a sort of transformer so the OFF SSR sees higher-than-line voltage). The current rating can be very low - probably something rated at 3 amps is more than sufficient. There is no need for the Arduino where shown - just hook up the SSRs to the servo controller in place of the motor.

The single biggest question remains that of the compatibility of the position potentiometers with the servo controller IC. Typical hobby servos are expected to rotate 180 degrees maximum but use a pot which is about 270 degree rotation. It looks like the pots in the head may vary from 0 to 5k ohms as the head moves from limit to limit, but there are 1k resistors at each end, meaning the effective range is from 1/7 to 6/7, of the applied voltage. This is slightly wider range than you would get with a 270 degree pot moved through 180 degrees. However, apart from the nominal resistance values, this is not entirely clear. There are ways to effectively either compress or expand the voltage from the pots, but not independently without access to the actual pot terminals (which might be possible at the connector).
 

Thread Starter

born2dive00

Joined Oct 24, 2016
285
The DC input minimum is 3v to 32v anything less than this and the voltage to the SSR will drop out.
Diode noted.
If I connect the SSR to where the motor goes 2 questions? doesn't the motor voltage drop as it gets close to the zero point on the positioner?
If I connect the SSR 1 lead from the left junction on the servo circuit, running to the left + in on the SSR
and if I connect the SSR2 lead from the right junction circuit running to the + on the right SSR
Then running them both to ground, will that work? doesn't both legs on the servo circuit powered at the same time or is it only one way at a time?

Concerning The pot I have a 1 turn 360 degree pot (more or less 370 degrees) or I can use a 1 turn 360 non continuous servo and strip the pot off. and mount it to the head.


You need two SSRs with DC input with their inputs connected in inverse parallel to where the DC motor would go. Each SSR drives one of the input leads of the Slo-Syn motor. Depending on the specs of the SSR you may need a diode (1N4148 would do) in series with the input of each to prevent reverse current. The SSRs should have an output rating of 240 VAC or greater (the motor may act as a sort of transformer so the OFF SSR sees higher-than-line voltage). The current rating can be very low - probably something rated at 3 amps is more than sufficient. There is no need for the Arduino where shown - just hook up the SSRs to the servo controller in place of the motor.

The single biggest question remains that of the compatibility of the position potentiometers with the servo controller IC. Typical hobby servos are expected to rotate 180 degrees maximum but use a pot which is about 270 degree rotation. It looks like the pots in the head may vary from 0 to 5k ohms as the head moves from limit to limit, but there are 1k resistors at each end, meaning the effective range is from 1/7 to 6/7, of the applied voltage. This is slightly wider range than you would get with a 270 degree pot moved through 180 degrees. However, apart from the nominal resistance values, this is not entirely clear. There are ways to effectively either compress or expand the voltage from the pots, but not independently without access to the actual pot terminals (which might be possible at the connector).
 

Thread Starter

born2dive00

Joined Oct 24, 2016
285
The pan and tilt are on separate circuits,
one for the pan and one circuit and one for the tilt circuit, they can be operated either independently or together.

Totally agree. It appears to be automatic. Something tells me that because of the automatic braking, it might not like to pan and tilt at the same time.
 

ericgibbs

Joined Jan 29, 2010
21,658
hi born2dive00,

Interesting Thread.

If you do use a Copyrighted material, I will remind you of this rule (#3):
"Copyrighted material. When referencing copyrighted material, please provide the relevant credit. In some cases, an intellectual property owner may require they give you permission before you can reprint or reuse their work. In most cases, a link to the original source is acceptable, if applicable."

Eric
Moderation.
 

Thread Starter

born2dive00

Joined Oct 24, 2016
285
Thank you for the reminder, most of the things I have mentioned have links or PDF of the original work somewhere in the thread. the only thing I have not used is the relay photo which the detail is scrambled, ahhh the photo of the head thanks got it.
Do I have to do it each time I use the same photo from the document??

link to the head photos https://www.albemarleradio.org/2013...imuthelevation-rotator-and-satellite-tracker/
link to the superior slo syn document http://www.dah-shin.com.tw/templates/cache/20589/images/5396d4ce51663.pdf
Did I miss something else?? Sorry if I have

hi born2dive00,

Interesting Thread.

If you do use a Copyrighted material, I will remind you of this rule (#3):
"Copyrighted material. When referencing copyrighted material, please provide the relevant credit. In some cases, an intellectual property owner may require they give you permission before you can reprint or reuse their work. In most cases, a link to the original source is acceptable, if applicable."

Eric
Moderation.
 
Last edited:
Top