Film-Tech Cinema Systems
Film-Tech Forum ARCHIVE


  
my profile | my password | search | faq & rules | forum home
  next oldest topic   next newest topic
» Film-Tech Forum ARCHIVE   » Operations   » Digital Cinema Forum   » Use GPO and relay on Showvault (Page 1)

 
This topic comprises 2 pages: 1  2 
 
Author Topic: Use GPO and relay on Showvault
Biraj Thakuri
Film Handler

Posts: 11
From: Nepal, Pokhara 11
Registered: Sep 2017


 - posted 02-12-2019 09:04 AM      Profile for Biraj Thakuri   Email Biraj Thakuri   Send New Private Message       Edit/Delete Post 
Hello all,
I am having a bit of an issue trying to work with GPO and relay. I have an series 2 Christie projector with Doremi Showvault and IMB. I am trying to have an automated lighting system on our theatre by using the macros.

We have only manual light switches so GPO may be the best option for that.

I have an 5v 8 relay and am trying to connect it to the GPO section of the IMB.

I have made everything ready with showvault field installer as well as IMS field installer. The confusion is which wire should be connected to where.

From the Showvault manual:
 -

From IMS manual:
 -

The GPIO pins in relay:
 -
As you can see they are very much different.
I understand that the ground from GPO goes to ground on relay and then I am confused about the rest of the wiring.
For e.g
  • 1.Does the IMB GPO output 5V and from where?
    2.There is mention of 5V on IMS manual but not on showvault manual
    3.Pin no. 1 to 7 gives out signal then from where should the relay get power.
Showvault manual has no mention of 5V anywhere.I wanted to ask here before trying anything on the valuable server.
Thank You for the help.

 |  IP: Logged

Harold Hallikainen
Jedi Master Film Handler

Posts: 906
From: Denver, CO, USA
Registered: Aug 2009


 - posted 02-12-2019 09:46 AM      Profile for Harold Hallikainen   Author's Homepage   Email Harold Hallikainen   Send New Private Message       Edit/Delete Post 
I suspect these are open collector or open drain outputs. They are similar to switch closures to ground. If your relays have polarized coils (some do because of permanent magnets in the relay), connect the positive side of the relay coil to the +5VDC output of the server. If the relay coil is not polarized, connect either side of the relay coil to +5 VDC. Connect a diode across the relay coil with the cathode (the side with band) to +5VDC. The diode allows the relay current to continue flowing as the magnetic field collapses and prevents generation of high voltage that could damage the server output. Connect the other side of the relay (the "low side") to the GPO output of the server. When a GPO is activated, it acts like a switch to ground which then allows current to go through the relay.

Check the current rating of the GPO outputs and the relay coil. Make sure the GPO output current rating is higher than the relay coil current to avoid damaging the GPO output.

Good luck!

Harold

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 02-12-2019 09:49 AM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
The IMS Manual also shows an example for direct relay control by the GPO. See 'Typical application'. It works the same as with your relay board - the GPO switches an externally supplied switch voltage through into GND. As the IMS GPIO does not support that switching voltage, it has to be sourced externally, e.g. by using a 5V USB power supply/charger.

http://www.film-tech.com/cgi-bin/ubb/f16/t003410/p1.html

Harold - the relay board shown uses it's own optocoupler and transistor relay switch per channel, so, pretty safe.

Here's the description and schematics:

http://wiki.sunfounder.cc/index.php?title=8_Channel_5V_Relay_Module

That article doesn't mention that there is a separation jumper that can split input stage supply from coil switching supply (it's shown in the schematics, though). So one could supply the input stage switching circuit from a low current supply, and the coil from a suitable other higher current capable supply. In the case of the early revisions IMB GPO, there is no supply voltage available to supply the input stage, so, one would use the same 5V supply for both input and coil switching.

There are two different revisions of the Showvault/IMB GPOs - early ones offers 7 GPOs (0-6) + GND, but no 5V supply voltage (8Pin RJ45 only), the later revisions offer 6 GPOs (GPO6 unavailable), GND, and a +5V/200mA supply on pin 7 (which carries GPO6 in earlier board revisions). Doremi has a technote describing these differences (IMB.TB.005120.DRM).

- Carsten

 |  IP: Logged

Biraj Thakuri
Film Handler

Posts: 11
From: Nepal, Pokhara 11
Registered: Sep 2017


 - posted 02-13-2019 12:12 AM      Profile for Biraj Thakuri   Email Biraj Thakuri   Send New Private Message       Edit/Delete Post 
Thank You very much for the information Harold and Carsten.
I had read about the jumper that separates the input supply from the relay so will definitely do that once I sort this out.

So as I have the Rev E (later) IMB board, that means we get only 6 GPOs, 5v output from pin #6 and ground from pin 8# totaling to 8 pins on RJ45.
So external power to relay is not necessary. As mentioned my Carsten I have to split the power and provide it to the coil switching mechanism.

