SMALL - espritmodel.com SMALL - Telemetry SMALL - Radio
Reply
Thread Tools
Old Feb 05, 2013, 09:48 AM
Registered User
Joined Jul 2012
34 Posts
Quote:
Originally Posted by sskaug View Post
It looks like the Skywalker driver circuitry of the pfets pull a lot of current from the MCU, and particularly so at the pwm switching instants. I would think that this causes noise internally in the chip that disturbs the ADC during temperature reading.

Of course a proper corrective action will be taken in the next code rev, but in the meantime, here are Skywalker multi codes that have temperature protection disabled.

Attachment 5508512
Works!! Confirmed! Thanks
Crashpilot1000 is offline Find More Posts by Crashpilot1000
Reply With Quote
Sign up now
to remove ads between posts
Old Feb 05, 2013, 11:52 AM
Or just say Peer
JollyJoker's Avatar
NRW, Germany
Joined Oct 2008
281 Posts
Quote:
Originally Posted by JollyJoker View Post
...iīm looking for an advise regarding which hex file i could test on these ones...
Hi Steffen,

may I kindly ask if you have an idea for me which firmware i could test?

Thanks in advance

Regards Peer
JollyJoker is offline Find More Posts by JollyJoker
Reply With Quote
Old Feb 05, 2013, 12:12 PM
Registered User
Joined Dec 2009
484 Posts
Quote:
Originally Posted by JollyJoker View Post
Hi Steffen,

may I kindly ask if you have an idea for me which firmware i could test?

Thanks in advance

Regards Peer
Hi Peer

It is very hard to say which FW to use. And using the wrong FW may toast your FETs.
But if you use a lab power or a light bulb or similar resistance on the power you may try .

Anyway, I have ordered some . Thanks for the tip.

Steffen
sskaug is offline Find More Posts by sskaug
Reply With Quote
Old Feb 05, 2013, 03:18 PM
Or just say Peer
JollyJoker's Avatar
NRW, Germany
Joined Oct 2008
281 Posts
If you are willing, i could do some testīs? Of course with your advise

Please see the two picīs attached. Is it possible to recognize what is going on with the ESC using such a simple scope? Then i would give it a try. The waveforms look different at least. The starting behavior of the H-King is better. May be the motor is a little tricky to drive?

Regards Peer
JollyJoker is offline Find More Posts by JollyJoker
Reply With Quote
Old Feb 06, 2013, 04:43 PM
Registered User
Joined Dec 2009
484 Posts
Quote:
Originally Posted by JollyJoker View Post
If you are willing, i could do some testīs? Of course with your advise

Please see the two picīs attached. Is it possible to recognize what is going on with the ESC using such a simple scope? Then i would give it a try. The waveforms look different at least. The starting behavior of the H-King is better. May be the motor is a little tricky to drive?

Regards Peer
The first thing to establish is the polarity of the MCU outputs driving the fets. Does a high MCU output turn the fets on, or off? You will need to probe the outputs from the MCU going to the fet driver circuitry.
sskaug is offline Find More Posts by sskaug
Reply With Quote
Old Feb 08, 2013, 02:06 PM
Or just say Peer
JollyJoker's Avatar
NRW, Germany
Joined Oct 2008
281 Posts
OK, weekend is nearly there, only one more day to go

Phase outputs from SIL are "off" (means around 0.175Volts when ECS powered and motor not running). See that sawtooth when phase is off, normal? All three phases are looking VERY sililar.

Regards Peer
JollyJoker is offline Find More Posts by JollyJoker
Reply With Quote
Old Feb 09, 2013, 05:24 AM
Registered User
Joined Dec 2009
484 Posts
Quote:
Originally Posted by JollyJoker View Post
OK, weekend is nearly there, only one more day to go

Phase outputs from SIL are "off" (means around 0.175Volts when ECS powered and motor not running). See that sawtooth when phase is off, normal? All three phases are looking VERY sililar.

