Traffic Lights and Car Parks
Traditional Traffic Light
Still today, traffic light are often made the way industrial process control was approximately 40 years ago - by means of point-to point connections from the traffic controller to each lamp. This is easy to overlook, but there are a lot of disadvantages:
- It is a very expensive and big solution, which makes it difficult to earn money.
- It is necessary with thick multicore cables, which are also very time consuming to mount. Everytime a T-connection to a signal head is needed on a cable with N conductors, there are 2N connections to make. The number of conductors may be reduced if more lamps in the same direction are connected to the same conductor, but then it is not possible to monitor each lamp individually.
- It is necessary with group cards for signal heads and special interface cards for digital signals such as pedestrian bottons, loop sensors, countdown displays and air-quality detectors. This usually makes it necessary with a 19" rack.
- It is necessary with a very long clamp row / terminal block.
- Due to mutual coupling between conductors, it may be very difficult to monitor low-wattage lamps in an AC system. It is even impossible if the lamps are made in such a way that they contain two strings of LED's where one string overtakes most of the current from the other in case of an error and in this way keeps the lamp level almost constant.
- The mutual coupling also makes it impossible to make lamp dimming by means of leading or trailing edge, pulse width or pulse code modulation. The only economical possible dimming method is to change the voltage level globally and this usually limits the dimming to only two visible steps with very limited dimming range.
- If the communication between the CPU and the interface cards is done on a parallel bus and/or by means of logic level signals, it may be sensitive to electromagnetic disturbances.
- There are a lot of connection points, which lowers the reliability - especially for low-voltage signals below 5 V. It is often said that the reliability of an electronic control system is almost inversely proportional to the number of connectors so even though a point-to-point system is simple, the reliability may not be as high as it first appears! In a typical controller there are:
- A multipin connector for low-voltage signals between the CPU board and a backplane.
- A similar multipin connector, which leads the low-voltage signals to signal group and interface cards and from there back to the backplane for new multipin connectors, which connect the backplane to the clamp row through multicore cables.
- Clamps and terminal blocks from the controller to the lamps and sensors. High quality screwless clamps with stainless steel springs and tinned copper conductors have however a much higher reliability than connectors, which must have a much lower contact force and usually use copper or even brass springs, which cannot guarantee a long lasting connection.
- There is usually a fairly limited number of signal groups and with a given rack size it may be impossible to expand.
- It can only be tested from the controller.
Due to these disadvantages and a few more like the need for cable routing cross-fields and belonging cable documentation, virtually all industrial process control systems today and a few traffic light systems use fieldbus systems - often with RS-485 communication. This replaces the internal (parallel) bus in traditional systems and saves all the interface cards and a lot of cabling with belonging cable routing and documentation, but are not without disadvantages too:
- It is usually necessary with a microprocessor in all distributed I/O boxes or in each lamp group, sensors and actuators. For many reasons this reduces the reliability to less than what can be obtained with a point-to-point solution:
- Even a very small ARM M0 microprocessor uses almost 100,000 transistors and a failure on a single one may cause a total loss of function.
- A transient or a program bug may cause the program to go down.
- The program is usually stored as tiny little charges in a flash memory and if just a single bit out of millions changes over time, which especially may happen at high temperatures, the entire device may fail.
- Many CPU use a crystal oscillator, which has a fairly low reliability, cannot handle vibrations and stops oscillating in case of the slightest condensation on the crystal blank.
- The signal level and energy in each communication pulse is usually very low, which may cause problems with noise and connector reliability. To burn through contact corrosion, which from experience may grow to approximately 0.5 µm in an industrial environment, a fritting voltage of approximately 100 V/µm is needed, so approximately 48 V is ideal, but most fieldbus systems use only 1-6 V.
- If the fieldbus does not use bit-wise bus arbitration, the efficiency may be very low, which may make it necessary to use a high communication speed, but for each time the speed is doubled, the pulse energy and with that the signal/noise ratio is reduced to the half. Efficiency is much better than speed.
- If 0 bits and 1 bits are not 100 % symmetrical, which is the case for example for CAN, heavy bias distortion, which may destroy the communication, will occur if many devices are connected to the same line and it therefore becomes capacitive.
The Max-i solution
Max-i is the only fieldbus solution without all these disadvantages and with a reliability, which may even exceed a point-to-point system and simultaneously at a much lower cost:
Lowest Possible Price
- All the expensive multicore cables may be replaced with a single, balanced 4-wire trunk line and if there is no coupling to other cables, a 3-wire line may even be enough.
- It is not necessary to draw new cables to expand with new poles and/or new functions like countdown displays and sensors for example for air quality. Even if new T-connectors are needed, they can be standard 3-phase types, which may be buried in the ground. With a multicore cable, it may be very difficult to connect all cores again after the cable has been cut so a big box with more clamp rows may be needed or it may be necessary to splice in a new cable.
- There is never any risk of running out of I/O so extra racks are never needed for new functionality and/or more lamp groups.
- The entire traffic controller may consist of a single microprocessor board with one or two Max-i interfaces and a power supply. This makes it possible to save the entire backplane, all interface cards and the long clamp rows, which obviously reduce the price and size to a small fraction. With a slim power supply, it is even possible to mount the entire controller in one of the poles if battery backup is not needed.
- It is very easy to connect one or more laptop PC's or tablets to the bus for programming and debugging so there is no need for an operation panel.
- When the IC becomes ready, each signal group only needs a single, cheap and small IC to drive up to 4 lamps or 3 lamps plus an SPI-interface with light control for example for a countdown display.
Maximum Safety, Reliability and Failure tolerance
- Max-i is designed for maximum safety according to IEC 61508 SIL 3 (death of 1-3 persons) even without additional layers.
- All necessary circuitry for traffic lights is implemented entirely in hardware, which cannot go down and is very failure tolerant.
- There is a green safety output with own decoding circuit to prevent green light in case of a failure on for example the lighting controller.
- All flip-flops use a unique dual-phase clocking scheme to make them very tolerant to changes in transistor data and propagation delay.
- The timing is based on an internal RC-oscillator (no crystal) for absolute maximum reliability.
- All critical programming is done in only 10, 32- or 36-bit EEPROM registers with parity check, which will be doubled or even trippled with majority voting in the final IC so that an error is detected and may be corrected before it has any effect on the function.
- Everything is done to make the communication as reliable and safe as possible:
- The combined communication and power supply cable is a very rugged, unshielded, balanced 4-wire (or 3-wire) line, which may even be failure tolerant! If the supply voltage is applied from both ends of a loop as shown in the drawing on top of the sub page "Green Smart House Solution", full functionality is maintained even in case of af failure on two neighbor conductors, and if a Max-i interface is used in both ends, the functionality may even be maintained if the line is cut in two pieces. This is not possible with fieldbus systems, which depends on termination resistors, like CAN and RS-485 based systems.
- Since the supply power and communication use the same cable (no ground loops), which is even balanced, Max-i may survive very strong lightning transients.
- The signal level is approximately 13 V and up to 19-20 V during reflections and the peak pulse power is up to 3.4 W. This is way above any other fieldbus system and ensures an excellent signal/noise ratio and a decent fritting voltage, yet it is still a "green" solution. Because Max-i has no termination resistors, the transmitters only draw currents for the time it takes the signal to travel to the two ends of the line and back again, so the energy consumption may be very low depending on the relationsship between speed and line length.
- Max-i has a 20-bit CRC check to detect communication errors and reduce the test time for IEC 61508 SIL 3 to only two days. With only 15 bits, CAN needs a test time of two months or 32 times more test devices, which increases the error probability 32 times during the test time.
- Unlike for example CAN, Max-i has a 7-bit Hamming code on the identifier plus a 5-bit data type specification to protect against masquerading, that is, an error on the identifier, which causes a device to impersonate another.
- Unlike for example CAN, Max-i has a "babbling idiot protection", which prevents that a high priority device can take over the bus. If all devices want to transmit, they just get through one by one and a telegram watchdog by default prevents telegrams with more than 1028 data bytes so Max-i is 100 % deterministic.
- It is even possible to use a 7-bit telegram serial number to detect lost or inserted telegrams, but this feature will probably not be used for traffic lights.
- Max-i has two separate, programmable watchdog timers for implicit messages and group messages, which may be used to turn a signal group off in case of lost or faulty communication.
- Max-i has 3, 6-digit passwords to protect the setup parameters in each lamp group and sensors against unauthorized access - one for the vendor parameters, one for the system parameters and one for the service and user parameters. Any unauthorized access creates an alarm and all further attribute programming is blocked for approximately 5 minutes so that it will take an average of 5 years to get through by brute force.
Advanced Functionality
- It is possible to generate error messages for each lamp and readback the actual status without any problems with low-wattage lamps even when dimmed to very low levels. This may be used to increase the safety even more, and an integrated hour counter may be used for preventive maintenance.
- The publisher-subscriber model makes it possible to update all lamps i one direction simultaneously and in this way save a lot of telegrams.
- It is even possible to control any number of signal groups by means of a common telegram.
- The 4-bit Boolean values fit perfectly with the usual number of lamps in a lantern in one direction (red, amber, green and any green arrow) and it is possible to include for example a 7-segment display pattern in the same message, which can be transfered to a time countdown display by means of a simple SPI interface.
- The excellent, smooth dimming possibilities of Max-i with group control and programmable minimum level makes it very easy to optimize the light intensity in each direction according to the ambient light and solar radiation in that direction - see chapter "Advanced LED Lighting" for further information. Because of the logaritmic characteristic of the eye, this can save a lot of power, make batteries last much longer and prevent dazzling of the drivers at night. It may even be vital for saving lifes in case of loss of mains voltage, where traditional traffic ligths without battery backup just turn off so that nobody in a big city can get through including rescue vehicles, police and busses. The war in Ukraine and tornadoes and floots due to global warming have shown that intelligent battery backup may be vital in the future.
- The smoothing filter of the lighting controller, which may be set on a per-telegram basis, makes it posible to turn each lamp on and off in a very pleasant way, and a gamma correction of 2.44, which follows the sensitivity curve of the eye within ±1 %, maintains the color temperature and the visual duty cycle of flashing lamps.
- It is possible with automatic and synchronized flash with two flash frequencies and programmable phase for each lamp and frequency.
Car Parks
Car parks with occupied bay sensors and red/green free indicators is a big challenge for traditional fieldbus systems, if a common overview is wanted. Because there may be hundreds of devices on one line, it will unavoidable get a very low characteristic impedance, which may even be capacitive, which the transmitter of most other fieldbus systems are not able to handle, and if the signal is not 100 % symmetrical, heavy bias distortion may destroy the communication. This is however not a big problem for Max-i, which has symmetrical communication, a typical current limit of 1.2 A for the transmitters, no termination resistors to draw current and a very high efficiency, which makes it possible to reduce the speed and use reflective wave switching without any noticeable delay.
This page is created with WebSite X5 and updated January 17th 2025