ichris wrote:Thank you very much for all your comments Gorden.
You are very welcome, and I thank you for the great wiring harness pix and pin-out list. Those pix are the best ever for tracking from plug P11 round trip through the bumper electro-optics and back to P11 sockets! They are good enough to have pointed out that I, almost a year ago, intermixed the cliff & bump IRED drivers! Whoo boy! Old posts had to be corrected.
Sorry to be days tardy in replying. I had a major diversion while beginning to acquire supporting data. My guinea pig 510 PCA suffered a
no-lights/no-response failure that took me down the path to a solution for that failure before I could return to this thread! (I plan to reveal in a new thread the troubleshooting that I did leading to a component replacement).
Once I got that PCA operating again I was able to acquire scope graphs of driver signals, and begin to oombine your data with my old and new findings to flesh out the way I see cliff & bump drivers (IREDs' drivers) working in the 500 series.
If was afraid of that - the cliff sensor signals are modulated. That's probably a good engineering decision on iRbt's part, probably helps reduce interference. ...
I agree. Let me show you something new about that modulation.
... I put together some documentation for everyone. Hope it's helpful to others. ...{I'll keep this one close by during this reply:}
The attachment pinout.JPG is no longer available
...
I would like to begin with some O-scope data. I was interested in revealing the start-up of both driver sections, i.e., the cliff-IREDs'
driver and the bump-SW IREDs' driver. Here is what I did, since I don't have a loose bumper harness to play with.
I had on hand a 2X8 Hirose Electric plug body and some sockets crimped onto foot-long leads, so I pushed pairs of leads into contact positions #1 & #2 and #15 & #16, followed by shunting the the 1 & 2 pair with a 220 ohm resistor (to represent four cliff IREDs in series), and an 80 ohm resistor across 15 & 16 to represent two IREDs of the Bump-SW sensor pair. Scope probes were clipped to sockets #2 (cliff) and #15 (bump), and referred to PCA GND.
A speaker was plugged in at J4; and that is the only peripheral connected! A 4XXX-APS battery was connected to the PCA's VBAT & GND spring contacts, which booted the MCU to put the PCA into what I call the STBY (standby) state. The goal was to begin O-scope sampling of the two 'signals' during that state, then press Clean to shift states to what I call the "ready-to-Clean" state. In that state both drivers are turned ON and their IREDs' driving signals can be recorded. Here is the two channel scope graph that shows those signals before and after a momentary depression of the Clean-SW:
Notice, looking at the (BLU trace) Ch-B signal, it gets switched ON at relative time -375ms, and rises nearly to five volts. That +5V dc level is what biases the two Bump-SW IREDs into conduction -- steady state.
OTOH, the string of four Cliff IREDs become biased about 725 ms later (not that that delay means anything), and we see an ~ 4.25Hz pulse-train envelope on Ch-A (VIO). I clicked in a couple markers "1" & "2" at the root of pulse-period one (it may be going to a lower value, but that means IREDs' current is increasing and emission(s) occurring) to define the period of that pulsed wave. See the top table showing the low-frequency envelope to have a frequency of "4.234Hz" in this sample.
By using what my DSO calls a "Tracker" graph, it centers on the above marker pair to permit expansion of that dense VIOlet structure in the wave form, in a separate display, such as this plot:
Now you can see the 'fine-structure' previously reported by you; a VPP = 13.5V periodic pulse (512Hz), of 87.4% duty cycle (which should be thought of as 100%-87.4% = 12.6% IREDs-ON Duty Cycle). So all of that clearly tells us the Bump-SW IREDs are dc powered, and the Cliff-IREDs are driven by a complex pulse train, which is a lot like a VWU's emission wave-form, but much slower.
I also spent hours poring over your pinout list, and mine. in an attempt to reach common ground. If your 5XX-Roomba is still dismantled for inspection, it would be good of you to help resolve differences between our two lists. I apologize that mine is not formatted as yours is. There are two major differences, mine is in the notation I use when reverse engineering a circuit, so it begins a trace at a plug socket and follows the H/W path from that point to the return socket. Another difference is: I avoid using the Hirose connector contact-position numbering scheme, and instead use a contact numbering scheme based on row-numbers & column-numbers (of a matrix). However, I have inserted the Hirose Electric numbers in the form of "HR##" after my matrix notation of [r,c].
Here is my "pin out" version (the JPEG is followed by some explanatory text):
Well! That is unreadable, eh! I'll attach a text copy of it.
Please review your pin assignments for HR11 through HR16,
Here are explanatory notes for that 'code':
NOTES:
Cliff-module names are from 500-series Roomba SCI Users Manual.
"==>" means connects to.
"=>{wire_color}=>" means chassis harness wire connects from/to points.
"IRED"=InfraRed Emitting Diode. IRED(A)=device anode; (K)=cathode.
"PT"=Photo-Transistor;
"PTc" refers to a PT's collector pin. Signal to MCU taps off this node.
"PTe" refers to a PT's emitter pin, which returns bias current to mobo's
SIG_RTN bus.
* lower case wire color is from ichris data at:
viewtopic.php?p=96901#p96901Assignment (above) of right, center, and left cliffs' PT connections is
based on referent ichris post.
Bump-PCB, #4132723, data stems from pix by tnoone.
"mobo"=mother_board=main_PCA.
"PCA"=Printed Circuit Assembly.
"SIG_RTN"=Signal-Return=Signal-Common=Signal-GND=System-GND, but not
"GND"=Vbatt(-). SIG_RTN may be touched at outer ends of R235//R257 shunt-
resistor pair (located near mobo "GND", also marked "J14").