A sensor is added to Samsung Powerbot models not equipped with the mag strip boundary sensor present in some models in the U.S. since 2016. Models with optical Virtual Guards are still sold in Europe, but as detailed later, the Virtual Guard has many deficiencies. While models lacking the feature have board connectors and mounting brackets for Samsung's sensor, the software to use it might be absent and the Samsung parts expensive or unavailable.
[edit] All robot brands with mag strips use the same magentization of strips, for the Hall Effect field sensors used. These have the same pole all along the top and bottom, compared to common magnetic stick-on material with alternating poles, not useful. Neato Robotics makes a heavy plastic strip which I prefer to the stick-on ones from Samsung; also more widely available. Works with the mod here.
[edit] Installation shown on a 9000 series model; 7000 series disassembly later post http://www.robotreviews.com/chat/viewto ... 01#p145801
A DIY sensor is shown here and works by combining the mag sensor output with the existing front cliff sensor, producing the same avoidance behavior. Samsung uses a single mag sensor in front of the center cliff sensor.
Mag strips from Neato Robotics and others as well as Samsung's own strips can be used.
The Powerbot cliff sensor is a four wire type with unprocessed emitter and detector lines processed by the cpu, compared to integrated types with internal processing and a single output voltage varied with distance to objects. Neato Robotics uses such a three wire Sharp sensor, and the Neato mag sensor component is used here, the Allegro A1324LUA-T, the most sensitive in their series. As in the Neato assembly, a ferrite antenna core rod is used to double sensitivity of the Hall Effect field detector.
Robot mag boundary strips are magnetized with the same pole all across the surface for the Hall Effect sensors. Commong stick-on magnet material is "multi-pole", alternating and cannot be used. A YouTube video test of several robot strips shows they are all the same, and Samsung can use those made for other robots. https://www.youtube.com/watch?v=WnX86fztht4 The Neato strips are the most widely available, since marketed for years, and are likely cheapest. The Powerbot strips from Samsungparts.com are $31. Samsung strips have self-stick tape on them. Neato strips are more substantial and made to be portable.
The Interface Circuit
Samsung's cliff sensor outputs a ground level voltage when sensing a cliff (nothing detected), so grounding the input to the cpu simulates a cliff detection when a mag strip is detected. A Texas Instrument TCL393 low power, low voltage comparator is used to connect the two sensors with response on the smallest field detection. The output is active low, and open collector with no effect in absence of a mag strip.
[edit] An alternative circuit employs a dual Op Amp TS912A; this circuit avoids inserting any resistance between the Cliff Sensor and the Cpu input. Tested with the mag sensor working but am awaiting a replacement Cliff Sensor as it seems not working even without the mag sensor interface. The robot cleans but the front cliff sensor no longer responds to distance, even though having a 496hz signal out. [update] New circuit working after correcting polarity of the sensor cable connection.
[edit]TS912 OpAmp is obsolete in 2020, may not be found at distributors but some from China on ebay. A close equivalent is the newer Texas Instrument LM358, LM358B etc.
The Op Amp works to adjust output up or down until the inverting or minus input, connected with feedback from the output, equals the input signal non-inverting input. With no feedback output goes to either rail as needed. Comparators are made of Op Amps.
If you insert this IC backwards it will burn up with smoke -- fails the "smoke test" of assembly. Maybe insert wires into the female cable connector to put it on breadboard as assembled for testing before installing.
Resistors 1/8 watt for compactness. Alternative values possible to divide 5v power supply to 2.6v reference, and R1 is set to R2 just to minimize sizes needed. e.g. 36/39K, 33/36K, 47/51K.
No hysteresis feedback sometimes used with comparators to avoid oscillations near the crossing point is used here, for simplicity and because it is unlikely in the circumstances to affect the cpu interpreting cliff sensor signals. It is not like the robot pauses for long periods on a marginal boundary, and the Allegro sensor might already have a fairly quantized response (not tested).
Perfboard Construction
[edit] This circuit is so simple perfboard mounting is not strictly required. You could bend out sideways the IC socket pins and solder to them, and wrap the whole thing in duck tape, if such crude methods are satisfying. I just happened to have all the stuff on hand and left over from other things. The perfboard provides strain relief on the cable connections to help prevent wires breaking in handling a lot. Just putting the socket with attached wires onto a bit of carboard to stiffen when wrapped in tape might also help.
An 8 pin DIP socket is used for the TCL393 to avoid soldering heat damage.
The 4x20mm ferrite rod is covered with heat shrink tubing or tape for insulation over bare sensor wires.
[edit] Correction -- the ferrite rod is non-conducting, does not need covering.
Sensor mounted with bare wire section for applying soldering heat sink clip for protection.
26 guage stranded hook up wire was used; about 12 in. leads from the interface to the mag sensor.
Drill out perfboard holes 1/16 in. for passage of insulation, forming strain reliefs.
A special problem exists with the Samsung cable connector. 4 pin 2mm pitch header. Samsung's plug size is slightly smaller than the commonly available JST PH 2mm connectors and the Samsung unavailable. It is necessary to construct a plug to fit the Samsung socket for the cliff sensor cable on the system board by removing the pins from a JST PH 2mm connector (not wider pitch ones with larger pins) by pressing the exposed locking tab and pulling out the back. The pins are then covered with heat shrink tubing and wrapped, oriented the same, with a single layer of thin masking tape or scotch tape. For the Samsung plug, the a JST header can be attached to a JST plug, or a substitute socket made from leads from a 1/4 watt resistor as a similar pin size (as done here).
[edit] Another possibility was received late, standard 2mm pitch female board headers, without shell enclosing plugs, usable as plugs instead of JST plugs supplied with attached leads. These are definitely thinner than the JST plugs but the same width, though with these it would be possible to grind the sides thinner if needed. You would still use heat shrink tubing attaching to the pins and have to supply wire. e.g.
4-Pin 2.0mm Pitch Female Header ebay https://www.ebay.com/itm/4-Pin-2-0mm-Pi ... 2749.l2649
[edit] It is probably easier to skip the board for the sensor and just mount on the ferrite rod, wrapping with the capacitor onto leads spliced to the three wire cabling; put in heat shrink tube. This may then pass through the closed wiring hoop eliminating splices on wires to the interface.
Installation
Assembly is shown here for the 9000 series Powerbot. Additional 7000 series use will be posted later when an expected service manual arrives from Samsungparts.com. 7000 series electronics will be similar to 9000.
The mag sensor is mounted in front of the center cliff sensor and the wiring joins the cliff sensor wires in clips, around to the side of the sensor assembly board and over the top side. Because the wires pass through a closed hoop fitting at the side, an unsoldered splice is used on the mag sensor wires at the interface instead of an additional connector (though the JST connectors come in bunches so available if wanted).
The cliff sensor is accessed in the bumper switch assembly frame under the sensor system board in the front section of the powerbot (see photo above); two screws, sides of the frame, into the top section above.
Note the white bumper switch actuators are free on pivot pins so can fall out and need to be saved.
The robot front section is opened with four screws on the bottom, two under the brush. For screws in deep wells a paper clip wire bent into a hook can help pulling them out. Various tabs around the cover are worked free to lift.
The sensor assembly is lifted by removing two screws to the sides, and unplugging the wide sensor system plug cable (release locking tab while prying up at the sides; note this cable passes through a hoop to reach the socket, in case gets pulled out, for reattaching). Work the back end on one side over the brush motor to free movement. Then the frame underneath is freed with screws to the sides.
Mag Sensor Mounting Bracket
See photo above under Perfboard Construction.
The bracket for Samsung's own mag sensor provides too little clearance for the ferrite rod using the slots present, so the mag sensor here is merely inserted between the cliff sensor and the bracket front, with a very tight fit holding it in place against the heat shrink tube over the rod. There was no room for a second rod retaining loop near the top but was not needed. Insulated cable wires on the back of the perfboard increase thickness, and maybe routing on top of the perfboard, exiting to the back, might allow different fits, not tried. With looser fits the mag sensor perfboard can be taped to the cliff sensor front.
[edit] The ferrite rod later proved non-conducting so will be thinner without insulating cover, fit will be looser.
The bottom of the Samsung mag sensor board bracket slots fit against the case bottom, so this is where the level at which mag sensor here is positioned.
Interface Mounting
The interface is plugged between the socket and plug for the front cliff sensor located in the middle atop the sensor assembly. The pill box sized module mounted vertically to the right is the WiFi radio. The interface is tucked behind the radio module (with integral antenna; WiFi does not appear degraded so far).
Operation
The sensor has worked well and has good sensitivity which may even reach under carpets, depending on thickness. It may be better than Neato Robotics own sensor on which it is based, due to refined small signal detection. The sensor has a range of about 3/4 in. below the sensor face, which might translate to 1/2 inch below the floor level, but needs checking for the details of mounting.
Motivation -- Problems With Virtual Guard
Before introducing mag strips with the 9350 model in the U.S. 2016, some models with Virtual Guards from the old Navibot line where sold, and are still sold for the moment, in Europe etc.
These guards do not produce a focussed beam and have omni direction reflectors above each of three IR emitters. While resembling Roomba virtual walls, they work very differently. The clear top lens on the Roomba wall is an emitter to protect the wall unit itself, while a partly focussed beam emits from the front. The top Samsung lens is for a receiver which gets a coded signal, on the TV remote standard at 38khz, from the proximity sensors around the robot. The emitters only power when receiving an activation signal from the robot. So the Guard protects an area all around it, with emitters on both sides and the rear, governed by the robot being anywhere near it. There is no sharply defined boundary line such as wanted say, across a doorway; the boundary of this omni direction signal area is not at all clear.
This design appears suited to a random nav robot -- if at all -- and should never have been used for a systematic guidance system like Powerbot, which needs to map any boundaries encountered. It was probably just offered because available from Navibot. The units sold with Virtual Guards have the connectors and brackets for the mag strip sensors introduced later, so there seems to have been just a product development plan of some kind in place.
[edit] The only way I was able to use the Virtual Guard across a doorway was placing it inside the door to the side against the wall, so the wall provided some direction to the beam when encountered from outside the door. This arrangement worked in one case, but there is an issue of blocking the activation signal from the Powerbot.
For more technical details of the Virtual Gaurd see other hacking thread
http://www.robotreviews.com/chat/viewto ... =4&t=20151
and http://www.robotreviews.com/chat/viewto ... =4&t=20196
[edit] For other mods to the Powerbot 9000 bumper see Samsung forum thread
http://www.robotreviews.com/chat/viewto ... 22&t=19388
Powerbot 9000 disassembly http://www.robotreviews.com/chat/viewto ... 22&t=20207
Powerbot 7000 disassembly http://www.robotreviews.com/chat/viewto ... 22&t=20188
[edit]Repair: after a couple years the TLC393 comparator chip, handily mounted with a socket, needed replacement. For unknown reason it stopped fully grounding the input, only down to 0.1v, and was not triggering the cpu (while the cliff sensors continued to work). Replacement got the mag sensor working again.
However the problem later got worse, and seems to involve bad coupling with the crude connector made; awaiting 2mm header to make a better one.