Regards Peer
In that case, you need a file where the fet outputs are cleared when turned off, like this in the XP12A.inc file:
MACRO All_nFETs_Off
clr P1.AnFET
clr P1.BnFET
clr P1.CnFET
ENDM
..and:
MACRO All_pFETs_Off
clr P1.ApFET
clr P1.BpFET
clr P1.CpFET
ENDM

Then inputs and outputs from the MCU need to be mapped to the correct pins and initialized properly in the port sections:
;*********************
; PORT 0 definitions *
;*********************
Rcp_In EQU 7 ;i
..etc
sskaug is offline Find More Posts by sskaug
Reply With Quote
Old Feb 09, 2013, 12:07 PM
Or just say Peer
JollyJoker's Avatar
NRW, Germany
Joined Oct 2008
281 Posts
OK, soldered some wires, limit power source to 1000mA, switch on, pressed flash and got beep, beep, beep (increasing)
Code:
Please do a read to get the options
Flash hex file... Please wait!
delay... OK
v... OlliW SilProg v1.10 PB3PB4
flash target no. 1
r... rok
d... dok0A -> Device ID 0A F33x 
i... iok
e... eok
bw... ........................... ok
Flash hex file... DONE!

Read... Please wait!
delay... OK
v... OlliW SilProg v1.10 PB3PB4
read target no. 1
r... rok
d... dok0A -> Device ID 0A F33x 
i... iok
br... br011A02ok0F -> Layout 15
br... br021A00ok0904 -> Revison 9.4
br... br021A0Dok55AA -> Mode MULTI
br... br101A60ok20202020202020202020202020202020 
                   -> Name: >                < 
br... br101A50ok23424C48454C49234633333023202020 
                   -> MCU: >#BLHELI#F330#   < 
br... br101A40ok23585031324123202020202020202020 
                   -> BESC: >#XP12A#         < 
br... br011A07ok03 -> Gain: 3 
br... br011A06ok01 -> Low Voltage Limit: 1 
br... br011A0Bok01 -> Motor Direction: 1 
br... br011A0Cok01 -> Input PWM Polarity: 1 
br... br011A09ok05 -> Startup Power: 5 
br... br011A12ok01 -> Startup RPM: 1 
br... br011A13ok05 -> Startup Acceleration: 5 
br... br011A15ok03 -> Motor Timing: 3 
br... br011A0Aok01 -> Motor PWM Frequency: 1 
br... br011A16ok02 -> Damping Force: 2 
br... br011A18ok02 -> Startup Method: 2 
br... br011A1Fok02 -> Demag Compensation: 2 
br... br011A0Fok01 -> Programming by Tx: 1 
br... br011A1Eok0D -> Throttle Rate: 13 
br... br011A19ok25 -> Throttle Min: 37 
br... br011A1AokD0 -> Throttle Max: 208 
br... br011A1Cok50 -> Beacon Strength: 80 
br... br011A1Dok04 -> Beacon Delay: 4 
br... br011A1Bok28 -> Beep Strength: 40 
Read... DONE!
Stupid me, I get no response to rc at all - shift is positive as set. Any ideas?

Regards Peer

EDIT:
By looking into the source i got an idea, port definitions? Added pic
JollyJoker is offline Find More Posts by JollyJoker
Last edited by JollyJoker; Feb 09, 2013 at 12:27 PM. Reason: addition
Reply With Quote
Old Feb 09, 2013, 08:10 PM
Registered User
Germany
Joined May 2011
400 Posts
In the XP_12A.inc
change:

Rcp_In EQU 7 ;i
to:
Rcp_In EQU 4 ;i

BTW: The HiModel use P0.4 as Input...
Attached test file with Rcp_In P.04
Be careful when testing...
4712 is online now Find More Posts by 4712
Reply With Quote
Old Feb 10, 2013, 03:01 AM
Or just say Peer
JollyJoker's Avatar
NRW, Germany
Joined Oct 2008
281 Posts
First let me say sorry to sirbow2 for threadjacking

