It is currently Mon May 20, 2013 7:24 am
       


All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Auto test fails : strange symptoms.
PostPosted: Sun Apr 17, 2011 9:40 am 
Offline
arexx.com user

Joined: Sun Apr 17, 2011 9:22 am
Posts: 7
Hello everyone,

I am the happy buyer of an Asuro robot kit.
Everything was soldered (and all the soldering points looks really good) : time to make autotest has come.

- First steps : okay.
- Lights : okay.
- Phototransistors (T9, T10) : okay.
- Commutators (K2 to K5) : okay.
- But when it comes to test K1 and K6 : system fails. Either it keeps current state (which can be really unexpected : for example LED D12 alternating really fast from green to red), either system reboots, and we are back to the test of lights...
It also seems that, sometimes, K1 as K6 activates left motor before the system fails, but that's not always the case.
- Photoelectric detectors T11, T12 : okay.
- Motor test : horrible. Here, system fails every time (also keeping current state or rebooting). It fails 95% time on left motor, 5% time on right motor. If I'm not mistaken, I think I have never seen them rotating backwards.
- Infrared test : never reached...

Well, that's not very good.
I have checked every resistor, transistor, capacitor, diode : everything is as in the manual.
The only difference is R13 : a 5% tolerance resistor was given to me instead of a 1% tolerance resistor (but is has the correct value : 10 kOhms).

Where is the problem ?


Thanks a lot for your help,
Arkady

PS : Please sorry my English if I made mistakes.


Top
 Profile E-mail  
 
 Post subject: Re: Auto test fails : strange symptoms.
PostPosted: Wed Apr 20, 2011 10:25 am 
Offline
arexx.com user

Joined: Sun Apr 17, 2011 9:22 am
Posts: 7
Hello guys,

Some help would be really nice.
I feel like I spent 60 euros for something which is not working, and there's nobody to help debug it.
Even if you don't have the perfect answer to my problem, some ideas are welcome.

Thanks,
Arkady


Top
 Profile E-mail  
 
 Post subject: Re: Auto test fails : strange symptoms.
PostPosted: Wed Apr 20, 2011 12:31 pm 
Offline
arexx.com user

Joined: Thu Oct 16, 2008 1:08 pm
Posts: 190
It sounds like something is wrong with the motor circuitry, like it is causing a short circuit or to big voltage drop to cause the reboot. The switches K1 and K6 seem to trigger it, but that is probably because the analog converter returns a slightly different value from what is expected. (resistor value tolerance might be the cause, but not neccessarily) K6 represents the "least significant bit" in the PollSwitch value, AKA 1. This one is supposed to be pressed to turn on the left motor. But if the resistors for K1 (or the others) is slightly of, or just because the analog to digital converter is not exactly linear, the result might be an un-even value and then K6 appears to be pressed. But it is not obviously. The motors produce electrical noise by themselves that feeds through Vcc into the switch measurement circuit. (The H-bridge of the motors hangs onto Vcc. Pin PD3 used to feed the voltage divider for switch measurement is internally connected to Vcc when it is measuring. And some disturbances might also feed through R11 into the AVCC and through R23 into the switch measurement pin PC4)

R13 has nothing to do with what happens during the SelfTest. It is only measured during the Bootloader phase. But if the short is allready present at that time then it might make the Statusled flicker, and send out VL (or just V, not sure) over the IR communication.

So I would put the focus on the H-bridges (transistors and diodes) and the IC3 that controls them. I don't have a clear idea how to systematically analyse the problem. I guess the best solution would be to take out the atmega8 chip and simulate the signals it sends by connecting those pins to Vcc and GND with wires. And then measuring the voltages on the pins of the resistors, transistors, and the NAND IC3. But I say that easier than it probably is. I never analysed it myself. So maybe someone else should take the lead here helping you out. (or maybe send a mail to Arexx Customer support).

The programs on this page (from Arexx-Henk) may also be of use identifying the problem exactly (i.e. DiagnoseAsuro ):

http://home.kpn.nl/h.van.winkoop/Asuro/ ... PagFrm.htm

(Warning!, It's best not to Flash another program into it (overwriting SelfTest) if you are not yet sure that the IR communication is working properly and reliably. But it seems it does, so you're probably ok.)


Top
 Profile  
 
 Post subject: Re: Auto test fails : strange symptoms.
PostPosted: Sun Nov 13, 2011 9:28 pm 
Offline
arexx.com user
User avatar

Joined: Wed Oct 05, 2011 11:02 pm
Posts: 8
I have a 3-part partial answer. 1. you will want to desolder the resistor that is 1% instead of 5% and find the proper resistor and put that one in place. if that doesnt work, 2. use a power meter and chart the ohms of each resistor and make corrections as needed. if still doesnt work, 3. check ic chips. anything past that, i have no idea.

_________________
i have an asuro | messed up programs came on disk.
hi


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group