And can you point me out to the technote you mentioned (IMB.TB.005120.DRM), I didn't find it. Thank you.

 |  IP: Logged

Marcel Birgelen
Film God

Posts: 3357
From: Maastricht, Limburg, Netherlands
Registered: Feb 2012


 - posted 02-13-2019 03:04 AM      Profile for Marcel Birgelen   Email Marcel Birgelen   Send New Private Message       Edit/Delete Post 
Since the coil switching circuit is optically isolated from the stage circuit and according to the schematics, does have its own ground, I would invest the handful of dollars for a separate 5V power supply for the coil switching supply.

Firstly, I would not trust the 5V supply in my server to be sufficient to drive 6 coils simultaneously in the worst case, even though those relays look flimsy enough... And secondly, if something in that circuit would fail or overload, I'd rather have blown up my $5 power supply than the GPIO port of my server.

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 02-13-2019 06:30 AM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
Yikes, I thought I made that clear - you need a separate supply for the coil switching. 200mA from the IMB is too risky. You may feed the input stage from it, but then use a USB-wall charger or similar for the coil switching. I would recommend a USB wall charger, since they can easily be replaced in case of a defect. Just use an ordinary cut-through USB-A cable towards the relay board/enclosure.

I just sent you the doremi GPO technote by mail.

- Carsten

 |  IP: Logged

Biraj Thakuri
Film Handler

Posts: 11
From: Nepal, Pokhara 11
Registered: Sep 2017


 - posted 02-17-2019 09:11 AM      Profile for Biraj Thakuri   Email Biraj Thakuri   Send New Private Message       Edit/Delete Post 
Thank you very much Marcel and Carsten for clarifying the confusion. I have the relay ready and am planning to try it out tomorrow.

Will definitely use the usb charger for coil switching. Much less risk.

I have one question though. Which one of the following setup will be better and safer?

1. Direct GPO to relay (my current setup)
2. RS232 to Adruino and then relay
3. Ethernet to Adruino and then Relay

Thanks again and please clarify my above question. I wanted to do this at minimum risk to the IMB.

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 02-17-2019 10:14 AM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
If you are programming the Arduino yourself, the effort needed to make it robust is clearly higher. The direkt GPO to relay in comparison is simple. Given that you have two serial levels of optical isolation, the risc is very small.

People usually choose the serial or ethernet based approach if they want to have additional functionality - e.g. an Arduino in between could be controlled by multiple masters, or implement higher level actions (e.g. automatic pulse sequencing). If all you want to do is control lights and curtains from a ShowVault SPL, the direkt GPO approach should be the easiest and safest. If you later feel you want more options, you can still add an Arduino, or buy a JNIOR.

- Carsten

 |  IP: Logged

Marcel Birgelen
Film God

Posts: 3357
From: Maastricht, Limburg, Netherlands
Registered: Feb 2012


 - posted 02-17-2019 10:22 AM      Profile for Marcel Birgelen   Email Marcel Birgelen   Send New Private Message       Edit/Delete Post 
If you use a separate power supply for your coil switching, I don't see a real risk for your IMB. Since your stage switching will have a common ground with the GPIO, I guess it will be best if you power them from the IMB itself.

The most secure solution for the IMB would obviously be the Ethernet -> Arduino -> Relay board -> Relays route, because your IMB is already connected to Ethernet, you're not hooking anything else up to your IMB. But still, do you need the complexity of this setup? If you want to switch more than 6 separate relays for example, this could be a route of doing so. If not, then the first solution should be good enough.

The RS232 route is much like the Ethernet solution, only that you're now hooking up the Arduino directly to the RS232 port, which would be just a tiny bit riskier than taking the Ethernet route.

PS: It looks like Carsten and I hit on the Submit button almost simultaneously. [Wink]

 |  IP: Logged

Ioannis Syrogiannis
Expert Film Handler

Posts: 147
From: Reykjavík, Iceland
Registered: Jun 2005


 - posted 02-17-2019 04:21 PM      Profile for Ioannis Syrogiannis   Email Ioannis Syrogiannis   Send New Private Message       Edit/Delete Post 
I would prefer to use an extra layer of complexity (Arduino), whatever that may mean in order to not have the lighting system status depending on the continuous GPO power output coming from the IMB.

If I am not mistaken, in order for the circuits to be in a condition other than normal (Normal Open/Close depending on how they are connected) the pins in relay should be continuously powered. They don’t work with pulses.
During and between sessions, I find it a bit more probable to be obliged to restart the projector or/and IMB than an independently powered Arduino.

