Perimeter Problem

Biland

Member
Hallo zusammen, nachdem ich meinen Mäher aus dem Winterschlaf geholt habe, wollte ich zuerst den Akku laden. Hierbei bemerkte ich, dass das Relais auf der PCB1.3 anzieht...abfällt....anzieht....abfällt...anzieht... usw. Der Akku wird nicht geladen.

Dann habe ich den Serimetersender untersucht. Auch hier habe ich ein merkwürdiges Phänomen festgestellt. Im Log ist immer zu erkennen, dass auf dem Perimeterwire kein Strom fließt. Kurzerhand habe ich den Widerstand vom Perimeterdraht geprüft ... inkl meinem 10Ohm Widerstand beträgt der Schleifenwiderstand 13 Ohm. Die Spannung auf dem Regler ist auf 10V eingestellt.

Das interessante ist, dass der Widerstand warm wird, sodass ich davon ausgehe, dass auch Strom fließt. Ebenso liegen am Ausgang für den Ladeanschluss ~28v an.

Ich habe also mehrere Probleme:
1) Perimetersender erkennt nicht, dass Schleife geschlossen ist
2) Mower läd nicht
2a) Relais wechselt offen / zu / offen / zu ...
2b) im Log des Perimetersenders wird keine Ladestromstärke angezeigt.

hier mal der Log. ich hoffe auf Hilfe ;-)
Code:
START
Ardumower Sender 596
SIGCODE_1
USE_PERI_FAULT=1
USE_PERI_CURRENT=0
USE_CHG_CURRENT =0
chargeADCZero=2
T=104
f=9615.38
time=0    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=0    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=1    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=1    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=2    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=2    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=3    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=3    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=4    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=4    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=5    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=5    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=6    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=6    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=7    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=7    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=8    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=8    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=9    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=9    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=10    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=10    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=11    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=11    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=12    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=12    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=13    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=13    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=14    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=14    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=15    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=15    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=16    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=16    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=17    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=17    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=18    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=18    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=19    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=19    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=20    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=20    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=21    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=21    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=22    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=22    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=23    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=23    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=24    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=24    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=25    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=25    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=26    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=26    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=27    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=27    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=28    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=28    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=29    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=29    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=30    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=30    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=31    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=31    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=32    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=32    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=33    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=33    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=34    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=34    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=35    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=35    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=36    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=36    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=37    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
time=37    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=255    faults=0    tout=0
MC_FAULT
time=38    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=0    faults=1    tout=0
MC_FAULT
time=39    chgCurrent=0.000    chgCurrentADC=0.00    isCharging=0    periCurrent avg=0.00    max=0.00    duty=1.00    dutyPWM=0    faults=2    tout=0
MC_FAULT
 
Zuletzt bearbeitet:
Hi,

funktioniert das laden auch nicht direkt am mower?
merkwürdig das es auf einmal nicht mehr funktioniert, könnte es ein Kontaktproblem sein?
Das problem hatte ich von anfang an das der mower die ladespannung nicht sauber erkennt und Laden an/aus schaltet....
hab es so hin bekommen::


the on-board voltage goes up so fast that the mower does not react and thinks the battery is full.
Start charging need to be near 24 V. .
In the code the low pass filter here:



// low-pass filter
double accel = 0.05;
//double accel = 1.0;
if (abs(batVoltage-batvolt)>8) batVoltage = batvolt; else batVoltage = (1.0-accel) * batVoltage + accel * batvolt;



This change the value 5 by 8 and accel form 0.01 to 0.05 ,so the batvolt increase slowly and is more accurate

Also



if (millis() >= nextTimeBattery){
// read battery
nextTimeBattery = millis() + 500;


read it only each 500 ms and not 100

And finaly when state_station read the batvoltage immediatly.
if (stateNew == STATE_STATION){
nextTimeBattery = millis();//read immediatly the battery
setMotorPWM(0,0,false);
setActuator(ACT_CHGRELAY, 0);
setDefaults();
statsMowTimeTotalStart = false; // stop stats mowTime counter
loadSaveRobotStats(false);




_____________________________________________________________________________________________________________

Kann es sein das deine schleife ein isulations porblem hat.... Hast du ein Scop ?


VG
Thorsten
 
wenn die Ladestation nicht erkennt das ein Strom fliest, dann funktioniert die Spannungsmessung nicht - oder?
Das ist ja das Kriterium um zu entscheiden, ob geladen und der Draht abgeschaltet wird oder nicht.
Ich würde mal nachmessen, was am Pin des nano ankommt.
Gruß Fürst Ruprecht
 
Oben