Universal axis controller: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
Line 13: Line 13:
The UAC would "dock" into a standardized connector on the machine. The dock would be a centralized hub that all the fiber optics connect to. It would distribute control signals from the UAC and consolidate sensor signals.
The UAC would "dock" into a standardized connector on the machine. The dock would be a centralized hub that all the fiber optics connect to. It would distribute control signals from the UAC and consolidate sensor signals.


Fiber optic cables (probably the plastic variety) would connect the Dock to any number of "child" boards. The child board would contain the absolute minimum amount of logic possible. Probably just a single chip to convert the serial signal into discrete control signals for whatever is on the board (and vice versa for sensors). For example, a single Plastic Optical Fiber (POF) cable would run from the Dock to a Child Board. The Child Board would have a power connection and four amplifiers (transistors or solenoids or something). That would allow pulses sent over the POF to directly step a stepper motor. The stepper driver would be simulated inside the FPGA. Step/direction pulses wouldn't be transmitted, instead the actual step itself would come out of the UAC, be transmitted across the POF, and be amplified at the stepper. Driver electronics are often more than half the cost of a stepper actuator system and they can be largely eliminated with this approach. The Child Board would also contain an input for the sensor associated with the axis being controlled by the actuator. For example, the end stop(s) and emergency stop associated with the previously mentioned stepper motor would plug into the Child Board and their signals would be serialized and transmitted back to the UAC where the logic inside the FPGA would respond to them.
Fiber optic cables (probably the plastic variety) would connect the Dock to any number of Remote Interface Units (RUIs). The RIU would contain the absolute minimum amount of logic possible. Probably just a single chip to convert the serial signal into discrete control signals for whatever is on the board (and vice versa for sensors). For example, a single Plastic Optical Fiber (POF) cable would run from the Dock to an RIU. The RIU would have a power connection and four amplifiers (transistors or solenoids or something). That would allow pulses sent over the POF to directly step a stepper motor. The stepper driver would be simulated inside the FPGA. Step/direction pulses wouldn't be transmitted, instead the actual step itself would come out of the UAC, be transmitted across the POF, and be amplified at the stepper. Driver electronics are often more than half the cost of a stepper actuator system and they can be largely eliminated with this approach. The RIU would also contain an input for the sensor associated with the axis being controlled by the actuator. For example, the end stop(s) and emergency stop associated with the previously mentioned stepper motor would plug into the RIU and their signals would be serialized and transmitted back to the UAC where the logic inside the FPGA would respond to them.


This control system would sit on top of a power distribution system fed by the [[Universal_Power_Supply]]. It would also control the distribution of mechanical power from the [[power cube]].
This control system would sit on top of a power distribution system fed by the [[Universal_Power_Supply]]. It would also control the distribution of mechanical power from the [[power cube]].

Revision as of 01:20, 16 January 2012

Initial Thoughts

Along the lines of a universal power unit like the power cube it makes sense to create a universal controller that can be "plugged in" to whatever actuator system you need to control. Why let the control electronics/software for a system sit idle? Take the controller with you and use it in the machine you happen to be operating at the moment.

I assume this would be a distinct system in that it wouldn't be automated. It would primarily be used by people as they move between different machines. However, it could easily have an automated control system layered on top of it later.

Characterizing an arbitrary arrangement of actuators isn't really straight-forward, but it will probably yield to some kind of nomenclature. Some sort of hardware description language is in order.

System Structure

The actual UAC itself would be a (small?) box. It would connect to a portable computer through some sort of standardized connection like USB or Bluetooth. The heart of the UAC would be an FPGA. The FPGA would simulate whatever control logic was necessary for the specific machine. When the UAC moved to a new machine, the operator would use either the portable computer or a microcontroller in the UAC to re-flash the FPGA with a new "image."

The UAC would "dock" into a standardized connector on the machine. The dock would be a centralized hub that all the fiber optics connect to. It would distribute control signals from the UAC and consolidate sensor signals.

Fiber optic cables (probably the plastic variety) would connect the Dock to any number of Remote Interface Units (RUIs). The RIU would contain the absolute minimum amount of logic possible. Probably just a single chip to convert the serial signal into discrete control signals for whatever is on the board (and vice versa for sensors). For example, a single Plastic Optical Fiber (POF) cable would run from the Dock to an RIU. The RIU would have a power connection and four amplifiers (transistors or solenoids or something). That would allow pulses sent over the POF to directly step a stepper motor. The stepper driver would be simulated inside the FPGA. Step/direction pulses wouldn't be transmitted, instead the actual step itself would come out of the UAC, be transmitted across the POF, and be amplified at the stepper. Driver electronics are often more than half the cost of a stepper actuator system and they can be largely eliminated with this approach. The RIU would also contain an input for the sensor associated with the axis being controlled by the actuator. For example, the end stop(s) and emergency stop associated with the previously mentioned stepper motor would plug into the RIU and their signals would be serialized and transmitted back to the UAC where the logic inside the FPGA would respond to them.

This control system would sit on top of a power distribution system fed by the Universal_Power_Supply. It would also control the distribution of mechanical power from the power cube.

Universal controller system concept.jpg

An Arduino using an LED and a photoresistor can pass serial data along an optical cable. Encoders/decoders for RF transmission work. Optics can link an RS232 connection at 9600 baud. Arduino forum

