GoldenMotor.com Forum

General Category => Magic Pie & Smart Pie Discussions => Topic started by: Pinaz on November 17, 2012, 09:03:47 PM

Title: Serial throttle/regen control of Pie motor controllers?
Post by: Pinaz on November 17, 2012, 09:03:47 PM
Hi!  I'm a new member interested in more details on the Golden Motor bicycle wheel hub motors controllers.

These, I believe, would be the PI-xxx (internal and external) and BAC-xxx (external) controllers.

I've read the posts on the "PI-200" USB cable and the efforts of forum posters to understand the protocol between the provided PC software and the controller.

My interest is in connecting *only* battery power and a "USB cable" to the controller, and being able to dynamically control throttle and regen via serial commands (over the "USB cable").

(I'm using quotes around "USB cable", since from the posts I've read the motor controller isn't a USB device; the cable just provides a USB-to-serial circuit.)

It is certainly technically feasible, but alas Golden Motor's controller software is probably not written to make it possible.

However, it seems remotely possible that Golden Motor might have some sort of test mode for factory testing, so I figure that I would ask the question.

My fallback option is to buy hub motors (from any manufacturer) without a controller, and then buy a motor controller with such a serial control capability.  (These serial control controller products seem to exist in the marketplace, if nothing else for the "robot" community.)

Thanks.
(https://goldenmotor.com/SMF/index.php?action=dlattach;topic=4352.0;attach=7971)
Title: Re: Serial throttle/regen control of Pie motor controllers?
Post by: Bikemad on November 17, 2012, 10:57:11 PM
Hi and(https://i.imgur.com/evDSMvT.png)to the forum.

I think it would be unlikely that the GM controllers could be controlled in that way, as the controllers are unable to be accessed via the USB interface lead while the battery power is turned on.

The data signal receive contact is also shared by the reverse signal which is typically at a highish voltage, until it is switched to ground in order to select the motor's reverse function.

On the MPIII internal controller there are only six external wires connected to the pcb (apart from the three phase wires, 5 hall sensor wires and the two battery cable connections) and these are labelled as follows:

Alan
 
Title: Re: Serial throttle/regen control of Pie motor controllers?
Post by: Pinaz on November 18, 2012, 12:03:39 AM
Oh, well.  It seemed worth asking the question.

Thanks for answering and posting the signal listing.
Title: Re: Serial throttle/regen control of Pie motor controllers?
Post by: Perbear on December 18, 2012, 08:22:24 PM
Would it be possible to adjust the regen brake force by putting a PWM signal with variable duty-cycle on the brake control input?