Big thank to you guys for your support

Easy part is done, now I have nice melodies coming from the motor and was able to get the throttle stick to action - BUT: (as you already were aware about I suppose)

No recognizable turning, only stuttering, lucky I limited the power source. Positive is that there is no reasonable heat buildup at the fetīs. Is there a way to find out some of the parameters by measuring - or use try and error method?
I am very new in setting up ESCīs by hand so my knowledge which parameters to tune is as limited as a cow knows how to play trumpet

Can provide video and/or pic of oszi - if that helps?

Regards Peer
JollyJoker is offline Find More Posts by JollyJoker
Reply With Quote
Old Feb 10, 2013, 05:33 AM
Registered User
Germany
Joined May 2011
400 Posts
Hallo Peer,
You should find out where every Pin 4 of any single Fet is getting the signal from.
4712 is online now Find More Posts by 4712
Reply With Quote
Old Feb 11, 2013, 07:11 AM
Or just say Peer
JollyJoker's Avatar
NRW, Germany
Joined Oct 2008
281 Posts
Quote:
Originally Posted by 4712 View Post
Hallo Peer,
You should find out where every Pin 4 of any single Fet is getting the signal from.
Hmmm, I was afraid, you would come up with something like this.
I know there is a gate resistor in front of each PIN4 but then I am done. Maybe I found two of the traces, but I wouldnīt swear. This thing is so tiny, and the PCB has minimum 3 layers. Is it possible they use one part by two traces? Which PINīs are commonly used for driving the phases?

PM me if there is interest in looking at one face to face. I am willing to splash one out.

Regards Peer
JollyJoker is offline Find More Posts by JollyJoker
Reply With Quote
Old Feb 13, 2013, 02:25 PM
Registered Addict
Stigern's Avatar
Bodø, Norway
Joined Mar 2007
874 Posts
Still getting twitches on my skywalker with 9_4, tried lowering the pwm and motor timing. No big improvement.

Skywalker 20A ESC flashed with BLHeli Multi 9_4, still twitches (0 min 48 sec)
Stigern is offline Find More Posts by Stigern
RCG Plus Member
Reply With Quote
Old Feb 13, 2013, 03:15 PM
Oti
Registered User
Joined Nov 2009
6 Posts
Hi,
i have the same problem, with this setting.
When i start the motors on default speed,
the motos make a strange sound, like a smal power transformer.

regards
Oti
Oti is offline Find More Posts by Oti
Reply With Quote
Old Feb 13, 2013, 03:20 PM
Registered User
Joined Dec 2009
484 Posts
Quote:
Originally Posted by Stigern View Post
Still getting twitches on my skywalker with 9_4, tried lowering the pwm and motor timing. No big improvement.
Just to be sure, are you using the code from post 449: http://www.rcgroups.com/forums/showp...postcount=449?
sskaug is offline Find More Posts by sskaug
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Found forget the plush, i need 5x 30 amp esc that i can flash, no plush !!! crash8384 Aircraft - Electric - Multirotor (FS/W) 14 Jun 25, 2012 04:10 AM
Discussion is it possible to flash the Flycam Blackboard w/ 4.7kk X betito Multirotor Talk 2 May 03, 2012 03:12 PM
Discussion Silabs 8051 ESC (Turnigy Subperbrain) Firmware nickax Multirotor Talk 2 Jan 30, 2012 12:11 AM
Sold 2 Turnigy Plush 10 amp ESCs + 1 Turnigy 5A UBEC + 1 Turnigy Programming Card - $21 shawn595 Aircraft - Electric - Power Systems (FS/W) 2 Apr 02, 2011 01:30 PM
Discussion Is it possible to convert TURNIGY Plush 30A ESC's from PWM to TWI/I2C control benbois DIY Electronics 0 Dec 17, 2008 12:56 PM