CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority from Chinese Patent Application No.
201711116439.0 filed on November 13, 2017, the contents of which are hereby incorporated by reference in its entirety as part
of this application.
TECHNICAL FIELD
[0002] The present disclosure relates to the field of train control system, and more particularly
to a vital digital input dynamic sampling circuit.
BACKGROUND
[0003] There is a large amount of digital signals in the railway system, and the signal
control system needs to acquire the digital signals to realize acquisition of external
states. Due to failure of electronic devices and other reasons, signals will be fixed
in a high or low logic state, and conditions of input signals cannot be truly reflected,
which may cause the signal control system to obtain incorrect input information, thereby
causing a logic error and further affecting traffic safety.
[0004] In the railway system, fixedly, the input signal being 1 is a wrong side and the
input signal being 0 is a right side. Therefore, in order to ensure safety of the
system, it is necessary to reduce the probability that signals at the wrong side are
misjudged.
SUMMARY
[0005] In view of the above, the embodiments of the present disclosure provide a vital digital
input dynamic sampling circuit, so as to solve the technical problem that signals
at the wrong side are misjudged due to failure of the electronic devices existing
in the prior art.
[0006] According to an aspect of an embodiment of the present disclosure, there is provided
a vital digital input dynamic sampling circuit, comprising: a rectifying circuit connected
to an input signal, and configured to convert the input signal to a DC (direct current)
signal; a voltage stabilizing circuit connected to the rectifying circuit, and configured
to control a voltage amplitude of the DC signal; and a sampling circuit including
a first input terminal, a second input terminal and a sampling terminal, the first
input terminal being configured to receive an input signal, the second input terminal
being configured to receive a sampling control signal, and the sampling terminal being
configured to acquire a DC signal corresponding to the first input terminal.
[0007] Further, the sampling circuit comprises a first photoelectric coupler and a second
photoelectric coupler; a fourth pin of the first photoelectric coupler and a second
pin of the second photoelectric coupler are connected, as the first input terminal,
to the voltage stabilizing circuit, and a third pin of the first photoelectric coupler
is connected to a first pin of the second photoelectric coupler; a second pin of the
first photoelectric coupler serves as the second input terminal, a first pin of the
first photoelectric coupler is connected to an output voltage; a fourth pin of the
second photoelectric coupler serves as the sampling terminal and also connected to
a power supply voltage, and a third pin of the second photoelectric coupler is grounded.
[0008] Further, the second pin of the first photoelectric coupler is connected to a first
resistor, and the fourth pin of the second photoelectric coupler is connected to the
power supply voltage via a second resistor.
[0009] Further, the rectifying circuit comprises a first diode and a third resistor; a positive
polarity of the input signal is connected to an anode of the first diode, a cathode
of the first diode is connected to one terminal of the third resistor, and the other
terminal of the third resistor is connected to the voltage stabilizing circuit.
[0010] Further, the voltage stabilizing circuit comprises a second diode, a third diode
and a fourth resistor; an output of the rectifying circuit is respectively connected
to a cathode of the second diode and one terminal of the fourth resistor, the other
terminal of the fourth resistor is connected to the fourth pin of the second photoelectric
coupler, a cathode of the third diode is connected to the second pin of the second
photoelectric coupler, an anode of the third diode and an anode of the second diode
are respectively connected to a negative polarity of the input signal.
[0011] Further, when the sampling control signal is 1, a signal acquired by the sampling
terminal is consistent with a signal inputted at the first input terminal.
[0012] Advantageous effects of the embodiments of the present disclosure include: the signal
acquired by the sampling terminal is controlled by the sampling control signal at
the second input terminal, when the sampling control signal that allows sampling is
received, the input signal at the first input terminal is transferred to the sampling
terminal, thereby the signal corresponding to the first input terminal is acquired,
the input signal of the railway system is determined by comparing whether the signal
at the sampling terminal is consistent with the signal at the second input terminal.
BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above and other objectives, features and advantages of the present disclosure
will be more clear through description of the embodiments provided with reference
to the following drawings, in the drawings:
FIG. 1 is a block diagram of principle of a vital digital input dynamic sampling circuit
provided by an embodiment of the present disclosure; and
FIG. 2 is a schematic diagram of principle of a vital digital input dynamic sampling
circuit according to an embodiment of the present disclosure.
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0014] The present disclosure is described below based on embodiments, but the present disclosure
is not limited merely to these embodiments. In the following detailed description
of the present disclosure, specific details are described thoroughly. The present
disclosure can also be fully understood by those skilled in the art without the description
of these details. In order to avoid obscuring essence of the present disclosure, commonly-known
methods, procedures, processes, elements and circuits are not described in detail.
[0015] In the vital digital input dynamic sampling circuit provided by the embodiments of
the present disclosure, the signal acquired by the sampling terminal is controlled
by the sampling control signal at the second input terminal, when the sampling control
signal that allows sampling is received, the input signal at the first input terminal
is transferred to the sampling terminal, thereby the signal corresponding to the first
input terminal is acquired, the input signal of the railway system is determined by
comparing whether the signal at the sampling terminal is consistent with the signal
at the second input terminal.
[0016] The block diagram of principle of the vital digital input dynamic sampling circuit
shown in FIG. 1 includes a rectifying circuit 10, a voltage stabilizing circuit 11
and a sampling circuit 12. The sampling circuit 12 has a first input terminal 121,
a second input terminal 122 and a sampling terminal 123. The rectifying circuit 10
is connected to an input signal from the railway system. The rectifying circuit 10
converts the input signal into a DC signal and thereafter inputs it to the voltage
stabilizing circuit 11. The voltage stabilizing circuit 11 controls a voltage amplitude
between the first input terminal 121 and a negative polarity of the input signal and
inputs an outputted DC signal to the first input terminal 121. The second input terminal
12 receives a sampling control signal, controls transfer of the input signal to the
sampling terminal 123 through the sampling control signal, and transfers the input
signal at the first input terminal 121 to the sampling terminal 123 in response to
the sampling control signal that allows sampling.
[0017] In the railway system, fixedly, the input signal being 1 represents a wrong side
and the input signal being 0 represents a right side. The wrong side refers to the
side where hazardous consequences could occur. When a railway equipment or system
fails, there are two directions to fall to: the wrong side and the right side. For
a safety system, it must be designed to fall to the right side. Therefore, in order
to ensure security of the system, it is necessary to reduce the probability that signals
at the wrong side are misjudged, that is, to reduce the probability of misjudging
as 0 when the input signal is 1.
[0018] The input signal is represented by I_P, the sampling control signal is represented
by O_EN, the acquired signal is represented by O_C, and a signal truth table is shown
below.
I_P signal O_EN OC |
0 0 |
0 |
0 1 |
0 |
1 0 |
0 |
1 1 |
1 |
[0019] When O_EN is 1, I_P will be transferred to the sampling terminal 123, so that O_C
acquires a signal. When I_P input is 1, turn-on of the sampling circuit 12 is decided
by O_EN, thus a state of O C is decided by O_EN; when I P input is 0, no matter what
signal is inputted at O_EN, the sampling circuit 12 cannot be turned on, a state of
O C is maintained as 0.
[0020] As can be seen from the above table, in a case where the input signal is 1, change
of the O_C signal is the same as that of the O_EN signal, thus the O_EN signal transmits
a pulse signal of channel codes, and at the same time the O_C signal is detected,
and the transmitted codes of O_EN and the codes received by the O_C are compared.
When transmitted codes of O_EN are the same as the codes at O_C, it means the input
signal I P is at a high voltage level 1, when O_C receives no channel codes, i.e.,
the input signal is 0 or devices, systems have a failure, this failure is a failure
falling to the right side.
[0021] FIG. 2 is a schematic diagram of principle of a vital digital input dynamic sampling
circuit according to an embodiment of the present disclosure, said circuit comprises
a first diode D1, a second diode D2, a third diode D3, a first resistor R1, a second
resistor R2, a third resistor R3, a fourth resistor R4, a first photoelectric coupler
U1 and a second photoelectric coupler U2. I_P and I N are a positive polarity and
a negative polarity of the input signal, O_EN is the input terminal of the sampling
control signal, and O_C is the sampling terminal.
[0022] The rectifying circuit 10 comprises the first diode D1 and the third resistor R3;
a positive polarity of the input signal is connected to an anode of the first diode
D1, a cathode of the first diode D1 is connected to one terminal of the third resistor
R3, and the other terminal of the third resistor R3 is connected to the voltage stabilizing
circuit.
[0023] The voltage stabilizing circuit 11 comprises the second diode D2, the third diode
D3 and the fourth resistor R4; an output of the rectifying circuit (the other terminal
of R3) is respectively connected to a cathode of the second diode D2 and one terminal
of the fourth resistor R4, the other terminal of the fourth resistor R4 is connected
to the fourth pin of the second photoelectric coupler U2, and a cathode of the third
diode D3 is connected to the second pin of the second photoelectric coupler U2, an
anode of the third diode and an anode of the second diode are respectively connected
to a negative polarity of the input signal.
[0024] The sampling circuit 12 comprises the first photoelectric coupler U1 and the second
photoelectric coupler U2. A fourth pin of the first photoelectric coupler U1 and a
second pin of the second photoelectric coupler U2 are connected, as the first input
terminal, to the voltage stabilizing circuit, and a third pin of the first photoelectric
coupler U1 is connected to a first pin of the second photoelectric coupler U2; a second
pin of the first photoelectric coupler U1 serves as the second input terminal, a first
pin of the first photoelectric coupler U1 is connected to an output voltage; a fourth
pin of the second photoelectric coupler U2 serves as the sampling terminal and also
connected to a power supply voltage, and a third pin of the second photoelectric coupler
U2 is grounded. The second pin of the first photoelectric coupler U1 is connected
to the first resistor R1, and the fourth pin of the second photoelectric coupler U2
is connected to the power supply voltage via the second resistor R2.
[0025] When the I P input is 1, whether U2 is turned on or not is decided by O_EN, thus
a signal state of O_C is decided by O_EN; when the I_P input is 0, no matter what
signal is inputted at O_EN, U2 cannot be turned on, so the state of O_C is maintained
at 0. When O_EN is 1, I P will be transferred to U2, so that O_C acquires a signal.
In a case where the I P input signal is 1, change of the O_C signal is the same as
that of the O_EN signal, thus the O_EN signal transmits a pulse signal of channel
codes, and at the same time the O_C signal is detected, and the transmitted codes
of O_EN and the codes received by the O_C are compared. When transmitted codes of
O_EN are the same as the codes at O_C, it means the input signal I_P is at a high
voltage level 1, when O_C receives no channel codes, i.e., the input signal is 0 or
devices, systems have a failure.
[0026] The first diode D in the rectifying circuit 10 is a rectifying diode, its preferred
model is MRA4007, the third resistor R3 is preferred to be chip resistor 1206, its
resistance value is 2.7K ohms. The second diode D2 in the stabilizing circuit 11 is
a TVS (Transient Voltage Suppressor) diode, its preferred model is SMAJ10A, the third
diode D3 in the stabilizing circuit 11 is a Zener diode, is preferred model is MMSZ5V6,
the fourth resistor R4 in the stabilizing circuit 11 is preferred to be chip resistor
1206, its resistance value is 1K ohms. The first photoelectric coupler U1 and the
second photoelectric coupler U2 in the sampling circuit 12 are a transistor output
photoelectric coupler, its preferred model is TLP281; the first R1 is preferred to
be a thick-film chip resistor 0603, its resistance value is 390 ohms, the second resistor
R2 is preferred to be a thick-film chip resistor 0603, its resistance value is 3.9K
ohms.
[0027] The foregoing descriptions are merely preferred embodiments of the present disclosure
and are not intended to limit the present disclosure. For those skilled in the art,
the present disclosure may have various changes and modifications. Any modification,
equivalent replacement, and improvement made within the spirit and principle of the
present disclosure shall be included in the protection scope of the present disclosure.
1. A vital digital input dynamic sampling circuit, comprising:
a rectifying circuit connected to an input signal, and configured to convert the input
signal to a DC signal;
a voltage stabilizing circuit connected to the rectifying circuit, and configured
to control a voltage amplitude of the DC signal; and
a sampling circuit including a first input terminal, a second input terminal and a
sampling terminal, the first input terminal being configured to receive an input signal,
the second input terminal being configured to receive a sampling control signal, and
the sampling terminal being configured to acquire a DC signal corresponding to the
first input terminal.
2. The vital digital input dynamic sampling circuit according to claim 1, wherein the
sampling circuit comprises a first photoelectric coupler and a second photoelectric
coupler;
a fourth pin of the first photoelectric coupler and a second pin of the second photoelectric
coupler are connected, as the first input terminal, to the voltage stabilizing circuit,
and a third pin of the first photoelectric coupler is connected to a first pin of
the second photoelectric coupler;
a second pin of the first photoelectric coupler serves as the second input terminal,
a first pin of the first photoelectric coupler is connected to an output voltage;
a fourth pin of the second photoelectric coupler serves as the sampling terminal and
also connected to a power supply voltage, and a third pin of the second photoelectric
coupler is grounded.
3. The vital digital input dynamic sampling circuit according to claim 1 or 2, wherein
the second pin of the first photoelectric coupler is connected to a first resistor,
and the fourth pin of the second photoelectric coupler is connected to the power supply
voltage via a second resistor.
4. The vital digital input dynamic sampling circuit according to any one of claims 1
to 3, wherein the rectifying circuit comprises a first diode and a third resistor;
a positive polarity of the input signal is connected to an anode of the first diode,
a cathode of the first diode is connected to one terminal of the third resistor, and
the other terminal of the third resistor is connected to the voltage stabilizing circuit.
5. The vital digital input dynamic sampling circuit according to any one of claims 1
to 4, wherein the voltage stabilizing circuit comprises a second diode, a third diode
and a fourth resistor; an output of the rectifying circuit is respectively connected
to a cathode of the second diode and one terminal of the fourth resistor, the other
terminal of the fourth resistor is connected to the fourth pin of the second photoelectric
coupler, and a cathode of the third diode is connected to the second pin of the second
photoelectric coupler, an anode of the third diode and an anode of the second diode
are respectively connected to a negative polarity of the input signal.
6. The vital digital input dynamic sampling circuit according to any one of claims 1
to 5, wherein when the sampling control signal is 1, a signal acquired by the sampling
terminal is consistent with a signal inputted at the first input terminal.