|
06/12/2016, 11:37 PM | #1 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Use PWM to control your Jebao DCT pump using brushless motor controller from ebay
I got this brushless motor controller from ebay for under $10.
http://www.ebay.com/itm/DC-24V-DC-br...AAAOSwYGFUwl4I It can control a 24v brushless DC motor under 3 amps. I tested this on my DCT 4000 pump and it works fine. It takes in a 0-5v dc voltage (5v PWM works as well). If you want to connect this to an Apex and outputs 0-10v, all you need to do is connect a 10k resistor in series, as the board has a 10k pull down resistor for this pin. There is this version that works with higher power pump motor, up to 6 amps http://www.ebay.com/itm/12V-24V-36V-...gAAOSwuhhXVp1h They both should work the same (both use the same motor controller chip), but I think for $2 difference, get the one that can handle higher amsp. The connections are self explanatory. The A B C motor connections go to corresponding W V U pins. If you are looking into the 3 pin connector coming from pump with the notch at the bottom, W is left, V is upper/middle, U is right. The module even has a direction control pin. So this will work in controlling a CP-40 or Gyre. I don't have either one of this so I don't have any further info. The controller does not have built in soft start, so you will have to ramp up the pwm from your controller. The advantage using this is you can dial down your pump down to about 30%. The stock DCT controller minimum is 70% (one led does not mean 10%, it starts at 70% to 100% in 3% increment). It has built in over current protection, which is equivalent to preventing the pump from running dry. Since this is brushless motor with no hall sensors, the "stall" protection is built in. Meaning, the pump will stop sending out voltage if it is physically stopped from spinning. youtube video Last edited by d0ughb0y; 06/12/2016 at 11:42 PM. Reason: trying to embed youtube video |
06/12/2016, 11:50 PM | #2 |
Registered Member
Join Date: May 2004
Location: Dallas, TX
Posts: 11,033
|
Wow. Can you post the image with the connections?
I'm asking because the powerheads and the old DC pumps were just 24V/CONTROL/GND but the same connector on the DCT and CP is actually W U V? What are Z/F and VR?
__________________
Failure isn't an option It's a requirement. 660g 380inwall+280smp/surge S/L/Soft/Maxima/RBTA/Clown/Chromis/Anthias/Tang/Mandarin/Jawfish/Goby/Wrasse/D'back. DIY 12' Skimmer ActuatedSurge ConcreteScape Last edited by karimwassef; 06/12/2016 at 11:56 PM. |
06/13/2016, 12:14 AM | #3 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
For the input side, all that is needed is a 0-5v variable voltage or 5v pwm and Gnd to control speed.
The motor connections that worked for me is WVU corresponding to ABC. Not sure if the green board label will work. It says CBA to WVU. The z/f is for direction. If you leave it unconnected, it defaults to clockwise. |
06/13/2016, 12:34 AM | #4 |
Registered Member
Join Date: May 2004
Location: Dallas, TX
Posts: 11,033
|
ok. got the higher current controller to drive my DCT15000
I'll use my Apex with a divider to get 0-5VDC. So from the control board: VCC goes to 24VDC power supply input positive GND goes to 24VDC power supply ground negative and looking at the connector image I posted above: the pin labeled 24V connects to MA/U the pin labeled CNTL connects to MB/V the pin labeled GND connects to MC/W The output 5V and GND go to a 5VDC supply? The signal and GND goes to the APEX resistor divider midpoint and ground. Z/F unconnected and VR?
__________________
Failure isn't an option It's a requirement. 660g 380inwall+280smp/surge S/L/Soft/Maxima/RBTA/Clown/Chromis/Anthias/Tang/Mandarin/Jawfish/Goby/Wrasse/D'back. DIY 12' Skimmer ActuatedSurge ConcreteScape |
06/13/2016, 06:33 AM | #5 |
Registered Member
Join Date: Jan 2009
Posts: 151
|
great find thanks for the info. Also looking for confirmation on wiring.
|
06/13/2016, 08:40 AM | #6 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
As I described in my 2 previous post,
MA - W MB - V MC - U GND - power supply GND VCC - power supply 24V connector from pump - If you are looking into the 3 pin connector coming from pump with the notch at the bottom, W is left, V is upper/middle, U is right. I tried switching the W and U and the pump did not spin. I don't think it will do any harm switching connections. If you ever used brushless motors on drone, which runs at much higher amps, they tell you to switch the wires around unti the propeller spins clockwise. VR - 0-5V analog or 5vPWM. Connect 10k in series for 0-10v signal from apex. The value of 10k is based on the board I tested on. I think for the Green board, it may be 100k. You can measure the resistance from VR pin to Gnd, then just put a resistor of the same value in series. Gnd - Gnd from controller No connection for all other pins.The other pins are as described in ebay listing. Do not connect anything else. 5v is an output. Z/F is to reverse direction. Connecting to 5v will make motor spin backwards. I did not try this on the DCT pump. I think it can be used on CP-40 or gyre. But probably not really needed as reverse flow on these pumps don't really do anything. If someone wants to test it on their pump, they can post their results in this thread. Connect it as described. If you already have an apex interface that has a voltage divider and you connect it to VR, your lower resistance will become the combined parallel resistance of your lower resistor and the input resistor and you may not get the 10v to divide in half. Last edited by d0ughb0y; 06/13/2016 at 08:59 AM. |
06/13/2016, 09:55 AM | #7 | |
Registered Member
Join Date: Jan 2009
Posts: 151
|
Quote:
|
|
06/13/2016, 10:32 AM | #8 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
If you use a potentiometer, you would not know where to stop turning. Turning all the way will feed 10v to the 5v input.
If you are referring to using a potentiometer to get 5v out of the 10v signal, then, as I already mentioned, when you connect to VR pin, your lower resistor value would change. This is just basic parallel resistance calculations. If you use a 100k potentiometer and turn it halfway to 50k + 50k to get 5v, when you connect to VR pin, the lower resistance of 50k would be in pareller to 100k (or whatever the pull down resistor value). Lets say it is 100k, then your effective combined lower resistance becomes 33k. So your output now varies between 0-4V instead of 0-5v, so you will run the pump at 20% below capacity. The proper way is to simply measure the resistance from VR pin to ground. If it is 100k, then you can put a 100k in series from 0-10v signal to VR pin. Or just get a controller or controller interface that outputs 5v PWM. FWIW, I think 0-10v is old technology. Anything recent (within last 3 years) really should be 5v pwm capable. Like Archon controller. I think when looking for a new controller, that should be one of the main feature to look for. Last edited by d0ughb0y; 06/13/2016 at 10:54 AM. |
06/13/2016, 02:13 PM | #9 | |
Registered Member
Join Date: Jan 2009
Posts: 151
|
Quote:
|
|
06/13/2016, 02:17 PM | #10 |
Registered Member
Join Date: May 2004
Location: Dallas, TX
Posts: 11,033
|
You can use a pot and run 10V from the Apex and adjust the pot until the voltage to ground is 5V.
Then you can measure the pot resistance and replace it with a hard resistor.
__________________
Failure isn't an option It's a requirement. 660g 380inwall+280smp/surge S/L/Soft/Maxima/RBTA/Clown/Chromis/Anthias/Tang/Mandarin/Jawfish/Goby/Wrasse/D'back. DIY 12' Skimmer ActuatedSurge ConcreteScape |
06/13/2016, 02:24 PM | #11 | |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Quote:
|
|
06/13/2016, 02:51 PM | #12 | |
Registered Member
Join Date: Jan 2009
Posts: 151
|
Quote:
How long did it take for it to arrive BTW? Sometimes Stuff I order from China takes like 4 weeks to get here. |
|
06/13/2016, 03:05 PM | #13 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
epacket takes 10 days for me (counting Saturday and Sunday). You should get a tracking number. The delivery date shown on ebay is pretty accurate for me, give or take 1 day.
you can get this cable as well http://www.ebay.com/itm/3-Pin-Male-E...AAAOxyTkJSRo1h and 5.5x2.1mm female DC power jack. Last edited by d0ughb0y; 06/13/2016 at 03:14 PM. |
06/13/2016, 04:41 PM | #14 |
Registered Member
Join Date: May 2004
Location: Dallas, TX
Posts: 11,033
|
I did get those cables but I'm a little concerned that the jebao has a v-notch and this has a rectangular one.
We'll see...
__________________
Failure isn't an option It's a requirement. 660g 380inwall+280smp/surge S/L/Soft/Maxima/RBTA/Clown/Chromis/Anthias/Tang/Mandarin/Jawfish/Goby/Wrasse/D'back. DIY 12' Skimmer ActuatedSurge ConcreteScape |
06/15/2016, 09:39 PM | #15 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
I also just ordered the higher current green motor control board. I think there are now 3 of us that bought from the seller I linked in post #1. I hope to get the board next week so will test it by next weekend.
If I can confirm the green board works well, I'll scrap the idea of building my own board. I probably could use the time better finishing up my v2 of diy controller. The white board module is really bare bones component. It does not even filter the back-emf signal and is fed directly to LM339, and I am amazed how the LM339 comparator is still able to output proper digital signal used for motor commutation timing. The stock DCT/DCS controller also uses the LM339 comparator, but they add capacitors to filter out the input signal noise. Just by looking at the picture of the green board, I can tell it is much better than the white board. You can see all the resistors and capacitors around the LM339, so it looks like it filters the input. Also this board uses the IR2101, so that means it uses all N-channel MOSFETs, which makes the upper and lower circuit essentially identical, and N-channel MOSFETs have lower Rds, so can run more current through without generating too much heat. I think the listing says can run up to 6amps without a heat sink, That is a lot of current. I think even the largest DCT pump only use 4 amps. Last edited by d0ughb0y; 06/15/2016 at 09:46 PM. |
06/16/2016, 06:41 AM | #16 |
Registered Member
Join Date: Jan 2009
Posts: 151
|
I just order my board this week. I have to order a pump now.
|
06/16/2016, 10:01 AM | #17 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
when I ordered my pump, I mistakenly thought the DCT was newer than DCS, but DCS is actually the newer one. It's pretty much identical except for the impeller. The DCT impeller looks the same as the old DCS impeller (green color).
|
06/17/2016, 06:18 AM | #18 | |
Registered Member
Join Date: Jan 2009
Posts: 151
|
Quote:
|
|
06/17/2016, 08:25 AM | #19 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
shop around.
I've never bought anything from fish-street, or any ebay US sellers based in California, because sales tax is added. |
06/17/2016, 09:45 AM | #20 |
Registered Member
Join Date: Jan 2009
Posts: 151
|
Just got a DCS7000 with amazon prime for $92 shipped.
|
06/20/2016, 03:13 PM | #21 |
Registered Member
Join Date: May 2004
Location: Dallas, TX
Posts: 11,033
|
Ok. I got the controller and some connectors. Good news and bad news. Good news, I'll wire it up today I hope.
Bad news, major disconnect on connector (pun). The large with a red seal is from one of my old Jebao DC pumps. The large with black seal is from one of my DCT pumps, and the tiny fake connectors in the middle with the rectangle notch are the wrong ones I just got. Eh, I'm sure I'll use them for something. Anyone got a link to the right connectors?
__________________
Failure isn't an option It's a requirement. 660g 380inwall+280smp/surge S/L/Soft/Maxima/RBTA/Clown/Chromis/Anthias/Tang/Mandarin/Jawfish/Goby/Wrasse/D'back. DIY 12' Skimmer ActuatedSurge ConcreteScape Last edited by karimwassef; 06/20/2016 at 03:19 PM. |
06/20/2016, 03:20 PM | #22 |
Registered Member
Join Date: May 2004
Location: Dallas, TX
Posts: 11,033
|
__________________
Failure isn't an option It's a requirement. 660g 380inwall+280smp/surge S/L/Soft/Maxima/RBTA/Clown/Chromis/Anthias/Tang/Mandarin/Jawfish/Goby/Wrasse/D'back. DIY 12' Skimmer ActuatedSurge ConcreteScape Last edited by karimwassef; 06/20/2016 at 03:32 PM. |
06/20/2016, 03:41 PM | #23 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
did you buy from the ebay link I gave above?
I got that cable and it fits fine to the original jebao cable. The square notch is a lot smaller so it fits into the triangular opening just fine and the size of the connector itself matches. I am getting the board today as well. I placed ebay order last monday and will get it today. It is not uncommon now for me to get items from china faster than buying from US sellers, and not to mention way cheaper. those look like TO-220 FETs. The stock controller FETs are smaller TO-253 I think. Last edited by d0ughb0y; 06/20/2016 at 03:48 PM. |
06/20/2016, 04:41 PM | #24 |
Registered Member
Join Date: May 2004
Location: Dallas, TX
Posts: 11,033
|
no. mine was more like this.
http://www.ebay.com/itm/2pin-3pin-4p...g/371361951388 didn't realize the sizing on the listing.
__________________
Failure isn't an option It's a requirement. 660g 380inwall+280smp/surge S/L/Soft/Maxima/RBTA/Clown/Chromis/Anthias/Tang/Mandarin/Jawfish/Goby/Wrasse/D'back. DIY 12' Skimmer ActuatedSurge ConcreteScape |
06/20/2016, 05:11 PM | #25 |
Registered Member
Join Date: May 2004
Location: Dallas, TX
Posts: 11,033
|
ok. here's what I'm wiring up right now. I like to cover all the details just to be 100% sure it all ties out.
any issues?
__________________
Failure isn't an option It's a requirement. 660g 380inwall+280smp/surge S/L/Soft/Maxima/RBTA/Clown/Chromis/Anthias/Tang/Mandarin/Jawfish/Goby/Wrasse/D'back. DIY 12' Skimmer ActuatedSurge ConcreteScape |
Thread Tools | |
|
|