Blame | Last modification | View Log | Download
EQ6 Mount controller analysis (v1 - 10 Jan 2004)Darren Hutchinsondbh@gbdt.com.au$Id: eq6-mnt.txt,v 1.3 2004/03/07 07:44:59 dbh Exp $Overview:CPU: AT87F51Clock speed: 3.52 MHz (measured at pin 18 of CPU)Firmware: MotorDrive DW3505010RA connector1 RA coil A Driven RA=2,8,16x2 RA coil C Driven RA=2,8,16x3 RA coil A Driven RA=1x, 22R to 1, 178R to 44 RA coli B Driven RA=Any, 157R to 1, 178R to 35 RA coil C Driven RA=1x 173R to 6, 155R to 26 RA coil D Driven RA=Any 173R to 5, 22R to 2DEC connector1 DEC coil A A/B are coil with 16R3 resistance2 DEC coil B3 DEC coil C C/D are coil with 16R3 resistance4 DEC coil DDrive waveforms:RA 0X: Coils not drivenRA 1X: Driven +12V for 114 ms, 0V for 114 ms, not driven for 38ms b/wdriven states, overall time is 302ms [OSC only accurate to 2ms]Each coil driven at 90deg to other coil.Timing correct for half step modeRA 2X: Driven +12V for 75ms, 0V for 76ms, overall time is 151 ms, each coilat 90deg to other coilRA 8X: Overall period is 38ms, no undriven time,coils at 90degRA 16X: Overall period is 12.8 ms, no undriven time, coils at 90deg- Timing indicates full step mode- No evidence of velocity ramp in x2, x8, x16 mode- RA 1X timinig is correct assuming 180 tooth worm and 1:132 transfer gear& gearbox reduction ratioDEC 0X: Outputs not drivenDEC 2X: Overall period 151 ms, no undriven timeDEC 8X: Overall period 37.8ms, no undriven time, coils at 90 degDEC 16X: Overall period 12.6ms, no undriven time, coils at 90 deg- Timing indicates full step mode- No evidence of velocity ramp in x16, x8, or x2 modeDrive circuit:The drive circuit is a fairly plain "H" driver with one quirk that may, ormay not, be intentional design from Synta.The half-"H" is built from a pair on PNP/NPN transistors operating incommon-emitter mode. This is somewhat unusual as circuits intended todrive high currents typically operate in common collector mode.Anyway, the PNP transistor that pulls the output high has a base current ofabout 11 mA (depending on the supply voltage). With a transistor hfe of40 this should give an output current of at least 500 mA.The other part of the bridge is another issue. The identical circuit is used todrive the base of this NPN transistor, but in this case it will only givethe transistor 1.2 mA, leading to a lower current.The rated hfe of the transistor only guarantees a current of about 50 mA, butthe hfe is typically much higher. In the unit measured the coil current seemedto be limited to about 250 mA.This may be an attempt to limit the current in fault conditions whereboth the NPN and PNP transistors are active, or it may just be bad circuitdesign.In any case there are two practical effects:First the transistor may not be saturated, so it will run hot.Second the coil current is limited, giving less torque.Both of these effect mean that the existing electronics would bea poor choice as the basis of a GOTO design (but I guess you knewthat ....)MCU Pin Label Use1 P1.0 1 = RA at 1x, 0 = RA != 1x2 P1.1 Same as P1.03 P1.2 Same as P1.04 P1.3 Same as P1.05 P1.4 Same as P1.0 but connected to relay (1 = relay off, 0 = on)6 P1.5 Same as P1.07 P1.6 Same as P1.08 P1.7 Same as P1.09 RST R/C reset circuit, C = 22uF, R = 5K1, active high10 RXD Data from controller via 1K resistor11 TXD No data12 INT0 0V13 INT1 +5V14 T0 +5V15 T1 +5V16 *WR +5V17 *RD +5V18 XTAL xtal out (freq meas point)19 XTAL Xtal in20 GND 0V21 P2.0 1 = RA coil A to +12v, 0 = No effect22 P2.1 1 = RA coil B to +12v , 0 = No effect23 P2.2 1 = RA coil C to +12v , 0 = No effect24 P2.3 1 = RA coil D to +12v, 0 = No effect25 P2.4 1 = DEC coil A to +12v, 0 = No effect26 P2.5 1 = DEC coil B to +12v, 0 = No effect27 P2.6 1 = DEC coil C to +12v, 0 = No effect28 P2.7 1 = DEC coil D to +12v, 0 = No effect29 *PSEN +5V30 ALE Toggle at 602 KHz (high 540 ns, low 1.1 us) [~6 clk / ALE ]31 *EA +5V32 P0.7 1 = No effect, 0 = RA coil A to 0V33 P0.6 1 = No effect, 0 = RA coil B to 0V34 P0.5 1 = No effect, 0 = RA coil C to 0V35 P0.4 1 = No effect, 0 = RA coil D to 0V36 P0.3 1 = No effect, 0 = DEC coil A to 0V37 P0.2 1 = No effect, 0 = DEC coil B to 0V38 P0.1 1 = No effect, 0 = DEC coil C to 0V39 P0.0 1 = No effect, 0 = DEC coil D to 0V40 Vcc +5VController connector port:Pin numbers from RIGHT looking into socket with tab up (as numbered oncontroller board)1: Switched +12V from hand controller2: Ground3: Data from hand controller via 1K resistor4: Short to pin 15: +12V from source via diode6: Short to pin 5Notes:- Northern hemisphere selected during measurements- Relay is 5V, but appears to be driven via a resistor from the 12V supply- Finder LED has buffering (Q2)- Controller is series diode protected from reverse power connectionMechanical details:14mm from PCB to inside of cover plate5mm from PCB to top of MCU socket9mm from PCB to top of MCU