|
|
|
|
||||
|
Joined Sep 2011
182 Posts
|
Quote:
Here is the video
Please ignore the noise. Its not from the motor but from the wooden base i attached it to |
|||
|
||||
|
|
||
|
Belgium
Joined Sep 2004
1,478 Posts
|
Quote:
![]() Could one make annotations on these images to explain the layout? What i found so far: 6679Z = MOSFET P-CH 30V 20A 8-SOIC F7832 = MOSFET N-CH 30V 20A 8-SOIC AMS1117 = 800mA LOW DROPOUT VOLTAGE REGULATOR Thanks, manu |
|
|
|
|
|
Canada, BC, North Vancouver
Joined Dec 2010
900 Posts
|
Hello! Ok, because the 8KHz PWM is still present, that means it is not exiting startup mode and "goodies" keeps getting reset. Which version is this? It is possible that it is a FET timing issue and maybe newer versions have improved it, but I haven't uploaded a build yet, just pushed the source code. I will get around to testing shortly and upload another version.
|
|
|
|
|
||
|
Joined Sep 2011
182 Posts
|
Quote:
|
|
|
||
|
|
||
|
Canada, BC, North Vancouver
Joined Dec 2010
900 Posts
|
Quote:
![]() FDS6679Z is actually a MOSFET P-CH 30V 13A 8SOIC, not N-CH. So, that board has one of the simple original designs, with three P-channel FETs and three N-channel FETs. In this arrangement, the P-channels always turn on/off the "high" side (eg: battery voltage) to each phase, and the N-channels always turn on/off the "low" side (ground) to each phase. These N-channel FETs are "logic level gate", which means the gate mostly turns on at 5V (usually more at higher voltage, but 5V is enough). So, controlling the N-fets is easy from the MCU (AVR), because it already supports driving pins low (0V) or high (5V) with pretty good current. Most boards usually just have a low resistor (around 330R) on each N-fet gate pin, and then run that directly to the AVR. This slows the gate charge/drain slightly to avoid too much current at the drive pin, but the gate can usually still switch within a few microseconds. Also, the resistor can sometimes prevent blowing up the AVR if the gate shorts to one of the other FET pins, which almost always how they fail. The P-channel FETs turn "on" by pulling down the gate from the source voltage (eg: battery voltage), but this is higher than TTL voltage, so they use an NPN transistor and resistors to accomplish the switching. These are those three parts on the left of your 5th picture which look like this: http://search.digikey.com/ca/en/prod...FSCT-ND/458971 The AVR pin is usually held low (0V) to the base of the transistor, not moving any current, causing the resistor from battery voltage to charge up the gate to match the source and stay there, making the P-ch FET turn OFF. When the AVR pin turns on, current flows from the AVR, through a limiting resistor, and out the transistor emitter to ground, and this current is amplified by the transistor, which drains the charge at the FET gate. The NPN and resistor values are chosen so that there is a pretty high discharge and charge current at the gate so that the the voltage drops to nearly ground relatively fast. If it's not fast enough, the FET acts as a resistor as it turns off/on and heats up, wasting power. The high side is usually not used for PWM and only for commutation, so it doesn't switch as often. It's not uncommon for the NPN transistors to heat up to 50-60°C whenever the motor is spinning, however. So, that's how the FETs are driven on that board. You can see a similar schematic in the first post here: http://www.rcgroups.com/forums/showthread.php?t=766589 Medium-current boards with all-NFET designs do exist without dedicated gate driver chips. They're almost the same, but they have an extra diode butted to a capacitor on each high side N-channel FET to make the gate follow the source but filter the DC, allowing it to be pulled down by the NPN (when driven high by the AVR) or charged up to high (turning the N-ch FET ON) via the diode when the AVR pin is low. These boards start with the high-side FETs on until the AVR boots and sets the pins high to turn them off (the drive is inverted). If you watch the output voltage on any phase on a voltmeter, it will match the input voltage until the voltage rises enough for it to boot. The HK F-30A ESC has this design. Pictures: http://0x.ca/sim/esc/hk_30a_esc/. Similar "Mystery-nFET" schematic here: http://code.google.com/p/wii-esc/sou...c%2FSchematics That is part of ziss_dm's "wii-esc" tree, which you can browse at that URL. High-current boards typically all have dedicated gate driver chips and no NPNs. These are usually three 8-pin chips dedicated to the task of turning on and off all N-channel FETs as nicely as possible, and sometimes there's an external voltage pump to get the gate voltage up to higher levels. The Mystery 40A, RCTimer 50A, HK F-60A, etc., have these, and look similar to this board: http://0x.ca/sim/esc/rctimer_50a_esc/. That same schematic directory has a couple like that as well. Some of the FET drivers like inverted inputs, others don't. It helps to check the AVR pins that run to the drivers on the original firmware. So, that's it for FET/driving configuration. The rest is just the sense feedback, PPM input, etc. Those schematics all have a star-configuration voltage divider to establish a neutral and voltage dividers for each leg. All that matters after that is which pins they are connected to. You can usually recognize these sections on the board as three groups of similar resistors. Then you just have to figure out which ADC/AIN1 pins they go to. The other chips on the board are for supplying 5V to the AVR and/or to the BEC output. Most usually use separate circuits for each, or don't have a BEC, etc. They're more commonly than not 7805-based parts (linear regulators) for the BEC, and then some lower current soic-8 5V regulator for the AVR (and thus FET driving). The chip in your second picture has "5.0" written on it (5V), which is a pretty good give-away. Btw, the discussion thread from ziss_dm on the wii-esc tree is here, and also has some interesting info if you want to skim through: http://www.multiwii.com/forum/viewtopic.php?f=13&t=516 I scrawled over your board image with what I can pick out, but I can't tell where some of the vias go without testing. However, it looks to me like the "tp" (type 1) arrangement. The first clue is that the sense lines all run to ADC2,3,4 pins and not AIN1, which only tp (and now rct50a) have, so that excludes most of the other common arrangements. Then, the FET pins seem to be all on PORTD, also like tp.inc. Does this make sense? |
|
|
||
|
|
||
|
Czech Republic, Prague
Joined Nov 2011
390 Posts
|
Are you sure it's not just inaccuraccy in the RX/TX combo? It's not 100% precise - mine does the same (two rx/tx sets, turnigy plush, motors do not matter) - but it's just jumping from "throttle range" to "idle range" at one point, so it's constantly restarting.
Quote:
|
|
|
||
|
|
|
|
Czech Republic, Prague
Joined Nov 2011
390 Posts
|
It is not accurate even directly from RX, so it will not be accurate from FC (and FC is doing it's own magic, so you can't know what it puts in here). It might be more accurate if you generate PWM directly on FC with a constant width, is that what you are doing?
|
|
|
|
|
|
|
Belgium
Joined Sep 2004
1,478 Posts
|
Simonk i am embarrast
you spent your time on my post already. I was prepared, based on your "readme", to further provide additional informotion on my post...I still will, so others could also start doing it for other esc-layouts. Again 1000x thanks manu PS: i really want to tame this esc!
|
|
|
|
|
|
|
Joined Jan 2011
30 Posts
|
Hey guys,
Just wanted to say that I flashed the original v1 firmware to my 30a RCTimer escs. It works great. The only thing I miss is that it doesnt have a 'soft start' or whatever. On my big 750kv motors, I have to slowly spool up the motors or else they cant seem to get turning. This is not bad as it kinda is a sort of saftey feature to prevent a sudden launch from the ground, but just thought I would mention it. Once in the air all is fine of course. |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion Rctimer 30A esc cutting out with KK board | Efliernz | Multirotor Talk | 2 | May 26, 2011 02:20 PM |
| Sold FS: Tricopter Parts- HK401b, Pentium 30A ESC, rctimer 750kv motors | pwu_1 | Aircraft - General - Miscellaneous (FS/W) | 2 | Jan 18, 2011 09:58 PM |
| Sold RCTimer 2826-6 + ESC 30A New in packaging will trade as well Pics Added! | planebldr | Aircraft - Electric - Power Systems (FS/W) | 4 | May 25, 2010 09:54 PM |
| Discussion RCTimer 30A Programmable ESC | hunter7193 | Power Systems | 8 | Jan 02, 2010 02:27 PM |
| For Sale Several New ESC's - 10a, 20a, 30a - Reduced | Callen9345 | Aircraft - Electric - Power Systems (FS/W) | 0 | Apr 20, 2009 02:31 PM |