Railway relay base locking method
Technical Field
The invention belongs to the field of railway relay machinery, and particularly relates to a locking method for a railway relay base of a JZCJ-0.16 type relay.
Background
The JZCJ-0.16 type relay is a plug-in type heavy-duty ac electromagnetic relay in which a dedicated socket is provided. And, this type of relay needs the installation shockproof frame when using on the scene. The shockproof frame has two types, one type is used for a signal structure, and the other type is used for a transformer box. The electromagnetic system in the plug-in relay is a clapper type magnetic circuit consisting of an iron core and a strip-shaped armature. The upper end of the socket of the JZCJ-0.16 type relay is provided with a locking device, and when the relay is inserted into the special socket, the card board locks the special socket. The railway relay belongs to the field with high requirements on safety, and is very important for the whole judgment process of locking, so that a locking device with higher safety needs to be provided, and a more reliable decision basis is provided for power on and power off of the relay.
Disclosure of Invention
The present invention is directed to a method of locking a railway relay base that solves, or partially solves, the above problems.
Specifically, the invention adopts the following scheme:
a railway relay base locking method is used for a JZCJ-0.16 type railway relay and is characterized in that a locking device is arranged on a socket of the railway relay, the locking device is provided with a slot, a clamping plate is arranged at the sealing position of the slot, a detection chip is arranged, the detection chip is connected with a terminal processor and transmits data, the railway relay is inserted into the socket or pulled out of the socket through the slot by the clamping plate, the clamping plate is close to the sealing position when the railway relay is inserted into the socket, the clamping plate is far from the sealing position when the railway relay is pulled out of the socket, the detection chip detects the state of the clamping plate and sends data to the terminal processor, when the clamping plate is just far from the sealing position of the slot, the clamping plate is triggered to enter a separation state, the detection chip outputs first execution information of the separation state to the terminal processor, and when the terminal processor receives the first execution information, judging whether a railway relay exists in the slot, when detecting that the relay does not exist in the slot, the clamping plate is changed to a separation state, and then if the relay does not exist in the slot, the clamping plate is continuously left in the separation state; when the clamping plate is close to the sealing position of the slot, the clamping plate is triggered to enter an entering state, the detection chip outputs second execution information of the entering state to the terminal processor, the terminal processor judges whether a railway relay exists in the slot or not when receiving the second execution information, and when the relay exists in the slot, the clamping plate is changed to the entering state; after the railway relay is in the entering state, the railway relay is locked by using the clamping plate within the locking time range according to the locking time of the clamping plate preset by a user, and meanwhile, the clamping plate enters the locking state.
In the locking method of the invention, the detection chip detects the state of the card board through the detection device. In one embodiment, the detecting device for detecting the card board state is a magnetic field strength detecting device, wherein a magnetic field generator capable of generating a magnetic field is arranged on the card board, the strength of the generated magnetic field is synchronous with the card board state, and a magnetic field sensor is arranged at the sealing of the slot or inside the detecting chip. In another embodiment, the detecting device for detecting the card board state is a reflection line transmitting and receiving device disposed on the detecting chip, wherein the transmitting device transmits the reflection line to the card board, the receiving device receives the reflection line, and the distance change between the card board and the detecting chip and thus the card board state are determined according to the time difference between the transmission and the reception of the reflection line.
Preferably, the first execution information includes an event that the card is far from the seal and a time when the event occurs, and the second execution information includes an event that the card is near the seal and a time when the event occurs.
In addition, when the card board starts to enter the separation state and detects that the relay still exists in the slot, error reporting information is sent to the terminal processor, the card board enters the error state 1, and when the card board starts to enter the entry state and detects that the relay does not exist in the slot, error reporting information is sent to the terminal processor, and the card board enters the error state 2.
The invention has the beneficial effects that: the invention provides a locking method of a railway relay base, which plans the whole process of locking a JZCJ-0.16 type relay in a railway relay, detects the state of a card board, grasps the action of a user through the state to judge whether the relay exists in a special socket, adopts double detection processes to ensure the correctness of judgment, is greatly helpful for practical application and improves the safety of use.
Drawings
FIG. 1 is a schematic diagram of a JZCJ-0.16 relay.
Detailed Description
Among filament switching relays, the JZCJ type relay is a filament switching relay of an earlier time, is an ac relay, and is widely used in a signal bulb circuit. Its working principle is that it can automatically convert it into auxiliary filament to light up, then connect its contact to form alarm circuit. The filament switching relay is classified into four models of a JZCJ type, a JZSJC1 type, and a JZCJ-0.16 type. The JZCJ type is an elastic non-plug-in relay, its contacts and coil have corresponding terminals respectively connected with external wires, and the screws are installed in the signal structure by two holes on the base. The electromagnetic system of the JZCJ relay is essentially a clapper magnetic circuit consisting of a U-shaped yoke, a cylindrical iron core and a flat armature. In order to reduce the pulsation of magnetic attraction, a semicircular short-circuit copper ring is embedded in the pole face of the end part of the iron core, and a spring is hung at the rear end of the armature and the left lower part of the yoke iron to generate mechanical reaction force. The screw and the nut can be connected through the spring to adjust the reaction force. The coil with the circular structure has the advantages that the sufficient voltage and brightness of the bulb can be guaranteed, the wire diameter of the coil is thick, the number of turns of the coil is small, and the alternating current impedance is small. In an electromagnetic system of a JZCJ type relay, there are two sets of side-by-side contact sets, and contact lead pieces and coil lead pieces are fixed to a base thereof. In order to distribute wires for the signal mechanism, 8 screws are arranged on the socket and are used as connecting terminals and can be respectively connected with the plug-in sheets on the socket. Once the relay fails, it can be quickly replaced. Its moving contact is not fixed directly by pull rod, but fixed on armature by screw. It is connected to the outside line using a connection terminal. JZCJ type relays are typically side placed. The JZSJC type has two working positions, namely an upright position and a side position.
The JZCJ-0.16 type relay is a plug-in heavy-elasticity AC electromagnetic relay with special socket. This type of relay requires a shock mount to be installed for field use. At this time, there are two kinds of anti-vibration frames, one of which is used for the signal structure and the other is used for the transformer box. The electromagnetic system of the relay is a clapper type magnetic circuit consisting of an iron core and a strip-shaped armature. The upper end of the base of the socket is provided with a locking device, and after the relay is inserted into the socket, the clamping plate can lock the relay immediately. The JZCJ-0.16 type relay has high reliability, because two pole faces of an iron core of the relay are respectively embedded with a short circuit copper ring, the release of an armature depends on the self weight of the armature and the reaction force of a contact, the contact system structure of the relay is basically the same as that of a safe electrodeless relay, and four rear contacts exist.
In the locking method, a switch is arranged on a card board, a switch elastic sheet is arranged on the switch, the switch elastic sheet has an open state and a locking state, when the card board is found to be close to the sealing position of a slot, namely the open state is changed into the locking state, the card board is in an entering state, second execution information is sent to a processor of a terminal, the locking state is changed into the open state, when the card board is continuously far away from the sealing position of the slot, the card board is in a separating state, and first execution information is sent to the processor of the terminal.
In consideration of the fact that a user needs to operate the card board when inserting or pulling the card board into or out of the slot, the processing method provided by the invention determines the state of the card board according to the information output by the detection chip in the card board, and further processes the card board according to the state of the card board and whether the railway relay exists in the slot or not. The processing method provided by the invention further quantifies the processing action of the user on the railway relay. When the detection method provided by the invention detects that the card board is far away from the sealing position of the slot (the user opens the card board), or the card board approaches to the sealing position of the slot (the user closes the card board), the detection method can also trigger a processor of the terminal equipment to generate an interrupt signal, so that the processor of the terminal equipment further processes the railway relay according to the state of the card board and the in-place state information of the railway relay in the slot. The method provided by the invention can predict the insertion action or the extraction action of the user through the state of the card board, thereby realizing that the railway relay in the slot is powered off before the user is extracted, and the railway relay in the slot is powered on after the user is inserted.
Thus, in one embodiment, the method of latching a railway relay mount of the present invention comprises the following:
the locking method is characterized in that a locking device is arranged on a special socket, when the railway relay is inserted into the special socket, the locking device uses a clamping plate to lock the railway relay, and the special socket is used as a base of the railway relay. The locking device is provided with a slot, a clamping plate is arranged at the sealing position of the slot, a detection chip is arranged to detect whether the railway relay is inserted, and the detection chip is connected with a processor of the terminal to transmit data. A state machine is used in the detection chip to represent the state transition and the state of the card. The state transition of the card is triggered by an event that is divided into a far event and a near event. The card board is divided into an entering state, a separating state, a locking state, an error state 1 and an error state 2.
When the card board is just far away from the sealing position of the slot, namely a far-away event occurs, the far-away event triggers the card board to enter a separation state, and meanwhile, first execution information of the separation state is output to a processor of the terminal. The first execution information includes a far event and a time at which the far event occurred. And once the processor of the terminal receives the first execution information, judging whether the railway relay exists in the slot or not, and expressing the result by using a judgment event. The judgment event uses Boolean values to represent the values of the judgment event, and comprises two values of true and false, wherein true represents that the railway relay exists in the slot, and false represents that the railway relay does not exist in the slot. If the value of the event is judged to be true, error information is sent to the processor of the terminal, and the card board enters an error state 1. Thereafter, the card can transition to the detached state only if the value of the determination event is false. If the event is judged to have a false value, the card continues to remain in the detached state.
When the card board is close to the sealing part of the slot, the approaching event happens. The approach event triggers the card to enter the entry state and simultaneously outputs second execution information of the entry state to a processor of the terminal. The second execution information includes a proximity event and a time at which the proximity event occurred. And once the processor of the terminal receives the second execution information, judging whether the railway relay exists in the slot or not, and expressing the result by using a judgment event. If the value of the event is judged to be true, the card continues to stay in the entry state. If the value of the event is judged to be false, an error message is sent to the processor of the terminal and the card enters error state 2. Thereafter, the card can transition to the entry state only if the value of the event is judged to be true. After the railway relay is in the entering state, the railway relay is locked by using the clamping plate within the locking time range according to the locking time of the clamping plate preset by a user, and meanwhile, the clamping plate enters the locking state.
For the detection chip to detect the state of the card board, the following manner can be adopted. First, a magnetic field generator is arranged on the card board, and the magnetic field generator can generate a magnetic field. Magnetic field sensors are provided at the sealing of the slot and inside the detection chip, and detect the strength of the magnetic field generated by the magnetic field generator. The value of the intensity of the magnetic field is synchronous with the state of the card board, when the value of the intensity of the magnetic field is gradually reduced and is reduced to be smaller than a set threshold value, the card board is in a separation state, and first execution information is sent to a processor of the terminal; when the value of the intensity of the magnetic field gradually increases and is greater than or equal to the set threshold value, the card board is in an entering state, and second execution information is sent to the processor of the terminal. And secondly, the detection chip comprises an emitting part and a receiving part, the emitting part can send the reflection line to the card board, the receiving part receives the reflection line, and the distance between the card board and the detection chip is judged according to the time difference between the receiving of the reflection line and the sending of the reflection line. When the time difference between the receiving of the reflection line and the sending of the reflection line is continuously reduced and gradually and infinitely approaches to 0, the card board is determined to be close to the sealing opening of the slot, the card board is in an entering state, and second execution information is sent to a processor of the terminal; when the time difference between the receiving of the reflection line and the sending of the reflection line is continuously increased, the card board is determined to be in a separation state at a position which is continuously far away from the sealing of the slot, and the first execution information is sent to the processor of the terminal.
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more apparent, the present invention is described in detail below with reference to the embodiments. It should be noted that the specific embodiments described herein are only for illustrating the present invention and are not to be construed as limiting the present invention, and products that can achieve the same functions are included in the scope of the present invention.
Example (b): the locking method provided by the present invention will be described in detail below in terms of both insertion and extraction.
In a first aspect: when the cardboard was the closed condition, at this moment, the cardboard covered the sealing of slot, and cardboard compression switch's switch shell fragment makes the switch shell fragment be in the pinning state, and at this moment, switch output high level signal. In the process that the clamping plate is far away from the seal of the slot, the pressure of the clamping plate acting on the switch elastic sheet of the switch is reduced at the same time. When the switch elastic sheet is changed from a locking state to an opening state, the output signal of the switch is changed from a high level to a low level, and the processor of the terminal is triggered to generate interruption. And the processor of the terminal receives the low level signal, determines that the clamping plate is far away from the seal of the slot, further detects whether the railway relay exists in the slot, and further processes the railway relay if the railway relay exists.
In a second aspect: the switch shell fragment of switch is open state, and the switch outputs low level signal. The user performs an insertion operation into the slot. The user closes the cardboard after inserting the slot, and at the cardboard to the in-process that seals of slot and be close to, the user closes the cardboard, and the cardboard acts on the pressure on the shell fragment of switch and increases gradually. When the switch elastic sheet is changed from an open state to a locked state, the output signal of the switch jumps from a low level to a high level, and the processor of the trigger terminal generates interruption. The processor of the terminal receives the high level signal, determines that the clamping plate is close to the seal of the slot, further detects whether a railway relay exists in the slot, and when the relay exists in the slot, the user cannot determine that the user performs an insertion action, and the user may only open the clamping plate and close the clamping plate, and needs to determine whether the railway relay always exists in the slot within a preset time period before the high level signal is received. And if no relay exists in the slot within a preset time period before the high-level signal is received, determining that the user does perform the inserting action.
According to the invention, the switch is arranged at the inlet of the slot, when the clamping plate approaches to the seal of the slot, the clamping plate presses the switch elastic sheet on the switch, and the switch elastic sheet is closed to trigger the processor of the terminal to generate interruption. When the cardboard is kept away from the sealing of slot, the cardboard acts on the pressure reduction on the switch shell fragment of switch, and the switch shell fragment opens the treater that triggers the terminal and produces the interrupt. And the processor of the terminal performs power-off or power-on processing on the relay in the slot according to the state of the card board and the information of the railway relay in the slot. The invention can determine the state of the card board through the state of the switch, and further predict the insertion action and the extraction action of a user through the state of the card board, thereby realizing that the relay in the slot is powered off before the user extracts the card board, and the relay in the slot is powered on after the user inserts the card board.
In the embodiment of the present invention, the magnetic field generating unit may be, but is not limited to, a soft magnetic strip. The soft magnetic strips may be arranged in any portion.
The invention provides a locking device of a railway relay base, which plans the whole process of locking a JZCJ-0.16 type relay in a railway relay, detects the state of a clamping plate, grasps the action of a user through the state to judge whether the relay exists in a special socket, adopts double detection processes to ensure the correctness of judgment, is greatly helpful for practical application and improves the safety of use.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the preferred embodiment of the present invention, and should not be used to limit the scope of the claims of the present invention. While the foregoing description will be understood and appreciated by those skilled in the relevant art, other equivalents may be made thereto without departing from the scope of the claims.
The embodiments of the present invention have been described in detail with reference to the specific examples, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.