Joystick using no metal at all. The sensing and data transmission is optical. Youtube bkraz333 Fiber optic mouse by the same guy. bkraz333

Fiber Optics

Building the UAC to be a robust and arbitrarily scalable system requires some sort of serial connection.

In terms of multi-mission flexibility and future-proofing, fiber optics are superior to metal wire. The single biggest reason to default to fiber optic connections is that they are totally immune to electromagnetic interference. That is important for a project involving lots of machines and high power/frequencies. There is no need to protect or condition the logical signal. Additionally, fiber optics have a greater range of data bandwidth than metal wires. You can send individual ON/OFF pulses, or you can multiplex a hundred different gigabit channels (not on all cables of course). The silica and/or polymers used to make the fibers/cables can all be produced on the farm from local materials. Another reason to default to fiber optics is they are inherently more secure than metal wires; they don't "leak" nearly as much and they're a lot harder to "tap" into.

Commerical Plastic Optcal Fiber (POF) networks can provide 1 Gbps. They are also fast enough to bridge the device/sensor and controller and enterprise networks, which are normally impervious to each other. Basically, you can sit in your office and monitor all your equipment in the field because each one has its own IP/MAC address. Fiber optic installations don't have to be expensive. POF can provide "Fast Ethernet (100 Mbps) over SI-POF links up to more than 150 meters using off-the-shelf red LEDs. (all this came from KDPOF)

Currently, it can be used for point-to-point links up to 75 meters for 100Mbps with support of low-cost repeaters that extend the Flexible Fiber network...Troubleshooting is quick and easy as POF uses a visible eye-safe red light to transfer data from one device to another. POF is the only interconnect technology where the signal can be seen at both ends which makes troubleshooting very easy. A quick glance inside the cable will indicate successful connectivity to the network by showing a red light...There are over 20 million cars using Plastic Optical Fiber to deliver high speed in-car infotainment. Why Use POF?

Wikipedia has this to say:

  • physically flexible and has a small cross section
  • 10 or 40 Gbit/s is typical in deployed systems
  • Each fiber can carry many independent channels, each using a different wavelength of light
  • a single fiber can carry much more data than electrical cables such as standard category 5 Ethernet cabling, which typically runs at 1 Gbit/s.
  • Fiber is also immune to electrical interference; there is no cross-talk between signals in different cables, and no pickup of environmental noise.
  • Non-armored fiber cables do not conduct electricity, which makes fiber a good solution for protecting communications equipment in high voltage environments, such as power generation facilities, or metal communication structures prone to lightning strikes. They can also be used in environments where explosive fumes are present, without danger of ignition.
  • Wiretapping (in this case, fiber tapping) is more difficult compared to electrical connections, and there are concentric dual core fibers that are said to be tap-proof.
  • Sensors that vary the intensity of light are the simplest, since only a simple source and detector are required
  • ...is usually a fiber of silica glass that confines the incident light beam to the inside...Plastic optical fibers (POF) are commonly step-index multi-mode fibers with a core diameter of 0.5 millimeters or larger. POF typically have higher attenuation coefficients than glass fibers, 1 dB/m or higher, and this high attenuation limits the range of POF-based systems...POF has been called the "consumer" optical fiber because the fiber and associated optical links, connectors, and installation are all inexpensive. Due to the attenuation and distortion characteristics of the traditional PMMA fibers are commonly used for low-speed, short-distance (up to 100 meters)
  • Silica can be drawn into fibers at reasonably high temperatures, and has a fairly broad glass transformation range. One other advantage is that fusion splicing and cleaving of silica fibers is relatively effective. Silica fiber also has high mechanical strength against both pulling and even bending, provided that the fiber is not too thick and that the surfaces have been well prepared during processing. Even simple cleaving (breaking) of the ends of the fiber can provide nicely flat surfaces with acceptable optical quality. Silica is also relatively chemically inert. In particular, it is not hygroscopic (does not absorb water).
  • The light is "guided" down the core of the fiber by an optical "cladding" with a lower refractive index ...
  • The cladding is coated by a "buffer" that protects it from moisture and physical damage...These coatings are UV-cured urethane acrylate composite materials applied to the outside of the fiber during the drawing process. The coatings protect the very delicate strands of glass fiber
  • Modern cables come in a wide variety of sheathings and armor, designed for applications such as direct burial in trenches, high voltage isolation, dual use as power lines, installation in conduit, lashing to aerial telephone poles, submarine installation, and insertion in paved streets
  • Fiber cable can be very flexible, but traditional fiber's loss increases greatly if the fiber is bent with a radius smaller than around 30 mm. This creates a problem when the cable is bent around corners or wound around a spool, making FTTX installations more complicated. "Bendable fibers", targeted towards easier installation in home environments, have been standardized as ITU-T G.657. This type of fiber can be bent with a radius as low as 7.5 mm without adverse impact.
  • Some fiber optic cable versions are reinforced with aramid yarns or glass yarns as intermediary strength member. In commercial terms, usage of the glass yarns are more cost effective while no loss in mechanical durability of the cable. Glass yarns also protect the cable core against rodents and termites
  • Optical fiber can be used to transmit power using a photovoltaic cell to convert the light into electricity...the efficiency is not nearly that of electricity (the efficiency of the photovoltaic is around 40 to 50%)