cheap controller ??

Get all your technical information about electric bikes here.

cheap controller ??

Postby gwhy! » Thu Nov 17, 2011 2:50 pm

do anyone know anything about these controllers ? they seem to be a good price..
http://stores.ebay.co.uk/VirtualVillage ... =241440152
User avatar
gwhy!
10 kW
10 kW
 
Posts: 793
Joined: Wed Jun 08, 2011 3:47 pm
Location: Bristol, Uk

Re: cheap controller ??

Postby cohberg » Thu Nov 17, 2011 4:56 pm

i'm sorry I dont know anything about those controllers but if you are looking for a cheap controller there is a good 1500W controller that some of us in the forum have been using.
The only reason i'm suggesting it is because its cheaper and because it would take equally as long for both to ship to you. It would be easy to mod it for 48V usage and you would have 100V 50A support if you needed it
Build 5.0 - Commuter (Active) | 18xIRFB4115@50A | 30S2P 10Ah | GM Rear Hub | V2100 | CST-Cyclops | XC 28
Build 5.1 - Chain Virgin (Halted) | HPM5000B | 11.4:1 reduction ( 12:32 - 9:38) | HPC300 72V300A | 20S5P 25Ah
User avatar
cohberg
100 W
100 W
 
Posts: 256
Joined: Wed Jul 06, 2011 5:33 pm
Location: Berkeley, California

Re: cheap controller ??

Postby gwhy! » Thu Nov 17, 2011 5:52 pm

Seems a very good price for a 72v controller, thanks for the heads up.
User avatar
gwhy!
10 kW
10 kW
 
Posts: 793
Joined: Wed Jun 08, 2011 3:47 pm
Location: Bristol, Uk

Re: cheap controller ??

Postby gwhy! » Wed Dec 14, 2011 8:16 am

gwhy! wrote:do anyone know anything about these controllers ? they seem to be a good price..
http://stores.ebay.co.uk/VirtualVillage ... =241440152


Ok I got one of these controllers to play with ( to add my power stage too ) I have just set it up to make sure it all works before I start messing with it. for some peoples information it runs sensorless mode if the correct timing from sensors is not present which I was not expecting but on a big plus note the sensorless startup seems really strong I may have to put it on a bike and see just how good it starts up under really big loads.
User avatar
gwhy!
10 kW
10 kW
 
Posts: 793
Joined: Wed Jun 08, 2011 3:47 pm
Location: Bristol, Uk

Re: cheap controller ??

Postby bobale » Wed Dec 14, 2011 9:06 am

So you're saying this 48V 600W controller is working in sensorless mode?
RWD 2807 9Continent rolling on Kenda Flame 26x2.125
12S3P out of Turnigy 4S Hardcase 20C (600Wh)
35A 9FET Infineon Controller (Regen, Cruise control, Speed limit)
Top Speed 27mph (31mph@120%)
User avatar
bobale
100 W
100 W
 
Posts: 277
Joined: Sun Jun 05, 2011 6:33 am
Location: Serbia

Re: cheap controller ??

Postby gwhy! » Wed Dec 14, 2011 9:24 am

bobale wrote:So you're saying this 48V 600W controller is working in sensorless mode?


yes, I have just done some load testing on it with a couple of my rc motors ( 170kv motors) . It works very well sensorless ( im impressed :shock: ) it do suffer from the cutting out problem at mid throttle ( if using sensors or sensorless ) but this can be sorted.
User avatar
gwhy!
10 kW
10 kW
 
Posts: 793
Joined: Wed Jun 08, 2011 3:47 pm
Location: Bristol, Uk

Re: cheap controller ??

Postby gwhy! » Wed Dec 14, 2011 10:04 am

In sensorless mode it only appears to work well upto around 4500rpm then starts mis-firing ( 14pole motor ). When running with sensors this is much higher, I dont know how high yet because i need to stop the cutting out mid throttle but I have measured upto 6500rpm before it cuts out. the cutting out is to do with the age old problem of hardware phase current cutoff the same as with the infineon controllers.
User avatar
gwhy!
10 kW
10 kW
 
Posts: 793
Joined: Wed Jun 08, 2011 3:47 pm
Location: Bristol, Uk

Re: cheap controller ??

Postby zombiess » Wed Dec 14, 2011 12:33 pm

Anyone know what board is used and if it's programmable?
Greyborg Hub Motor, Lyen 18FET, Customized full suspension kids MTB. Top Speed 61 MPH
9C 8x8, 24S2P LiPo, Lyen 12 FET, Diamondback Recoil Comp. Top Speed 42 MPH
GreyborgUSA Dealer
zombiess
1 MW
1 MW
 
Posts: 1505
Joined: Tue Feb 01, 2011 2:16 am
Location: Ventura

Re: cheap controller ??

Postby gwhy! » Wed Dec 14, 2011 4:32 pm

zombiess wrote:Anyone know what board is used and if it's programmable?


there is a program header on the board, I will do some pin tracing tomorrow from the controller chip to see if it ties in with the infineons
User avatar
gwhy!
10 kW
10 kW
 
