Rotar47: Difference between revisions

From Tučňák Wiki
Jump to navigation Jump to search
Ok1zia (talk | contribs)
Ok1zia (talk | contribs)
Line 55: Line 55:


=Menu=
=Menu=
Menu is run by entering angle 399. You can move between menu items pressing '''A''' and '''B''', alternativelly by '''2''', '''5''' and '''8'''. Next level is entered by ''''D'''', escape is '''C'''.
Menu is run by entering angle 399. You can move between menu items pressing '''A''' and '''B''', alternativelly by '''2''' and '''8'''. Next level is entered by ''''D'''', escape is '''C'''.


When configuring, some tasks are not independent. I you are not sure, please use configuration items in numbered order.
When configuring, some tasks are not independent. I you are not familiar with implemenation details, please use configuration items in numbered order.


# '''Reset 2xAzim.''' - Initialize rotator to control two independent azimuthal motors.
# '''Reset 2xAzim.''' - Initialize rotator to control two independent azimuthal motors.
# '''Reset Azim+Ele''' - Initialize rotator to control one azimuthal and one elevation motors.
# '''Reset Azim+Ele''' - Initialize rotator to control one azimuthal and one elevation motors.
# '''Autoconfig''' - Performs automatical intelligent [[Rotar47#Auto configuration|Auto configuration]].
# '''Autoconfig''' - Performs automatic intelligent [[Rotar47#Auto configuration|Auto configuration]].
# '''Clear stops''' - Clear all stops (ends of rotation). See later.
# '''Turn left (-1)''' - Decrement angle by 360 degrees. It's not important, is good to have turn count near to zero.
# '''Turn right (+1)''' - Indrement angle by 360 degrees. Same sa above.
# '''Fix angle''' - Use after installation. Turn antenna to the known direction (using compass or beacon) and enter this angle here. '''Warning:''' In new installation first turn the antenna over synchronization contact.
# '''Left stop''' - Turn antenna left (negative) for 1-2 turns respeting antenna cable damage and enter this item. Rotator will remember angle and prevent to turn behind it.
# '''Right stop''' - As above.
# '''Comm address''' - Communication address for PC connection. Normally use 240. Decrement and increment address by '''4''' and '''6'''.
# '''Debug''' - Dump internal variables. Use '''A''' and '''B''' to switch channels. Use '''2''' and '''8''' for item switching.
## '''dbgp''' - pressing '''4''' and '''6''' you can interconnect input pulse pins with speaker connected to CPU pin P1.5. Usable to debug sensor problems by ears.


=Auto configuration=
=Auto configuration=
==Azimuth==
==Azimuth==
==Elevation==
==Elevation==

Revision as of 09:37, 22 March 2009

Antenna rotator 4.7

Rotar is digitally controlled antenna rotator. It can drive DC commutator motors, AC 2-phase motors or linear motor (superjack) for elevation. It has two independent channels so it can drive two azimutal motors or one azimutal and one elevation motor. Sensors are magnetical contact providing pulses. Each channel has two contacts - one for pulses and second for synchronization. Human control is done by matrix keyboard 4x4 and HD44780 compatible display. It can communicate with PC via TTL-level serial port. Available accessories is USB converter for control using Tucnak.

Principe of rotator 4.7

Gallery

Circuit diagram

Circuit diagram of rotator 4.7

PCB

Note: 600 DPI have images in Full resolution, MediaWiki uses thumbnails.

Sensors

Typical sensor consists of two contacts. They switching "live" wire to ground.

Pulses contact

It generates pulses depended of antenna rotation. Pulses does not depend on rotation direction. Direction is taken from polarity of motor drive.

We use various resolution from 480 to 1060 pulses per 360 degrees. Length of ON and OFF time must be longer than about 2 ms (state is sampled by timer with period 480 Hz). So good idea is to have pulse ratio 1:1.

Typically we use magnet glued on applicable whell in gear. In gears with no space and/or magnetic wheel we used optical sensor. But be aware of RFI if electronics circuit of sensor is near to antenna.

Synchronization contact

Pulses can be lost. So there is synchronization contact at known angle. When this contact is switched on, the rotator is synchronized to the known angle. Switch-on angles are two. First from positive, second for negative direction. Good ide is to have known synchronization angle in direction where operator beams antenna often.

We use magnet on the mast or lobe with switch.

User control

Operator can control rotator using matrix keyboard 4x4:

  • * - While pressed, antenna is moving in negative direction.
  • # - While pressed, antenna is moving in positive direction.
  • A - Switch rotator A active. In elevation mode raise elevation.
  • B - Switch rotator B active. In elevation mode lover elevation.
  • C - Stops rotating, deletes number as Backspace, escapes from menu
  • D - Used as Enter for angle confirm or in menu.
  • 4 - Turns antenna by 10 degrees in negative direction
  • 6 - Turns antenna by 10 degrees in positive direction
  • 7 - Turns antenna by 20 degrees in negative direction
  • 9 - Turns antenna by 20 degrees in positive direction
  • three digits number - Turns antenna to entered angle.
  • 399 - Enters menu

Menu

Menu is run by entering angle 399. You can move between menu items pressing A and B, alternativelly by 2 and 8. Next level is entered by 'D', escape is C.

When configuring, some tasks are not independent. I you are not familiar with implemenation details, please use configuration items in numbered order.

  1. Reset 2xAzim. - Initialize rotator to control two independent azimuthal motors.
  2. Reset Azim+Ele - Initialize rotator to control one azimuthal and one elevation motors.
  3. Autoconfig - Performs automatic intelligent Auto configuration.
  4. Clear stops - Clear all stops (ends of rotation). See later.
  5. Turn left (-1) - Decrement angle by 360 degrees. It's not important, is good to have turn count near to zero.
  6. Turn right (+1) - Indrement angle by 360 degrees. Same sa above.
  7. Fix angle - Use after installation. Turn antenna to the known direction (using compass or beacon) and enter this angle here. Warning: In new installation first turn the antenna over synchronization contact.
  8. Left stop - Turn antenna left (negative) for 1-2 turns respeting antenna cable damage and enter this item. Rotator will remember angle and prevent to turn behind it.
  9. Right stop - As above.
  10. Comm address - Communication address for PC connection. Normally use 240. Decrement and increment address by 4 and 6.
  11. Debug - Dump internal variables. Use A and B to switch channels. Use 2 and 8 for item switching.
    1. dbgp - pressing 4 and 6 you can interconnect input pulse pins with speaker connected to CPU pin P1.5. Usable to debug sensor problems by ears.

Auto configuration

Azimuth

Elevation