Solid-state relay
10672578 ยท 2020-06-02
Assignee
Inventors
- David Martin Stuckey (Hawthorn, AU)
- Brent Graham (Gabriola, CA)
- Michael Strike (Darley, AU)
- Tenry Kusuma Negara (Cikarang, ID)
Cpc classification
International classification
G01R31/327
PHYSICS
H03K17/30
ELECTRICITY
Abstract
A programmable solid-state relay includes a base module; a configuration module; a control voltage module having an energy storage device; a controller module having at least two microcontrollers, each having an internal EEPROM memory and at least one digital timer; and at least one switch module including at least one switching circuit having first and second switching contacts. The control voltage module is adapted to receive an applied control voltage and to permit pre-selection of an activation voltage level and a de-activation voltage level.
Claims
1. A fail-safe programmable solid-state relay comprising: a base module; a configuration module; a control voltage module comprising at least one energy storage device; a controller module having at least two electrically isolated microcontrollers operating in parallel, each microcontroller comprising an internal EEPROM memory and at least one digital timer; and at least one switch module comprising at least one switching circuit, wherein the at least one switching circuit has two switches; wherein the control voltage module is adapted to receive an applied control voltage or current and to permit pre-selection of an activation voltage or current level and a de-activation voltage or current level; wherein the at least one switching circuit is placed in a state which is selected from at least one normally open switch, or at least one normally closed switch, or a combination thereof; wherein determination of a state of the control voltage or current operates independently of a voltage or current of the at least one switching circuit; and wherein the state of the at least one switching circuit is selected from one of: up to sixteen sets of two normally open switches in series; up to sixteen sets of two normally closed switches connected in parallel; and up to sixteen sets of a combination of two normally open switches in series and two normally closed switches in parallel.
2. The fail-safe programmable solid-state relay according to claim 1, wherein, when the applied control voltage or current exceeds the pre-selected activation voltage or current level, a response to a polarity of the applied control voltage or current is generated and the at least one switching circuit is set to at least one individually pre-determined first state and the at least one digital timer is loaded with a pre-determined value, whereafter the at least one digital timer is started to initiate at least one time delay, an expiry of which sets the at least one switching circuit to at least one individually pre-determined subsequent state; and wherein, when the applied control voltage or current decreases to the pre-selected de-activation voltage or current level, a response is generated whereby the at least one digital timer is started to initiate at least one time delay, an expiry of which sets the at least one switching circuit to at least one individually pre-determined subsequent state.
3. The fail-safe programmable solid-state relay according to claim 1, wherein when a first applied control voltage or current exceeds the pre-selected activation voltage or current level, a response to a polarity of the applied control voltage or current is generated and the at least one switching circuit is set to at least one individually pre-determined first state and the at least one digital timer is loaded with a pre-determined value, whereafter the at least one digital timer is started to initiate at least one time delay, an expiry of which sets the at least one switching circuit to at least one individually pre-determined subsequent state; and wherein when a second control voltage or current is applied, the at least one digital timer is loaded with at least one pre-determined time value, an expiry of which sets the at least one switching circuit to at least one individually pre-determined subsequent state.
4. A fail-safe programmable solid-state relay comprising: a base module; a configuration module; a control voltage module comprising at least one energy storage device; a controller module having at least two electrically isolated microcontrollers operating in parallel, each microcontroller comprising an internal EEPROM memory and at least one digital timer; and at least one switch module comprising at least one switching circuit, wherein the at least one switching circuit has two switches; wherein the control voltage module is adapted to receive an applied control voltage or current and to permit pre-selection of an activation voltage or current level and a de-activation voltage or current level; wherein the at least one switching circuit is placed in a state which is selected from at least one normally open switch, or at least one normally closed switch, or a combination thereof; wherein determination of a state of the control voltage or current operates independently of a voltage or current of the at least one switching circuit; and wherein the energy storage device provides sufficient power to a portion of the at least two microcontrollers, whereby when the applied control voltage or current decreases to a minimum voltage or current level, an ability of the at least two microcontrollers to control the state of the at least one normally open switch, the at least one normally closed switch, or a combination thereof is substantially maintained.
5. A fail-safe programmable solid-state relay comprising: a base module; a configuration module; a control voltage module comprising at least one energy storage device; a controller module having at least two electrically isolated microcontrollers operating in parallel, each microcontroller comprising an internal EEPROM memory and at least one digital timer; and at least one switch module comprising at least one switching circuit, wherein the at least one switching circuit has two switches; wherein the control voltage module is adapted to receive an applied control voltage or current and to permit pre-selection of an activation voltage or current level and a de-activation voltage or current level; and wherein the controller module further comprises at least one Ferroelectric Random Access Memory (FRAM) device associated with each microcontroller, wherein upon initialization of a software program used to control the relay, contents of the at least one internal EEPROM memory are copied to the FRAM device and substituted therefor during one or more subsequent operations of the software program.
6. The fail-safe programmable solid-state relay according claim 1, further comprising a display module.
7. The fail-safe programmable solid-state relay according to claim 6, wherein the display module comprises at least one visual indicator selected from at least one light emitting diode, at least one multi-segmented display, at least one liquid crystal display, or combinations thereof.
8. The fail-safe programmable solid-state relay according to claim 6, wherein the display module displays a state of the at least one switching circuit, a level of the applied control voltage or current, remaining time in the at least one digital timer, an overall state of the relay, or any combination thereof.
9. The fail-safe programmable solid-state relay according to claim 8, wherein the applied control voltage or current is selected from DC or AC.
10. A fail-safe programmable solid-state relay comprising: a base module; a configuration module; a control voltage module comprising at least one energy storage device; a controller module having at least two electrically isolated microcontrollers operating in parallel, each microcontroller comprising an internal EEPROM memory and at least one digital timer; and at least one switch module comprising at least one switching circuit, wherein the at least one switching circuit has two switches: wherein the control voltage module is adapted to receive an applied control voltage or current and to permit pre-selection of an activation voltage or current level and a de-activation voltage or current level; wherein, when the applied control voltage or current exceeds the pre-selected activation voltage or current level, a response to a polarity of the applied control voltage or current is generated and the at least one switching circuit is set to at least one individually pre-determined first state and the at least one digital timer is loaded with a pre-determined value, whereafter the at least one digital timer is started to initiate at least one time delay, an expiry of which sets the at least one switching circuit to at least one individually pre-determined subsequent state; wherein, when the applied control voltage or current decreases to the pre-selected de-activation voltage or current level, a response is generated whereby the at least one digital timer is started to initiate at least one time delay, an expiry of which sets the at least one switching circuit to at least one individually pre-determined subsequent state; and wherein the polarity of the applied control voltage or current is pre-selectable between polarity sensitive and polarity insensitive and wherein when the polarity is sensitive, a biased relay is provided and when the polarity is insensitive, an unbiased relay is provided.
11. A fail-safe programmable solid-state relay Comprising; a base module; a configuration module; a control voltage module comprising at least one energy storage device; a controller module having at least two electrically isolated microcontrollers operating in parallel, each microcontroller comprising an internal EEPROM memory and at least one digital timer; at least one switch module comprising at least one switching circuit; and a unique pin code installed in the base module, wherein each pin is received in a matching pattern of three receptacles provided in a suitably compatible plugboard, whereby installation of the relay into an incorrect plugboard is substantially prevented; wherein the at least one switching circuit has two switches; and wherein the control voltage module is adapted to receive an applied control voltage or current and to permit pre-selection of an activation voltage or current level and a de-activation voltage or current level.
12. The fail-safe programmable solid-state relay according to claim 1, further comprising a delayed release function, wherein when the applied control voltage or current decreases to the selected de-activation voltage or current level, a resetting of the at least one switching circuit to individually pre-determined first states is delayed by corresponding pre-determined time values.
13. The fail-safe programmable solid-state relay according to claim 1, wherein at least one of the at least two microcontrollers further comprises an external communication device, whereby the relay transmits data to an external device or service.
14. The fail-safe programmable solid-state relay according to claim 1, further comprising a switch latching function, whereby a state of the at least one switching circuit, once established in the active state, is retained in the active state for an indefinite length of time or until specified pre-requisite conditions are satisfied.
15. The fail-safe programmable solid-state relay a slave device, wherein the slave device is selected from a relay, a computer, a motor, a bell, or combinations thereof.
16. A method of installing the fail-safe programmable solid-state relay according to claim 1 in a signaling and switching application, comprising: initially selecting at least two or more of the following variables: (i) at least one pair of suitable connections on the base module to supply the control voltage or current; (ii) a desired number and combination of normally open and normally closed switches; (iii) a value of the activation voltage or current level; (iv) a value of the de-activation voltage or current level; (v) a sensitivity of the relay to a polarity of an activation voltage or current; (vi) an ability of the at least one switching circuit to retain its existing state upon removal of the activation voltage or current; and/or (vii) a value of at least one time delay; and pre-setting one or more levels of the at least two selected variables prior to removably attaching the relay to a plugboard.
17. A method of operation using an installed software program of the fail-safe programmable solid-state relay according to claim 1 comprising the steps of: (i) reading and/or measuring an analog level of the applied control voltage or current and converting it into a digital value; (ii) periodically and continuously monitoring the digital value of the control voltage or current and comparing it to one or more pre-set levels of the control voltage or current; and (iii) modifying the the at least one switching circuit according to at least one of: i) the measured value of the activation control voltage or current as required; ii) an ability of the at least one switching circuit to retain its existing state upon removal of the activation voltage or current or when the activation or current voltage decreases below a minimum voltage or current level; and/or iii) an instantaneous value of any time delay, whereby an unsafe state of the relay is substantially prevented.
18. The fail-safe programmable solid-state relay according to claim 4, wherein the at least one switching circuit is placed in a state which is selected from at least one normally open switch, or at least one normally closed switch, or a combination thereof; and wherein determination of a state of the control voltage or current operates independently of a voltage or current of the at least one switching circuit.
19. The fail-safe programmable solid-state relay according to according to claim 18, wherein the state of the at least one switching circuit comprises at least two normally open switches connected in series.
20. The fail-safe programmable solid-state relay according to according to claim 18, wherein the state of the at least one switching circuit comprises at least two normally closed switches connected in parallel.
21. The fail-safe programmable solid-state relay according to according to claim 18, wherein the state of the at least one switching circuit comprises a first set of at least two normally closed switches connected in series being connected in parallel to a second set of at least two normally closed switches connected in series.
22. The fail-safe programmable solid-state relay according to according to claim 18, wherein the state of the at least one switching circuit is selected from one of: up to sixteen sets of two normally open switches in series; up to sixteen sets of two normally closed switches connected in parallel; and up to sixteen sets of a combination of two normally open switches in series and two normally closed switches in parallel.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying drawings, which are incorporated in and constitute a part of this Specification, illustrate various implementations of the invention and, together with the description, serve to explain the advantages and principles of the invention. In the drawings:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DESCRIPTION OF THE INVENTION
(15) The following detailed description of the invention refers to the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings and the following description to refer to the same and like parts. Dimensions of certain parts shown in the drawings may have been modified and/or exaggerated for the purposes of clarity or illustration.
(16) The invention is used to control the propagation of an electrical signal. Various parameters, including parameters of one or more input signals are monitored and when these parameters satisfy pre-determined conditions, the state of one or more switches is set or reset for a pre-determined time, or until one or more parameters change to another pre-determined value.
(17) Various indicia are provided to show the operating state of the switches.
(18) Upon detection of a switch fault, the system is set to a known state and fault indicia are indicated.
(19) The system is based around a control module having at least two microcontrollers to provide diversity, implement system logic and to provide high accuracy and repeatable timing and control.
(20) The solid-state time-delay relay comprises a combination of hardware and software logic implemented in the operation of the controllers. Whilst the hardware supports the implementation of the software logic, it can and will be described herein in isolation from it.
(21) The present invention provides for the implementation of up to two independent relays, i.e. single or dual relays. As the two relays are identical, only a single relay and the common circuitry will be detailed, where appropriate. Where details regarding a dual relay are described, the two relays are referred to as relay A and relay D.
(22) Referring to
(23)
(24)
(25) This arrangement allows for a consistent signal/pin naming convention to be implemented in the remaining modules, while maintaining plug compatibility with many existing electromechanical relays.
(26) The control voltage module as shown in
(27) In one embodiment, the relay is configured as a single relay and the control voltage, appearing on the plugboard across terminals R1 and R2, is re-routed by the configuration board to appear as signals R1_IN and R2_IN.
(28) In another preferred embodiment, the relay is configured as a dual relay and the control voltage for relay A, appearing on the plugboard across terminals R1 and R3, is similarly re-routed by the configuration board to appear as signals R1_IN and R3_IN and the control voltage for relay D, appearing on the plugboard across terminals R2 and R4 is similarly re-routed by the configuration board to appear as signals R2_IN and R4_IN.
(29) Over-voltage and over-current protection is illustrated at 42, where inputs R1_IN, R2_IN, R3_IN and R4_IN are equipped with fuses F1, F2, F3 and F4 for over-current protection. Fuses are required on both legs of the circuits in order to protect the relay when it is configured as a neutral relay.
(30) Metal oxide varistors (MOV17), (MOV18) and (MOV19), mounted across the control voltage inputs, protect the relay against excessive transient voltages. When the control voltage increases to the clamping voltage level of the metal oxide varistors (MOV), the MOV begins to conduct, creating a low resistance path and allowing current to flow between the control voltage input connections, while maintaining the control voltage at the level of the clamping voltage. As the magnitude of the over-voltage condition increases, the magnitude of the shunted current also increases. When the value of the shunted current reaches the rated fuse value, the fuse will open, isolating the relay and protecting it from any damage, which may be caused by the over-voltage condition.
(31) It will be appreciated by the person skilled in the art that alternatives to metal oxide varistors, such as transient-voltage-suppression diodes and spark gaps, are available and could be substituted for the MOVs. It will be further appreciated that alternatives to fuses, such as positive temperature coefficient thermistors (PTCs), are available and could be substituted for the fuses mentioned herein.
(32) Control voltage polarity selection 42, where an arrangement of diodes D34 through D43, along with MOV17 allows the relay to be configured as either a biased relay or neutral relay, as well as either a single relay or a twin relay, as determined by the placement of these components as summarised in the Table below:
(33) TABLE-US-00001 Twin Single Device Neutral Biased Neutral Biased MOV17 D34 0 Jumper 0 Jumper D35 0 Jumper 0 Jumper D36 D37 D38 D39 D40 D41 D42 D43
(34) The output from this section provides the input to the voltage regulator 43. For example, where it is desired to configure the relay as a twin neutral relay, Diodes D34 through D43 are installed and MOV17 omitted, creating a full wave bridge rectifier circuit, such that a positive voltage will appear on outputs ADC_A, ADC_D and VPSU, regardless of the input voltage polarity.
(35) Conversely, where it is desired to configure the relay as a single biased relay, MOV17 is installed, only Diodes D37 and D42 are installed with Diodes D34 and D35 being replaced with 0 jumpers, which effectively eliminates the full wave bridge rectifier circuit, such that a positive voltage will only appear on outputs ADC_A and VPSU, when R1_IN is positive with respect to R2_IN.
(36) Signal ADC_A is fed into the analogue to digital converter contained within microcontroller A on the controller module for processing. Diode D9 provides a voltage to microcontroller A, when a voltage is present on ADC_A. Similarly, signal ADC_D is fed into the analogue to digital converter contained within microcontroller D on the controller module. This arrangement allows for the independent activation of either relay A or relay D, when the relay is configured as a dual relay.
(37) The power supply section is shown generally at 43. Transistor Q1, along with Resistors R4, R5, R6 and Zener Diode DZ18, are used to maintain the voltage regulator U1 in the off-state until the power supply input voltage is sufficient to ensure that a steady, regulated and clearly defined DC voltage level can be generated and maintained by the regulator. Capacitor C1 filters out any AC component appearing on the input voltage. Voltage regulator U1, in conjunction with inductor L1, capacitor C2 and Diode D11, provides a stable, regulated DC voltage for operation of the digital circuitry of the relay.
(38) An energy storage device is presented in the form of a supercapacitor at C100. Resistor R100 and diode D100 control the charging/discharging of the energy storage device.
(39) It is noted that while the voltage regulator circuitry is depicted as a step-down switching voltage regulator, alternative devices, such as linear voltage regulators, are also available to provide the stable, regulated DC voltage required for operation of the digital circuitry of the relay.
(40) The control voltage detection circuits for microcontroller A and microcontroller D are illustrated at 44 and 45, respectively. As both circuits are similar, only the circuit for microcontroller A is discussed herein.
(41) The control voltage derived from the plugboard is rectified by bridge Diode BR2, regulated by Zener Diode DZ19 and used to control optoisolator U4. Resistors R7 and R8 limit the current applied to the input of the optoisolator. The optoisolator provides signal EN_PWR_A to microcontroller A when a voltage greater than the zener voltage of DZ19 is applied to the plugboard, providing an indication to microcontroller A that a control voltage has been detected.
(42) The voltage isolation circuitry is generally illustrated at 46 and includes DC to DC converter MTU2, which derives power signals VCC1 and GND1 from power signals VCC0 and GND0, while maintaining electrical isolation between the two. This arrangement ensures electrical isolation of the two microcontrollers on the controller module.
(43) The controller module, which provides the means by which the operation of the relay is controlled, is depicted in
(44)
(45)
(46) While the circuitry illustrated is based upon the 8-bit Atmel ATMEGA324 microcontroller, there is a wide range of other microcontrollers, which could be substituted without significantly affecting the capabilities of the relay.
(47) Microcontroller A 501 comprises a central processing unit (CPU) 520, programmable non-volatile memory (Flash) 521, static random access memory (SRAM) 522 and electrically-erasable programmable read-only memory (EEPROM) 523.
(48) Analog to digital conversion circuitry (A/D Converter) 524 is provided to digitise analog signals received via Port AA 503. Calibration of the A/D Converter 524 is performed through the use of the internal bandgap reference 525.
(49) A serial peripheral interface Master/Slave (SPI) 526 is provided for communication with devices external to the relay 10 via Port AB 505.
(50) Port AB also provides a serial interface for the FRAM A 527 also located on controller module 50, which is utilised to overcome lifecycle issues associated with the EEPROM 523 internal to the microcontrollers.
(51) Data destined for the switch modules and display module are output on Port AC 507 with individual module selection performed by decoding the signals output from Port AA 503, which latches the signals from Port AC 507 on the target module.
(52) Inputs from the switch modules are received on Port AB 505 and Port AD 509. Port AB 505 also provides the connection to the USBA port 543 for an SPI connection to an external system for downloading/uploading the EEPROM image and/or other data.
(53) Diverse means are utilised for communications with Flash 521 and SRAM 522 directly interfacing with CPU 520 for improved speed; EEPROM 523 interfaces with CPU 520 via internal Bus 550 and FRAM A 527 via Port AB 505.
(54) A programmable universal synchronous/asynchronous receiver/transmitter (USART) circuit, USARTO 532 is provided for communication with devices internal to the relay 10 via Port AA 503.
(55) In addition to a 16-bit timer counter (TC1) 529, two 8-bit timer counters (TC0) 528 and (TC2) 530 are also provided.
(56) An external crystal (XTALA) 531, also comprising controller module 50, provides input to the clock generator circuit 532. A watchdog oscillator 533 develops the timing parameters for the watchdog timer 534 from the clock generator circuit 532.
(57) Power supervision circuit 535 continuously monitors VCC0 and Gnd0, causing watchdog timer 534 to invoke a timeout, if the voltage drops below a specified value.
(58) Port A (bits PA1, PA2) controls which colour LED is displayed for each switch in the switch status LED on the display module.
(59) When the relay is powered up for the first time during manufacture, the microcontroller EEPROM contents are copied to the FRAM to improve memory storage properties. The microcontroller uses software flags to determine if this is the first time it has powered up. If the power-up flag has not been set, then a comprehensive set of integrity tests are performed to confirm correct functionality. If an error is detected, the relay sets an error flag, commands all switches to their default state, records the error type in EEPROM and FRAM, displaying it on the display module, and enters an endless loop from which there is no recovery. This error flag is read during all subsequent start-up sequences and if set, the relay enters the endless loop.
(60) It is desirable that the start-up time be as short as possible in order for the relay to respond quickly to inputs from the overall signaling system. To accomplish this, all subsequent start-up sequences will execute a subset of the integrity tests if no errors have been detected.
(61) The clock circuitry 56 is crystal-based and provides a highly stable clock source for microcontroller A. When a recordable event, such as a switch failure, is detected either by microcontroller A or microcontroller D, bit 2 in the two-wire serial interface register (not shown) of the microcontroller (TWCR) in microcontroller A is set to disconnect PC0 and PC1 from Port C. PC0 becomes the serial clock (SCL) for the real time clock circuitry 59 and PC1 becomes the serial data (SDA) for the real time clock circuitry 59. Data from the real time clock circuitry 59 are then serially input as signal SDA, where they are appended to the event data and stored in both FRAM and EEPROM memories.
(62) The circuitry shown at 57 carries signals MOSI_A, SCK_A and MISO_A to a host computer for downloading/uploading operating system software or other data, as required.
(63) The external communication section of the controller module is shown at 58 and comprises a transceiver U103, filter capacitors C34 and C35 and an antenna. Jumper JP7 allows the communication section of the controller module to be disabled when downloading/uploading operating system software.
(64) The communications system is based upon the Open Platform Communications (OPC) series of standards and specifications for industrial telecommunication and enables real-time relay data to be transmitted via a webserver to various client applications, such as workstations and mobile computing devices, which can then query individual relays or groups of relays, as well as receive and acknowledge relay alarms. It is envisaged that relay data can be stored in a secure cloud-hosted Structured Query Language (SQL) database accessible by users at any time from any location. The SQL structure of the data also provides the ability for the operator's maintenance system to directly access information to aid in the generation of work orders, service requests, field inspections and the like.
(65) It is further envisaged that the present solid-state time-delay relay will forward operational data to a central system and will become part of a mesh network.
(66)
(67) In one form, the switch module 60 also incorporates a current sensing feature (not shown) utilizing a current sense amplifier (not shown) to measure the load current flowing through the switch.
(68) Switches are arranged in stacks or columns A through D with switch contact pairs in rows 1 through 4. The relay is comprised of up to four switch modules, identified as SSRA through SSRD, with each module corresponding to a switch stack. The switches themselves are referred to according to their column and row, such that switch A12 refers to the switch on the SSRA switch module which, unless rerouted by the configuration module, is used to connect plugboard connection A1 to plugboard connection A2.
(69) With regard to the normally open switch 61, an input signal applied at C6_IN is selectably switched by optically coupled mosfets, SSR30 and SSR26, to output C5_IN only when signal SW_C56_1 is asserted by microcontroller A and signal SW_C56_2 is asserted by microcontroller D.
(70) It is to be noted and as will be apparent to the person skilled in the art, in accordance with generally accepted railway signalling principles, even-numbered plugboard connections to normally closed switches are positive with respect to the odd-numbered terminals and odd-numbered plugboard connections to normally open switches are positive with respect to the even-numbered terminals.
(71) Diode D70 blocks any back electromotive force (emf) generated when the relay is used as a low side switch for an inductive load, such as an electromechanical relay. Similarly, Diode D74 is used to block any back emf generated, when the relay is used as a high side switch for an inductive load.
(72) Resistor R54 provides a known state for signal C6_IN in the absence of any externally applied voltage to C6_IN. Software controllable pull-up resistors (not shown) internal to the controller module are used to provide a known default state for signal VC_56, while SSR30 is in the open state.
(73) The presence of a voltage input by the user, which is subsequently controlled by the relay, at the junction between SSR30 and SSR26 is detectable by the use of optoisolator U21 in conjunction with resistor R50 and Diode D115 to generate signal VC_56. This signal is then fed to the controller module for analysis.
(74) During operation, any software designed to accompany the present relay will ensure that the state of each mosfet switch is checked periodically and continuously and is compared with its expected state.
(75) With regard now to the normally closed switch 62, it can be seen to operate in an analogous manner. An input signal applied at C8_IN is selectably switched by optically coupled mosfets SSR29 and SSR25 to output C7_IN only when signal SW_C78_1 is asserted by microcontroller A and signal SW_C78_2 is asserted by microcontroller D.
(76) Diodes D71 and D116 as well as the software controllable internal pull-up resistor function in a manner analogous to Diodes D70 and D74 in the normally open switch circuit.
(77) The presence of a voltage input by the user, which is subsequently controlled by the relay, at plugboard connection C7_IN is detectable by the use of optoisolator U20 in conjunction with resistor R49 and diode D116 to generate signal VC_78, which is then fed to the controller module for analysis.
(78) In one form, the switch module also incorporates a current sensing feature (not shown) utilizing a current sense amplifier (not shown) to measure the load current flowing through the switch. The current sense amplifier (not shown) converts this load current to a small voltage, which is then amplified and forwarded to the controller module shown in
(79)
(80) The portion of the display module for entering specified relay parameters for microcontroller A is shown generally at 71, comprising momentary pushbutton switches SW1_A, SW2_A and SW_3A, which set microcontroller A signals MOSI_A, MISO_A and SCK_A to a known state when pressed.
(81) The portion of the display module for detecting the state of the pushbuttons read by microcontroller D is similar.
(82) The switch status LED array is arranged in the form of stacks A through D, corresponding to plugboard connection stacks A through D.
(83) The portion 72 of the switch status LED array driven by microcontroller A corresponds to the A stack of plugboard connections. Octal D-type flip-flop latch U9 stores data from microcontroller A, appearing on data bus lines D1_A through D8_A, when microcontroller A asserts signal LE_LED_A. Outputs from U9 control the illumination of LEDs A12, A34, A56, A78, B12, B34, B56 and B78, according to the latched state of the inputs D1_A through D8_A.
(84) The portion of the switch status LED array, corresponding to the switch status LED array stacks B, C and D (not shown), is similar to data controlling the illumination of stacks A and B generated by microcontroller A and data controlling the illumination of stacks C and D generated by microcontroller D.
(85) The portion of the display module for controlling the 7-segment displays driven by microcontroller A is shown at 73 and provides a means for multiplexing and decoding the signals generated by microcontroller A and is comprised of an octal D-type flip-flop U12, a 3-line to 8-line decoder U10 and a BCD to 7-segment decoder U11.
(86) Decoder U12 stores the data from microcontroller A appearing on data bus lines D1_A through D8_A when microcontroller A asserts signal LE_7SEG_A. Decoder U12 outputs signals A0_A, A1_A, A2_A and A3_A to Decoder U11 which, in turn, generates signals A_A through to G_A for the illumination of the individual segments a through each 7-segment display SEG1_A, SEG2_A, SEG3_A and SEG4_A, shown at 74. Decoder U12 also outputs signal DOT_A for the illumination of the decimal point indicator of each of the 7-segment displays.
(87) Decoder U12 also generates signals TRA0_A, TRA1_A and TRA2_A, which are input to Decoder U10 to generate signals QA1_A, QA2_A, QA3_A and QA4_A, which individually select 7-segment displays SEG1_A, SEG2_A, SEG3_A and SEG4_A, respectively, shown at 74.
(88) The portion of the display module for controlling the 7-segment displays driven by microcontroller D is similar.
(89) The portion 75 of the display module for controlling the power supply status indication corresponding to microcontroller A, comprises an indicator LED PSU_A and a current limiting resistor R64. Signal LEDPWR_A, generated by microcontroller A, determines the illumination of LED PSU_A.
(90) The portion of the power supply status indication, corresponding to microcontroller D, is similar.
(91)
(92) When the level of the control voltage increases to the activation voltage level, the normally closed switches open and the normally open switches close. The switches remain in these states until the level of the control voltage decreases to the de-activation voltage level.
(93)
(94) The Legacy On delay begins when the control voltage level reaches the activation voltage level and is preferably set to accommodate any target external signalling equipment with a slow response time. This delay will prevent the switched signals reaching the target equipment before they are expected. The Legacy On delay is also preferably used simply to delay the opening of the normally closed switches, where it is desired to maintain the signals switched by the normally closed switches for a pre-determined period of time.
(95) The Transition On delay begins with the opening of the normally closed switches and ensures that no normally open switch is closed, while any normally closed switch is also closed. Where no normally closed switches are provided, the Transition on delay can be set to 0.
(96) The Delay On delay provides a slow pick capability for the normally open switches to delay the signals switched by the normally open switches for a pre-determined period of time.
(97) The On time is usually determined solely by the control voltage level and the programmed On time is effectively infinite. The On time usually terminates when the control voltage level decreases to the de-activation voltage level. The On time can, however, be programmed to be a shorter time period in order to set the maximum time that normally open switches can be closed. The On time can be used in circuits where a certain condition must be achieved within a specified time period. The solid-state relay of the present invention provides a time-out capability for such applications.
(98) The Delay Off delay provides a slow drop capability for the normally open switches to maintain the signals switched by the normally open switches for a pre-determined period of time.
(99) The Transition Off delay begins with the opening of the normally closed switches and ensures that no normally open switch is closed, while any normally closed switch is also closed. Where no normally closed switches are provided, the Transition off delay can be set to 0.
(100) The Legacy Off delay is preferably set to accommodate any target external signalling equipment with a slow response time. This delay will prevent the switched signals to the target equipment from being extinguished before they are expected. The Legacy Off delay is preferably also used simply to delay the closing of the normally closed switches, where it is desired to inhibit the signals switched by the normally closed switches for a pre-determined period of time.
(101) As with other forms of the present invention, the configuration module is used to re-route specified plugboard signals to specified pins on the electronic industry connectors.
(102) In order to provide near plug-in compatibility with a particular form of existing electromechanical relays, the slave control input is applied across plugboard connections D3 and D4, the slave verification inputs are applied across plugboard connections D5 and D6 and the slave relay is connected to plugboard connections R3 and R4. Further, to provide near plug-in compatibility, plugboard connection A1 (not shown) is driven to a logic high state by the controller module and the states of plugboard connections A2, A3 and A7 (not shown) are detected by the controller module to indicate the presence of any plugboard strappings installed across A1, A2, A3 and A7 (not shown). It should be noted that the nominal voltage of the slave relay must be the same as the nominal voltage of this slow release solid-state relay.
(103) Alternatively, in one form, a normally open contact is connected to a voltage source of the same nominal voltage as the slave relay to provide the activation voltage to both the programmable relay and the slave relay. The current state of the at least one switches is maintained until a corresponding timer has expired, at which time, the state of the remaining at least one switches is set to corresponding, individually pre-determined subsequent states. As with relay operation upon activation, there are a plurality of pre-determined time values and a plurality of corresponding subsequent states for the remaining at least one switches during de-activation.
(104) In use, the programmable relay is controlled by software running on the controller module to control the de-activation delay of the relay. When the relay is configured as a slow release relay, the release of an energised slave relay is delayed after the opening of a control contact and one or more of the switch modules are pre-determined to function as slave relay control switches and one or more of the switch modules are pre-determined to control the activation of one or more slave relays. Additionally, one or more of the switch modules are pre-determined to function as slave relay verification switches to confirm the state of the corresponding slave relay. When the relay is configured as a slow release relay, latching must be enabled, as described above.
(105) When the control voltage applied to the relay decreases to the de-activation voltage level, the state of all switches is maintained in their last state by virtue of the latching function. When the slave control input becomes an open circuit, the timer is loaded with a first time value and the timer started, as described above. As with the activation timing, multiple sequential timer values are preferably incorporated. When the last timer has expired, the relay is unlatched and the slave relay becomes de-energised.
(106)
(107) If it is detected that it is not the first start-up, a first subset of integrity tests is performed during the first passage through the main loop. Each subsequent passage through the main loop triggers a subsequent subset of integrity tests to be performed. Once all integrity subsets have been successfully executed, the sequence begins again with the first subset of integrity tests. In this manner, the integrity of the relay is confirmed after several passages through the main loop, while minimizing start-up time.
(108) If an error is detected at any time during the integrity test process, the relay enters failsafe mode (e).
(109) Turning to the switch checking process that can be used, the switch type is first determined by examination of the loaded configuration data for the relay. The individual mosfets in each pair comprising each switch are then activated and deactivated in the sequence as shown in
(110) Between each step, the presence or absence of a voltage (shown generically in the flowchart as Vz) is determined by the controller module. Signal Vz is derived from the Optoisolators shown as U21 and U20 in
(111) The flow chart of
(112) Pull-up resistors internal to the controllers are used to set the switch status input signals VC56 to a known state in the absence of a voltage at the junction of the mosfets SSR30 and SSR26 comprising the normally open switch.
(113) Pull-up resistors internal to the controllers are similarly used in the normally closed switch to set the switch status input signal VC78 to a known state in the absence of a voltage at the output of mosfet SSR25.
(114) If the switch to be checked is a normally open switch, then microcontroller A, using signal SW_C56_1, commands mosfet SSR30 to be open and microcontroller D, using signal SW_C56_2, commands mosfet SSR26 to be open.
(115) If a voltage is detected at the junction of the two mosfets SSR30 and SSR26 (signal VC56), then mosfet SSR30 is considered to have failed the open state test, creating the potential for a wrong-side failure should SSR26 ever also fail in the closed state. The relay enters error 1 mode.
(116) If no voltage is detected at the junction of the two mosfets SSR30 and SSR26, then SSR30 is considered to have passed the open state test and the program continues.
(117) Microcontroller A then, using signal SW_C56_1, commands mosfet SSR30 to be closed while microcontroller D, using signal SW_C56_2, commands mosfet SSR26 to be open.
(118) If no voltage is detected at the junction of the two mosfets SSR30 and SSR26 (signal VC56), then mosfet SSR30 is considered to have failed the closed state test, creating a right-side failure. The relay enters error 3 mode.
(119) If a voltage is detected at the junction of the two mosfets SSR30 and SSR26 (signal VC56), then SSR30 is considered to have passed the closed state test.
(120) Microcontroller A then, using signal SW_C56_1, commands mosfet SSR30 to be open and microcontroller D, using signal SW_C56_2, commands mosfet SSR26 to be open and both microcontrollers turn on the internal pull-ups on the switch status input data lines.
(121) If a voltage is detected at the junction of the two mosfets SSR30 and SSR26 (signal VC56), then SSR26 is considered to have failed the open state test, creating the potential for a wrong-side failure should mosfet SSR30 ever also fail in the closed state. The relay enters error 1 mode.
(122) If no voltage is detected at the junction of the two mosfets SSR30 and SSR26 (signal VC56), then mosfet SSR26 is considered to have passed the open state test.
(123) Microcontroller A then, using signal SW_C56_1, commands mosfet SSR30 to be open and microcontroller D, using signal SW_C56_2, commands mosfet SSR26 to be closed.
(124) If a voltage is detected at the junction of the two mosfets SSR30 is considered to have failed the open state test. The relay enters error 1 mode.
(125) If no voltage is detected at the junction of the two mosfets SSR30 and SSR26 (signal VC56), then mosfet SSR30 is considered to have passed the open state test.
(126) Control then returns to the calling program.
(127) If the switch to be checked is a normally closed switch, then microcontroller A, using signal SW_C78_1, and microcontroller D, using signal SW_C78_2, command mosfets SSR29 and SSR25, respectively, to be closed. As with the normally open switch, the microcontrollers turn on the internal pull-ups on the switch status input data lines and set the switch status to known state.
(128) If no voltage is detected at the output of the switch circuit (signal VC78), then both mosfet SSR29 and SSR25 are considered to have failed the closed state test. The relay enters error 1 mode.
(129) Microcontroller A then, using signal SW_C78_1, commands mosfet SSR29 to be closed and microcontroller D, using signal SW_C78_2, commands mosfet SSR25 to be open.
(130) If no voltage is detected at the output of the switch circuit (signal VC78), then mosfet SSR29 is considered to have failed the closed state test. The relay enters error 3 mode.
(131) If a voltage is detected at the output of the switch circuit (signal VC78), then mosfet SSR29 is considered to have passed the closed state test.
(132) Microcontroller A then, using signal SW_C78_1, commands mosfet SSR29 to be open and microcontroller D, using signal SW_C78_2, commands mosfet SSR25 to be closed.
(133) If no voltage is detected at the output of the switch circuit (signal VC78), then mosfet SSR25 is considered to have failed the closed state test. The relay enters error 3 mode.
(134) If a voltage is detected at the output of the switch circuit (signal VC78), then mosfet SSR25 is considered to have passed the closed state test.
(135) Microcontroller A then, using signal SW_C78_1, commands mosfet SSR29 to be open and microcontroller D, using signal SW_C78_2, commands mosfet SSR25 to be open.
(136) If a voltage is detected at the output of the switch circuit (signal VC78), then either mosfet SSR29 or mosfet SSR25 are considered to have failed the open state test. The relay enters error 3 mode.
(137) If no voltage is detected at the output of the switch circuit (signal VC78), then both mosfet SSR29 and SSR25 are considered to have passed the open state test.
(138) Further advantages and improvements may very well be made to the present invention without deviating from its scope. Although the invention has been shown and described in what is considered to be the most practical and preferred embodiment, it is recognized that departures may be made therefrom within the scope and spirit of the invention, which is not to be limited to the details disclosed herein, but is to be accorded the full scope of the claims so as to embrace any and all equivalent devices and apparatus. Any discussion of the prior art throughout the specification should in no way be considered as an admission that such prior art is widely known or forms part of the common general knowledge in this field.
(139) In the summary of the invention, except where the context requires otherwise due to express language or necessary implication, the word comprising is used in the sense of including, i.e. the features specified may be associated with further features in various embodiments of the invention.