Posts: 793
Joined: Wed Jun 08, 2011 3:47 pm
Location: Bristol, Uk

Re: cheap controller ??

Postby LHelge » Thu Dec 15, 2011 10:53 am

I also bought one of these a while ago, the 48 V 350 W version. It had 6 x STP75N75 as a power stage and is controlled by a STM8 microcontroller. I'm pretty sure you can't program them in the same way as the Infineon controllers but you can download source code for a BLDC controller from ST's homepage. Maybe the designers of this controller have used it without modifying it to much, then you could write your own firmware.

I replaced the FETs in mine with IRFB3006 instead, beefed up all current traces with 3 x 1,5 mm copper wire and replaced all high power cables with 6 mm^2. Yesterday I tried it for the first time with a Turnigy 80-100 rewinded for 90 rpm/V. 350 W @ 48 V would mean a current limit of ~7 A which wasn't enough to start the motor in sensorless mode. I had to manually place the rotor in balance between two cogging locations first to get it running. After modifying the current shunt to approximately 1/3 of the resistance the motor started up every try. My next step is get the sensors, that I installed on the Turnigy, running.

I plan to run this controller on 12S LiPo, how many amps do you think it could handle with my setup? Could I push it up to 50 A?
9C 2809 rear motor MTB with 36-48 V 27 A Infineon 12 FET controller and 12S LiPo battery
Currently building an electric Puch Maxi with Turnigy 80-100 motor
Electronics Project blog
LHelge
10 mW
10 mW
 
Posts: 33
Joined: Tue Dec 21, 2010 6:38 am
Location: Gothenburg, Sweden

Re: cheap controller ??

Postby gwhy! » Thu Dec 15, 2011 11:43 am

LHelge wrote:I also bought one of these a while ago, the 48 V 350 W version. It had 6 x STP75N75 as a power stage and is controlled by a STM8 microcontroller. I'm pretty sure you can't program them in the same way as the Infineon controllers but you can download source code for a BLDC controller from ST's homepage. Maybe the designers of this controller have used it without modifying it to much, then you could write your own firmware.


Thats someting well worth looking into

I replaced the FETs in mine with IRFB3006 instead, beefed up all current traces with 3 x 1,5 mm copper wire and replaced all high power cables with 6 mm^2. Yesterday I tried it for the first time with a Turnigy 80-100 rewinded for 90 rpm/V. 350 W @ 48 V would mean a current limit of ~7 A which wasn't enough to start the motor in sensorless mode. I had to manually place the rotor in balance between two cogging locations first to get it running. After modifying the current shunt to approximately 1/3 of the resistance the motor started up every try. My next step is get the sensors, that I installed on the Turnigy, running.


I will be intrested to see what you come up with

I plan to run this controller on 12S LiPo, how many amps do you think it could handle with my setup? Could I push it up to 50 A?


Just had a quick look at the fets and they have a very reasonable spec, I dont see any reason why you cant run these upto about 70A in this controller. I have the 75v version of these fets in a infineon controller that I push at around 80A without any problems except the controller do get a bit warm.
User avatar
gwhy!
10 kW
10 kW
 
Posts: 793
Joined: Wed Jun 08, 2011 3:47 pm
Location: Bristol, Uk

Re: cheap controller ??

Postby LHelge » Thu Dec 15, 2011 1:49 pm

A small load test with the controller running in sensorless mode. The throttle is set to the lowest possible and the battery voltage is about 46 V, with the current reaching at most 5.5 A it is around 250 W.


Will write a little bit more about the controller and my modifications when I find the time.
9C 2809 rear motor MTB with 36-48 V 27 A Infineon 12 FET controller and 12S LiPo battery
Currently building an electric Puch Maxi with Turnigy 80-100 motor
Electronics Project blog
LHelge
10 mW
10 mW
 
Posts: 33
Joined: Tue Dec 21, 2010 6:38 am
Location: Gothenburg, Sweden

Re: cheap controller ??

Postby LHelge » Thu Dec 15, 2011 6:49 pm

I've written a little about this controller here:
Cheap controller

I will look into creating my own firmware for the STM8 processor.
9C 2809 rear motor MTB with 36-48 V 27 A Infineon 12 FET controller and 12S LiPo battery
Currently building an electric Puch Maxi with Turnigy 80-100 motor
Electronics Project blog
LHelge
10 mW
10 mW
 
Posts: 33
Joined: Tue Dec 21, 2010 6:38 am
Location: Gothenburg, Sweden

Re: cheap controller ??

Postby amberwolf » Fri Dec 16, 2011 3:09 am

If you do, could you see about making an optional SIN/COS sensor input (to be used instead of the three halls)?

It would enable the controller to be used with external encoders that arent' exposed to the hot conditions most hall sensors are inside motors, and also to use motors that are already designed with SIN/COS sensors instead of the ebike-typical 3 halls.

Of course, I have an ulterior motive: with such a controller, I could easily use the powerchair motor I have here:
viewtopic.php?f=30&t=32838
without any modifications. :)
House Fire Updates Thread