On the other hand, if it was me, I wouldn’t trust those relays to be in charge of a theater’s lighting system either. In a venue where security is considered to such a degree as it is in a cinema, a more reliable investment is in order and the whole discussion here would better be a proof of concept and a way to better get acquainted with the equipment.

 |  IP: Logged

Marcel Birgelen
Film God

Posts: 3357
From: Maastricht, Limburg, Netherlands
Registered: Feb 2012


 - posted 02-17-2019 05:03 PM      Profile for Marcel Birgelen   Email Marcel Birgelen   Send New Private Message       Edit/Delete Post 
It depends on what you want to do.

I'd not trust those flaky looking relays to directly drive the lightning of my theater, even though they're rated at 10A 250V.

But there is nothing wrong with them sending pulses to some latching relays for example. You know, those somewhat beefier DIN-rail mounted ones, from a recognizable and somewhat trustworthy brand. [Wink]

Those latching relays could have different inputs as well, such as simple push-buttons inside the theater or booth.

Although, my preferred solution in such case would be to ditch those first row of relays entirely and just use a bunch of opto-couplers to drive the big relays directly, to simply avoid delays and sticky relays.

 |  IP: Logged

Biraj Thakuri
Film Handler

Posts: 11
From: Nepal, Pokhara 11
Registered: Sep 2017


 - posted 02-22-2019 09:29 PM      Profile for Biraj Thakuri   Email Biraj Thakuri   Send New Private Message       Edit/Delete Post 
Thank you Marcel, Ioannis and Carsten for your valuable suggestions. I appreciated it a lot.

I will definitely get a better relay for the use and will try with Arduino in between.

And Carsten, I couldn't find details about which revision my IMB board is. I have recently updated to 2.8.20 and got the following image from the webUI.

 -

Can't differentiate if it is the earlier revision or later revision.
Thank you.

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 02-23-2019 06:35 AM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
Biraj - I sent you the Doremi Technote on IMB revision/GPO changes. It looks as if your IMB is a revB. Whatever the revision is, you should be able to measure the existence of the 5V supply on the GPO port. Even if the 5V is missing, you can use that relay board if supply the input stage with 5V (the same as the coil switching).
However, if you are not able to measure and make your own conclusions, you should probably not mess with your own hardware additions to an expensive piece of gear.

Regards - Carsten

 |  IP: Logged

Marlon Martins
Film Handler

Posts: 78
From: Torres, RS, Brazil
Registered: Apr 2015


 - posted 02-25-2019 07:27 AM      Profile for Marlon Martins   Email Marlon Martins   Send New Private Message       Edit/Delete Post 
i got also a automated "light system" with those boards.

using in a showvault and alchemy servers.

as mentioned, those relays are not so powerful, do not connect high power light. one relay in my system failed, but after replacement, works fine for over 2 years i think

if i recall, the connection was simple, ground and 1 pin for each gpo, directly on the inputs of the board.

but the alchemy server has separated grounds, so, just need to join them

one tip i have, is i decided to use the relays as a "turn off" system, so, the lights are on by default, and the system turn off the lights. it's better in case of any problem with the device, power outage, etc.

 |  IP: Logged

Biraj Thakuri
Film Handler

Posts: 11
From: Nepal, Pokhara 11
Registered: Sep 2017


 - posted 03-20-2019 06:22 AM      Profile for Biraj Thakuri   Email Biraj Thakuri   Send New Private Message       Edit/Delete Post 
Thank you for the reply Carsten and Marlon.

Yes, it was a surprise for me that the IMB is a rev B as the back side of showvault sticker has Rev E [Confused] and I couldn't find any GPO information regarding it.

From your information I am very clear regarding the wiring to be done. But I just can't find what I am looking.
For e.g I couldn't find ground in the GPO
 -

The RJ-45 has 8 pins so the I got 0-7 pin no. as in the screenshot above.

I have searched the field installer manual but all of them mentioned Rev C and Rev E only. No Rev B.

Rev C:  -

Rev E:  -

And Marlon can you please explain me the whole circuit of the automated light system and how you connected the GPOs to the relay board and its working.

Thank you for helping me guys.

 |  IP: Logged



All times are Central (GMT -6:00)
This topic comprises 2 pages: 1  2 
 
   Close Topic    Move Topic    Delete Topic    next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:



Powered by Infopop Corporation
UBB.classicTM 6.3.1.2

The Film-Tech Forums are designed for various members related to the cinema industry to express their opinions, viewpoints and testimonials on various products, services and events based upon speculation, personal knowledge and factual information through use, therefore all views represented here allow no liability upon the publishers of this web site and the owners of said views assume no liability for any ill will resulting from these postings. The posts made here are for educational as well as entertainment purposes and as such anyone viewing this portion of the website must accept these views as statements of the author of that opinion and agrees to release the authors from any and all liability.

© 1999-2020 Film-Tech Cinema Systems, LLC. All rights reserved.