Servers by jDrones

MOT_PWM_TYPE = 3 (BrushedWithRelay), centre stick outputs 10% pwm period, not 0%

ArduRover 4.0 is installed on an Omnibus F4 V3 Pro.
Skid steering option has been set.
BRD_PWM_COUNT = 2
SERVO1_FUNCTION = 73 (Throttle Left)
SERVO2_FUNCTION = 74 (Throttle Right)
RELAY_PIN = 52
RELAY_PIN2 = 53

Preliminary testing of the motor setup included testing the PWM1 and PWM2 outputs with and oscilloscope. The following was identified.

At neutral or centre stick setting (including GCS Motor test), the minimum PWM period is 10% of the duty cycle, not 0%.
Ch3-roll-centred

When full right stick setting (including GCS Motor test), the maximim PWM period is 90% of the duty cycle, not 100%
Ch3-roll-right-max

Similarly full left stick setting (including GCS motor test), the maximim PWM period is 90% of the duty cycle, not 100%
Ch3-roll-left-max

For all other stick positions, PWM outputs lie within the 10% to 90% duty cycle range.

The RELAY_PIN direction output behave as expected.

MAVLINK CH1 and CH3 messages are created using a USB Flight controller interface as a joystick, and has been calibrated.

I see no setting that can change this behaviour.

I have seen two ArduRover forum posts who commented on a similar behaviour about one year or more ago but with no responses.

Attached are the parameter settings saved from the Omnibus F4.
rover_4.0.param (28.0 KB)

Is this an expected behaviour?
If so, the motor would always want to turn as there is no zero volt point.

Try:

SERVO1_MIN 1000
SERVO1_MAX 2000
SERVO3_MIN 1000
SERVO3_MAX 2000

With the following minor modification it works like a treat. Thanks greatly for directing me to this.

SERVO1_MIN 1000
SERVO1_MAX 2000
SERVO2_MIN 1000
SERVO2_MAX 2000

This was not obvious to me when I read the SERVO parameter descriptions in the documentation
“Full Parameter List of Rover stable V4.0.0”

This information may be handy to add to the rover setup section when selecting
MOT_PWM_TYPE = 3 (BrushedWithRelay)

1 Like

How is the RELAY_PIN suppose to behave with MOT_PWM_TYPE=3?

I was expecting to see something like 0V or 5V for direction indication. But I’m seeing -1.5V or +2.0V. Just a voltmeter hooked to AUX5 signal and negative.

For the Omnibus F4 V3 PRO, with the setup previously described,

At Standstill, RELAY_PIN = 0 volts
Forward motion, RELAY_PIN = 0 volts
Reverse motion, RELAY_PIN = 3.3 volts (or abouts).

These are just control signals that drive an external motor controller.
PWM output for speed.
RELAY output for direction.

The processor used by the Omnibus has signals that output 0v or 3.3v.

Servers by jDrones