Hi
@adamaero,
A test set for the system will need to read everything the flexs Q4 is supposed to read, and then decide if what is read is 'Correct enough' to show a Go-NoGo result.
So the first step is to get a flexs Q4 working, and that is straight-forward debugging and troubleshooting. You put in a signal that you
know is good and verify that you get the expected response.
Usually the easiest way to generate the
known good signal is with a
known good sensor of the same type that is used on the system. That is where general purpose test equipment (such as a 'scope, multimeter, frequency counter...) is needed. For instance you mention a problem with the range sensor. In the lab or workshop you apply power to the range sensor and aim it at a wall a known distance away. Make whatever other connections are needed and measure the sensor output with you test equipment. You don't say which of the range sensor output options you are using so you will have to fill in the details.
At this point you have one
known good range sensor to connect to a flexs Q4.
Now see if the flexs Q4 responds to range sensor as expected. If not, back to debugging and troubleshooting, the flexs Q4 this time (or its program or maybe the wiring between them.)
Repeat the above steps with each of the sensors. Eventually you will get a complete working system.
This has all occurred in the lab or workshop so far. You probably have short wiring to the sensors and not a lot of electrical interference. Out at the work site many of the sensors will likely need rather long wiring, and long wires can make good signals into bad ones that can not be read. Try long connecting long wires in the lab where you have nice surroundings and lots of equipment.
Once you get this far, try adding some electrical noise (interference). An electric drill that runs from mains power will generate electrical noise. Don't bother trying a battery drill, they make very little interference. See if the system still works reliably when the electric drill is moved around close to various parts and wiring. You might have to use twisted shielded cable to get things working. Depending on the signal, sometimes a small capacitor across the signal input pins will help.
You can now take this
known good system to the work site and check everything there. If there is a problem with particular sensors, try testing them with short signal wires.
Alright... that is how you start from zero to a working system.
A Go/NoGo test set for non-technical people is a good idea but is a significant project in itself.
A straight forward way of making a Go/NoGo test set is have a
known good item connected to the same input signals as the item being tested. Then compare the two outputs. For digital logic testing (like the flexs Q4), the test set will be about twice as complex as the item tested. This is because you have to both generate the
good signal AND compare the signals.
Don't get discourged, overall this is a normal system start-up situation. You just have to work it through one step at a time.
If the people at the work site are moderately competent, just swapping pieces until it works is the easiest method.
Please keep us posted on your progress.
Cheers,
Tom