The gates and the engines for the gate arrived.

Each section of the gate will be driven by a seperate engine, I selected the Genius Falcon 8C for this. This engine has an integrated control unit, this makes driving the gate a lot easier than my previously defined block diagram. The whole detection of sensors and engine driving is taken care of by this unit, all the BCU needs to do is trigger the open/close input. Well, I do want access to the IR- and limit- and safety-switches so I can add some logic to the gate but this makes it more of an interface issue than of a driving issue.
The Falcon has a couple of connection using a 12 pins terminal block:
- Open-close: This is a normally open connection between pin 1 and 7/8. When closed for a short period, the gate opens or closes depending the current state.
- Stop: This is a normally closed connection between pin 5 and 7/8. When opened it stops the current open or close action.
- Edge: This is a normally closed connection between pin 6 and 7/8. All edge safety switches need to be connected in series between these two pins. If one (or more) edge switch opens, the current action is stopped and reversed for 2 seconds.
- FSW-OP: This is a current sensing input between pin 11 (current source) and pin 3. IR sensors can be connected to this input, for this pin 9/10 (24V) and pin 7/8 (Ground) can be used to power the sensors. The connection between pin 11 and 3 should normally be closed and must be opened when an object is detected. Since I will not be using detection during opening this can be hard wired closed.
- FSW-CL: The same as FSW-OP but than for closing between pin 11 and 4. I will have two IR sensors between the pillars, they must be placed in series so that the closing motion is stopped when an object is detected.
A second 3 pin connector is available which holds two limit switches. These are normally closed and opened when the gate is fully open or fully closed. These signals are not to be used ‘external’, but I want access to them so the BCU can take action based on it status.
When a sensor is IR sensor or an edge switch is triggered, the Falcon does not take any action when the object is removed. For this reason the BCU needs access to these sensors as well so it can take the correct action by opening or closing the gate. Also, when an edge switch is detected, it is a good option that the MCU sends an allert message to me to check what the rootcause was.
The relays used in the IR- sensors and the edge switches can not be connected in parallel to my BCU and the Falcon, this would result in signal loops between the two systems which are electrically not connected. If the relays were double switch types it would be OK, but for the edge switches this will not work. So a small board needs to be placed in between the sensors and the Falcon which basicly ‘doubles’ all the signals. This could also be integrated on the BCU board, but there is an advantage to use a seperate board. The BCU for the garage doors will need the same BCU but it might need a different interface board between the sensors and the control logic (which is also integrated) of those engines. By using two seperate interface boards I can keep the BCU (which is more complex) the same.
The interface board can be powered by the engine itself, there is a 24V power supply available. The spec does not state how much current it can supply, but it can drive a 3W flash light to indicate gate movement. Since I will not be using a flash light I can safely assume I can use the 3W for my interface board, so 125mA at 24V.
The IR-sensors use a relay that is normally open. When the power supply is switched on, the relay activates so it is closed indicating to the Falcon board no object is detected. Below the simplified schematic of how the two IR sensors are connected to the Falcon.

The relays of the IR-sensors can be used to drive a new relay that has two switches. In that case one switch can be used for the Falcon and the second one for the BCU. This results in below simplified schematic:

The same principle can be used for the edge switches:

For the limit switches it is a bit different since they are integrated in the housing of the Falcon and not to be connected externally. Luckily the switches are connected to the board using a 3 pin Molex connector. When measuring the signals on the board it seems the two switches are connected to eachother and tied to ground while the two other contacts connect a pull-up resistor to ground. Since I do not know what the current rating is of the switches used and I’m not sure they can handle the current spikes of relays being activated the best option is to drive transistors with them as indicated in below schematic:

All sensors are now available to the BCU as well, since this will be placed on an additional board it might make sense to add an extra relay that does nothing else that switch on when the power is available in the Falcon. In that case the BCU can detect if the Falcon is powered on and the add-on board is functional.
The rest of the functions for the gate are:
And finally, the BCU should be re-usable for the garage doors, so I will first need to do a study on what is needed for the garage as well before drafting the schematic.