Got a question that isn't personal or private? Post it in the forums, don't PM it. ;)

Wiki your techy info so it doesn't get old, lost and icky:
http://endless-sphere.com/w


Full-Suspension Semi Recumbent Cargo Bike - NuVinci MidDrive
Semi-Recumbent Recycled-Parts Cargo eBike: "CrazyBike2"
DayGlo Avenger, MkII
User avatar
amberwolf
100 GW
100 GW
 
Posts: 13701
Joined: Mon Aug 17, 2009 6:43 am
Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group

Re: cheap controller ??

Postby LHelge » Fri Dec 16, 2011 3:50 am

That would probably not be possible without changing the hardware, depending on how the microcontroller AD pins are muxed with the digital.

I would say that there is a better chance of either replacing the sensors in the motor or making some kind of circuit to transform the sin/cos to normal Hall pattern easliy done with a microcontroller with something like this pseudo-code:
Code: Select all
sin = getADSin();
cos = getADCos();

deg = atan2(sin, cos) * 180 / pi;

PORTA = (deg > 120 && deg < 300);
PORTB = (deg > 180 && deg < 360);
PORTC = (deg > 240 && deg < 60;


I haven't read your whole thread but from the pictures it doesn't look like distributed windings (often called PMSM instead of BLDC) so the gain from a sinusoidal drive would not be that big. Easiest way to determine is measuring the back-emf.

Maybe I'll order another controller to reverse engineer, would be a fun project, playing around with sinusoidal drive as well.
9C 2809 rear motor MTB with 36-48 V 27 A Infineon 12 FET controller and 12S LiPo battery
Currently building an electric Puch Maxi with Turnigy 80-100 motor
Electronics Project blog
LHelge
10 mW
10 mW
 
Posts: 33
Joined: Tue Dec 21, 2010 6:38 am
Location: Gothenburg, Sweden

Re: cheap controller ??

Postby amberwolf » Fri Dec 16, 2011 5:18 am

I wasn't really thinking of sinusoidal drive, but rather just using the SIN/COS sensors (whcih output their namesakes' waveforms for the positioning data) instead of typical 3-hall sensor setups.


Since the encoders on each motor would be differnet, it would probably require programmability for the relationship between the SIN/COS outputs and the alignment with the phases/stator teeth.

If there is programmability, then the hall sensor inputs could also be programmed to work as analog rather than digital in, if that's what's being used. If not, well, then another pair of analog inputs (or externally muxing the SIN/COS signals to use with a single analog input on the MCU) would be necessary. I dont' know if there are any unused pins on the MCU, much less if any that do exist are also analog inputs.

The STM8 is a neat little chip;
http://www.st.com/internet/mcu/class/1738.jsp
I have one here in a USB stick, though I can't seem to get the hang of programming well enough to do anything with it beyond the downloadable demos and such. The STM32 would be really nice for a controller chip on ebike controllers, but I'm not aware of one that uses it.
House Fire Updates Thread


Got a question that isn't personal or private? Post it in the forums, don't PM it. ;)

Wiki your techy info so it doesn't get old, lost and icky:
http://endless-sphere.com/w


Full-Suspension Semi Recumbent Cargo Bike - NuVinci MidDrive
Semi-Recumbent Recycled-Parts Cargo eBike: "CrazyBike2"
DayGlo Avenger, MkII
User avatar
amberwolf
100 GW
100 GW
 
Posts: 13701
Joined: Mon Aug 17, 2009 6:43 am
Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group

Re: cheap controller ??

Postby gwhy! » Sun Dec 18, 2011 4:31 pm

Ok This controller works very well in sensorless mode but there is a problem when using it with sensors, the 2 systems conflict with each other and this is what is causing the cutting out.. there must be away of turning the sensorless mode off completely so some more detective work needs to be done :(
User avatar
gwhy!
10 kW
10 kW
 
Posts: 793
Joined: Wed Jun 08, 2011 3:47 pm
Location: Bristol, Uk

Re: cheap controller ??

Postby amberwolf » Sun Dec 18, 2011 11:45 pm

Got some pics of the PCB, both sides, clear enough and large enough to see the markings? Might be able to decipher what they mean, if you can also make a chart of what markings go to what known wired-in functions, so we can eliminate those when guessing about the un-wired (or unknown but wired) pads.
House Fire Updates Thread


Got a question that isn't personal or private? Post it in the forums, don't PM it. ;)

Wiki your techy info so it doesn't get old, lost and icky:
http://endless-sphere.com/w


Full-Suspension Semi Recumbent Cargo Bike - NuVinci MidDrive
Semi-Recumbent Recycled-Parts Cargo eBike: "CrazyBike2"
DayGlo Avenger, MkII
User avatar
amberwolf
100 GW
100 GW
 
Posts: 13701
Joined: Mon Aug 17, 2009 6:43 am
Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group


Return to E-Bike Technical

Who is online

Users browsing this forum: dnmun, launchpad, Majestic-12 [Bot] and 15 guests