CN108020792B - Information detection circuit and method - Google Patents

Information detection circuit and method Download PDF

Info

Publication number
CN108020792B
CN108020792B CN201711284421.1A CN201711284421A CN108020792B CN 108020792 B CN108020792 B CN 108020792B CN 201711284421 A CN201711284421 A CN 201711284421A CN 108020792 B CN108020792 B CN 108020792B
Authority
CN
China
Prior art keywords
signal
output
input
preset
detection circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711284421.1A
Other languages
Chinese (zh)
Other versions
CN108020792A (en
Inventor
董志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
2pai Semiconductor Co Ltd
Original Assignee
2pai Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 2pai Semiconductor Co Ltd filed Critical 2pai Semiconductor Co Ltd
Priority to CN201711284421.1A priority Critical patent/CN108020792B/en
Publication of CN108020792A publication Critical patent/CN108020792A/en
Application granted granted Critical
Publication of CN108020792B publication Critical patent/CN108020792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)

Abstract

The invention discloses a signal detection circuit, comprising: the device comprises a signal input module, an isolation medium and a signal output module; the signal input module modulates an input signal and a preset detection signal to be modulated into a first signal; the isolation medium is connected with the signal input module, and is used for isolating the first signal and obtaining a second signal; the signal output module is connected with the isolation medium and used for detecting whether the second signal meets a preset condition or not, and when the second signal does not meet the preset condition, the second signal is modulated into a working signal meeting a requirement for a connecting device at the output end of the signal output module. The invention aims to provide a signal detection circuit and a signal detection method, which can adjust a signal output by an output end to meet a working signal of a rear-end connecting device when detecting that a signal input by an input end is abnormal, and provide the stability and the safety of a working system.

Description

Information detection circuit and method
Technical Field
The present invention relates to the field of signal transmission technologies, and in particular, to an information detection circuit and method.
Background
The digital signal isolator is mainly used for transmission of digital signals, and digital isolation technology is commonly used in field buses, military electronic systems, aerospace electronic devices and medical devices in industrial network environments, especially in some occasions with severe application environments. One of the primary reasons for using isolators is to protect the device (or person) from high voltages; another important reason is to eliminate noise.
The current isolator has the following technical problems:
1. in the process of isolating the current power supply information before isolation, the problem of power supply failure of the power supply input after isolation occurs, so that the rear-end connecting device cannot work normally; dangerous phenomena such as sudden stop and the like occur;
2. when the isolated information is data information, the isolated output data information signal is lost, the phenomenon of messy codes is caused, the rear-end connecting device cannot normally work, the components and the devices at the rear end are impacted, and the stability and the safety of a working system are influenced.
Based on the above existing problems, the present application provides a solution to the technical problem.
Disclosure of Invention
The invention aims to provide an information detection circuit and method, when the information input by an input end is detected to be abnormal, the information output by an output end is adjusted to meet the working information of a rear-end connecting device, the stability and the safety of a working system are provided, and the detection of the power loss of the input end and the signal loss in signal transmission is further realized.
The technical scheme provided by the invention is as follows:
an information detection circuit comprising: the system comprises an information input module, an information isolation processing module and an information output module; the signal input module modulates an input signal and a preset detection signal to be modulated into a first signal; the isolation medium is connected with the signal input module, and is used for isolating the first signal and obtaining a second signal; the signal output module is connected with the isolation medium and used for detecting whether the second signal meets a preset condition or not, and when the second signal does not meet the preset condition, the second signal is modulated into a working signal meeting a requirement for a connecting device at the output end of the signal output module.
In the invention, when the signal input by the input end is detected to be abnormal after the isolation processing, the signal output by the output end is adjusted and processed to meet the working signal of the normal operation of the rear-end connecting device, thereby improving the stability and the safety of the working system.
Preferably, the signal input module includes: a clock circuit, a pulse generator and a logic operation circuit; the clock circuit is used for setting the time period triggered by the preset detection signal in the first signal; the pulse generator generates the preset detection signal corresponding to the clock period according to the time period set by the clock circuit, wherein the preset detection signal is a pulse signal; the logic operation circuit performs logic operation on the input signal and the preset detection signal to synthesize a signal to be detected carrying the preset detection signal, namely the first signal.
In the invention, the clock period of the preset detection signal is set through the clock circuit, the setting of the detection frequency is dynamically realized according to the requirements of users and different working environments, and the detection condition is provided for the output signal.
Preferably, the signal output module includes: the circuit comprises a filter, a timing detection circuit and a digital selector; the timing detection circuit is used for detecting the running state of the second signal; the filter is used for filtering the preset detection signal in the second signal according to the preset frequency of the preset detection signal; and the digital selector is used for executing a corresponding working mode according to the running state of the second signal detected by the timing detection circuit, so that the output signal of the digital selector meets the working signal of a rear-end connecting device.
In the invention, a filter, a timing detection circuit and a digital selector are arranged in a signal output module; the detection of the state of the signal to be detected is realized, and different control modes are adjusted through the digital selector according to different states of the signal to be detected, so that the signal output after being isolated meets the operation state of a working system; by detecting the input signal to be detected, on one hand, the instability of a rear-end device at the output end of the isolator can be effectively avoided, and the isolator can run reliably; on the other hand, the service life of the rear-end device can be effectively prolonged.
Preferably, the method comprises the following steps: when the timing detection circuit detects that the preset detection signal exists in the second signal within the set time, the timing detection circuit keeps the current output control signal and controls the digital selector to be in a first working mode, and the filter filters the preset detection signal in the second signal and outputs the input signal in the second signal after passing through the selector, so that the output end of the signal output module can normally operate.
Preferably, the method further comprises the following steps: when the timing detection circuit detects that the preset detection signal does not exist in the second signal within the set time, the timing detection circuit converts the current output control signal to enable the digital selector to be in a second working mode, controls the input end of the digital selector to receive the preset output signal and further controls the output end of the signal output module to enter a preset working state; when the input signal input by the signal input module is a power signal, controlling the output end of the signal output module to recover the signal to be detected as a power signal which normally works, and enabling the working system to enter a working state; or controlling the output end of the signal output module to output a protection signal to enable the working system to enter a protection state; and when the signal to be detected input by the signal input module is a data signal, restoring the output signal of the output end of the signal output module to be consistent with the input signal input by the signal input module.
In the invention, the signal input module, the isolation medium and the signal output module are packaged into a whole to be packaged into an isolator device, and the input signal is consistent with the output signal through a circuit built in the signal output module, so that on one hand, the power failure detection is realized and the effective recovery is carried out; on the other hand, the detection of the abnormal data signal is realized, so that the abnormal data signal is further recovered to be a normal signal input by the input end, and the normal operation and safe and stable output of the working system are ensured.
Preferably, the method further comprises the following steps: a trigger; the trigger is used for temporarily storing the input signal and sending the input signal to the clock circuit; the output end of the trigger is respectively and electrically connected with the signal input end of the clock circuit and the first input end of the logic operation circuit; the output end of the clock circuit is also electrically connected with the second input end of the logic operation circuit through the pulse generator.
In the invention, the trigger can effectively filter the interference signals, namely the burrs, in the input signals, so that the input signals are relatively ideal signals, and reliable guarantee is provided for further processing of the signals.
Preferably, the method further comprises the following steps: and the signal input end of the driver is electrically connected with the output end of the logic operation circuit in the signal input module, and the signal output end of the driver is electrically connected with the signal input end of the isolation medium.
Preferably, the method further comprises the following steps: the input end of the signal receiver is electrically connected with the signal output end of the isolation medium; the output end of the signal receiver is electrically connected with the signal output module.
Preferably, the signal output module includes: the input end of the filter and the input end of the timing detection circuit are jointly electrically connected with the output end of the signal receiver; the output end of the filter is electrically connected with the input end of the digital selector; and the output end of the timing detection circuit is electrically connected with the control end of the digital selector.
A signal detection method applied to the signal detection circuit described above, comprising: s100, modulating an input signal and a preset detection signal by a signal input module to be modulated into a first signal; step S200, the isolation medium carries out isolation processing on the first signal to obtain a second signal; and step S300, the signal output module is used for detecting whether the second signal meets a preset condition, and if not, modulating the second signal into a working signal meeting the requirement of a device for connecting the output end of the signal output module.
In the invention, when the signal input by the input end is detected to be abnormal, the signal output by the output end is adjusted to meet the working signal of the rear-end connecting device, thereby providing the stability and the safety of the working system.
Preferably, the step S100 includes: step S110, a clock circuit sets a time period triggered by the preset detection signal in the first signal; step S120, the pulse generator generates the preset detection signal corresponding to the clock cycle according to the time cycle set by the clock circuit, wherein the preset detection signal is a pulse signal; step S130, the logic operation circuit performs logic operation on the input signal and the pulse detection signal to synthesize a to-be-detected signal carrying the preset detection signal, which is the first signal.
In the invention, the clock period of the preset detection signal is set through the clock circuit, the setting of the detection frequency is dynamically realized according to the requirements of users and different working environments, and the detection condition is provided for the output signal.
Preferably, the step S300 includes: step S310, the timing detection circuit detects the running state of the second signal; step S320, filtering the preset detection signal in the second signal by a filter according to the preset frequency of the preset detection signal; step S330 is that the digital selector executes a corresponding operating mode according to the operating state of the second signal detected by the timing detection circuit, so that the output signal of the digital selector satisfies the operating signal of the rear-end connection device.
In the invention, a filter, a timing detection circuit and a digital selector are arranged in a signal output module; the detection of the state of the signal to be detected is realized, and different control modes are adjusted through the digital selector according to different states of the signal to be detected, so that the signal output after being isolated meets the operation state of a working system; by detecting the input signal to be detected, on one hand, the instability of a rear-end device at the output end of the isolator can be effectively avoided, and the isolator can run reliably; on the other hand, the service life of the rear-end device can be effectively prolonged.
Preferably, the step S330 includes: step S331, when the timing detection circuit detects that the preset detection signal exists in the second signal within a set time, the timing detection circuit maintains a current output control signal, and controls the digital selector to be in a first working mode, and after the filter filters the preset detection signal in the second signal, the filter outputs the input signal in the second signal after passing through the selector, so that the device connected to the output end of the signal output module operates normally.
Preferably, the method further comprises the following steps: step S332, when the timing detection circuit detects that the preset detection signal does not exist in the second signal within the set time, the timing detection circuit converts the current output control signal, so that the digital selector is in the second working mode, controls the input end of the digital selector to receive the preset output signal, and further controls the output end of the signal output module to enter the preset working state; when the input signal input by the signal input module is a power signal, controlling the output end of the signal output module to recover the signal to be detected as a power signal which normally works, and enabling the working system to enter a working state; or controlling the output end of the signal output module to output a protection signal to enable the working system to enter a protection state; and when the signal to be detected input by the signal input module is a data signal, restoring the output signal of the output end of the signal output module to be consistent with the input signal input by the signal input module.
In the invention, the signal input module, the isolation medium and the signal output module are packaged into a whole to be packaged into an isolator device, and the input signal is consistent with the output signal through a circuit built in the signal output module, so that on one hand, the power failure detection is realized and the effective recovery is carried out; on the other hand, the detection of the abnormal data signal is realized, so that the abnormal data signal is further recovered to be a normal signal input by the input end, and the normal operation and safe and stable output of the working system are ensured.
The signal detection circuit and the method provided by the invention can bring at least one of the following beneficial effects:
1. in the invention, the signal input module, the isolation medium and the signal output module are packaged into a whole to be packaged into an isolator device, and the input signal is consistent with the output signal through a circuit built in the signal output module, thereby realizing the power failure detection and the abnormal signal recovery function.
2. In the invention, the trigger can effectively filter the interference signal in the input signal, thereby providing reliable guarantee for further processing the signal.
3. In the invention, the effectiveness of the power failure of the output power supply after the isolation is recovered, so that the normal work of the rear-end connecting device is ensured; the problems of dangerous phenomena such as sudden stop and the like and the negative damage of devices and components in a working system are avoided;
4. in the invention, when the isolated signal is a data signal, the function of recovering the isolated and output data signal after being lost is realized, the phenomenon of code mess in a working system is avoided, the working system is in a controllable state, and the stability and the safety of the working system are improved.
Drawings
The above features, technical features, advantages and modes of operation of a signal detection circuit and method will be further described in the following detailed description of preferred embodiments in a clearly understandable manner, in conjunction with the accompanying drawings.
FIG. 1 is a block diagram of one embodiment of a signal detection circuit of the present invention;
FIG. 2 is a block diagram of another embodiment of a signal detection circuit of the present invention;
FIG. 3 is a block diagram of another embodiment of a signal detection circuit of the present invention;
FIG. 4 is a signal diagram of another embodiment of a signal detection circuit of the present invention;
FIG. 5 is a signal diagram of another embodiment of a signal detection circuit of the present invention;
FIG. 6 is a signal diagram of another embodiment of a signal detection circuit of the present invention;
FIG. 7 is a signal diagram of another embodiment of a signal detection circuit of the present invention;
FIG. 8 is a signal diagram of another embodiment of a signal detection circuit of the present invention;
FIG. 9 is a signal diagram of another embodiment of a signal detection circuit of the present invention;
FIG. 10 is a signal diagram of one embodiment of a signal detection method of the present invention;
fig. 11 is a signal diagram of another embodiment of a signal detection circuit of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
The present invention provides an embodiment of a signal detection circuit, as shown in fig. 1 and 11, including: a signal input module 100, an isolation medium 200, and a signal output module 300; the signal input module 100 modulates an input signal and a preset detection signal to a first signal; the isolation medium carries out isolation processing on the first signal to obtain a second signal; the signal output module 300 is configured to detect whether the second signal satisfies a preset condition, and modulate the second signal into a working signal satisfying a condition for a connection device at an output end of the signal output module 300 when the second signal does not satisfy the preset condition.
Specifically, in the present embodiment, power failure detection and design of a signal recovery circuit are implemented; for example, when the signal isolator can be applied to a signal isolator, the isolator mainly has the functions of removing an interference signal at the front end of the isolator, providing a safe and reliable signal for a load at the rear end, and loading a mark signal on an input signal at an input end for the rear end to judge whether a signal output through isolation normally operates according to the mark signal in order to realize real-time monitoring of the input signal; and when the mark signal cannot be captured, judging that the power supply is invalid, and outputting a default value by the output end. When the signal is abnormal, the output signal is consistent with the input signal through a circuit built in the signal output module, so that the signal at the output end of the isolator normally operates. In the invention, the signal input module 100, the isolation medium 200 and the signal output module 300 are packaged into a whole to form a signal isolator. The insulating medium in this application includes SIO2, light-transmitting plastic, insulating plastic, and the like.
In the invention, when the signal input by the input end is detected to be abnormal after the isolation processing, the signal output by the output end is adjusted and processed to meet the working signal of the normal operation of the rear-end connecting device, thereby improving the stability and the safety of the working system.
On the basis of the above embodiment, the present invention also provides an embodiment; referring to fig. 2, the signal input module includes: a clock circuit 110, a pulse generator 120, and a logic operation circuit 130; the clock circuit is used for setting the time period triggered by the preset detection signal in the first signal; the pulse generator generates the preset detection signal corresponding to the clock period according to the time period set by the clock circuit, wherein the preset detection signal is a pulse signal; the logic operation circuit performs logic operation on the input signal and the preset detection signal to synthesize a signal to be detected carrying the preset detection signal, namely the first signal.
Specifically, the signal input module of the present embodiment includes a clock circuit 110, a pulse generator 120 and a logic operation circuit 130; the connection relation is shown with reference to fig. 2; the input signal is directly connected to the input terminals of the clock circuit 110 and the logic operation circuit 130; the output terminal of the clock circuit 110 is connected to the input terminal of the pulse generator 120, and the output terminal of the pulse generator 120 is connected to the input terminal of the logic operation circuit 130, and performs an operation by the logic operation circuit 130, and sends the operation result to the back-end signal driver 150.
On the basis of the above embodiment, an embodiment is also provided in the present invention; referring to fig. 3, a flip-flop 140 is further connected to the front end of the signal input module 100; the output end of the flip-flop 140 is electrically connected to the signal input end of the clock circuit 110 and the first input end of the logic operation circuit 130, respectively; the output terminal of the clock circuit 110 is also electrically connected to a second input terminal of the logic operation circuit 130 through the pulse generator 120. The flip-flop 140 is configured to temporarily store the input signal and send the input signal to the clock circuit.
An embodiment is provided in the present invention; as shown in particular in connection with figures 1-3; referring to fig. 5, an input signal a at the input end of the isolator is buffered by the flip-flop and then output, and the clock circuit generates a square wave signal with a fixed clock period, i.e., an a1 waveform signal; the pulse generator 120 generates a set narrow pulse signal, i.e., an a2 narrow pulse waveform signal, i.e., a preset detection signal, according to the transition of the rising edge or the falling edge of the a1 waveform signal; a2 is used as a mark for detecting an input signal, and is loaded in the input signal to be detected, and logic operation processing is carried out through the logic operation circuit 130; enabling an input signal A to be detected to generate a narrow pulse within a set time; see waveform a3 in reference to fig. 5; the A3 signal is input into a signal driver and sent to the signal output module 300 through an isolation medium. In the present application, the trigger is Schmitt trigger, which is a trigger with hysteresis effect.
In the invention, the trigger can shape and process the input signal into a relatively stable level signal according to a set threshold value, and the input signal is adjusted into a signal to be detected with a detection mark through the arranged clock circuit, the pulse generator and the logic operation circuit, thereby providing a reliable basis for the detection of the input signal by the signal output module at the rear end.
On the basis of the above embodiment, the present invention also provides an embodiment; shown with reference to fig. 1 and 4; the signal output module 300 includes: a filter 310, a timing detection circuit 320, a digital selector 330; the timing detection circuit 320 is configured to detect an operating state of the second signal; the filter 310 is configured to filter the preset detection signal in the second signal according to a preset frequency of the preset detection signal; the digital selector 330 is configured to execute a corresponding working mode according to the running state of the second signal detected by the timing detection circuit, so that an output signal of the digital selector meets a working signal of a rear-end connection device.
On the basis of the above embodiment, the present invention also provides an embodiment; as shown with reference to FIG. 4; the method comprises the following steps: when the timing detection circuit 320 detects that the preset detection signal exists in the second signal within a set time, the timing detection circuit 320 maintains a current output control signal, so that the digital selector 330 is in a first working mode, and the filter 100 filters the preset detection signal in the second signal and outputs the input signal in the second signal after passing through the selector, so as to enable the device connected to the output end of the signal output module to operate normally.
On the basis of the above embodiment, the present invention also provides an embodiment; as shown with reference to fig. 4, 5, 6; further comprising: when the timing detection circuit 320 detects that no preset detection signal exists in the second signal within a set time, the timing detection circuit 320 converts the current output control signal, so that the digital selector 330 is in a second working mode, controls the input end of the digital selector 330 to receive a preset output signal, and further controls the output end of the signal output module to enter a preset working state; when the input signal input by the signal input module is a power signal, controlling the output end of the signal output module to recover the signal to be detected as a power signal which normally works, and enabling the working system to enter a working state; or controlling the output end of the signal output module to output a protection signal to enable the working system to enter a protection state; and when the signal to be detected input by the signal input module is a data signal, restoring the output signal of the output end of the signal output module to be consistent with the input signal input by the signal input module.
Specifically, in the present embodiment, reference is made to fig. 4, 5, and 6; the second signal is an input signal a3 (fig. 4) to be detected, which is output to the signal receiver through the isolation medium 200, and the final output signal is B, as shown in fig. 6, the signal output module 300 performs detection processing on the signal B, where the detection processing includes normal and abnormal situations; firstly, the timing detection circuit 320 detects the signal B, and because the signal B has narrow pulses, the timing detection circuit 320 judges whether the signal B has the narrow pulses, and the generation of rising edges and falling edges in set time, and the timing time of the timing detection circuit 320 is more than A1 clock period; if the signal exists, the output signal is normal, and when the signal to be detected is normal, the signal B is consistent with A3, which is shown in reference to FIG. 6 and FIG. 5; filtering the signal B through a filter 310 to remove narrow pulses in the signal B, namely, filtering the signal A2; the filtered signal becomes an input signal a to be detected, the timing detection circuit 320 keeps the current signal from generating a signal, and meanwhile, through the output end of the digital selector 330, the output signal B3 is consistent with the input signal a to be detected, the common rear end normally works, and the waveform of the output signal is as shown in fig. 9; if abnormality occurs, as shown with reference to fig. 5 and 7; then, in order to detect the signal B through the timing detection circuit 320, the timing detection circuit 320 cannot detect the narrow pulse within a set time, and is always in the same level state, at this time, it is determined to be abnormal, the level state of the output end of the timing detection circuit 320 is inverted, and the control end of the digital selector 330 is controlled to select different input end signals, at this time, the digital selector 330 is controlled to select a default end, and output the level signal of the input signal a to be normally detected, so as to achieve the function of recovering the level, or the default value is output according to the state of the connection circuit at the rear end of the isolator, so that the rear end circuit can normally and reliably operate and is in a controllable state.
Also included in this embodiment is that shown with reference to FIG. 8; when the information a to be detected is a data signal, under normal conditions, the signal input to the isolation medium after being processed by the signal input module is an a3 waveform in fig. 8, and the signal output from the isolation medium is indicated by Ba; ba corresponds to B in fig. 6, and is filtered and equalized to output a waveform of B3. Meanwhile, in another case, that is, in an abnormal case, the signal input to the isolation medium after being processed by the signal input module is an a3 waveform in fig. 8, and the signal output from the isolation medium is Bc; as can be seen from fig. 8, Bc lacks a start signal, that is, a rising edge or a falling edge is absent, in the present application, a preset detection signal, that is, a narrow pulse signal (identification signal), is loaded in a signal to be detected, and when the start signal is lost, an abnormal signal of the start signal can be recovered within a set time by presetting the rising edge or the falling edge signal of the detection signal, so that the abnormal signal is recovered to be a signal consistent with the input signal a, and the recovered signal is only a signal lacking for a short time, but it is ensured that a subsequent output is in a normal state.
In the invention, the signal input module, the isolation medium and the signal output module are packaged into a whole to be packaged into an isolator device, and the input signal is consistent with the output signal through a circuit built in the signal output module, so that on one hand, the power failure detection is realized and the effective recovery is carried out; on the other hand, the detection of the abnormal data signal is realized, so that the abnormal data signal is further recovered to be a normal signal input by the input end, and the normal operation and safe and stable output of the working system are ensured.
On the basis of the above embodiment, the present invention also provides an embodiment; further comprising: a signal receiver, wherein the input end of the signal receiver is electrically connected with the signal output end of the isolation device (such as a capacitor) of the isolation medium; the output end of the signal receiver is electrically connected with the signal output module.
On the basis of the above embodiment, the present invention also provides an embodiment; the signal output module includes: as shown with reference to FIG. 4; the input end of the filter and the input end of the timing detection circuit are jointly electrically connected with the output end of the signal receiver; the output end of the filter is electrically connected with the input end of the digital selector; and the output end of the timing detection circuit is electrically connected with the control end of the digital selector.
A signal detection method, applied to the embodiment of the signal detection circuit described above, is shown with reference to fig. 1 and 10; the method comprises the following steps: s100, modulating the input signal and a preset detection signal by a signal input module to be modulated into a first signal; step S200, the isolation medium carries out isolation processing on the first signal to obtain a second signal; and step S300, the signal output module is used for detecting whether the second signal meets a preset condition, and if not, modulating the second signal into a working signal meeting the requirement of a device for connecting the output end of the signal output module.
Specifically, in the present embodiment, power failure detection and design of a signal recovery circuit are implemented; for example, when the signal isolator is applied to a signal isolator, the isolator mainly has the functions of removing an interference signal at the front end of the isolator, providing a safe and reliable signal for a load at the rear end, and loading a mark signal on an input signal at an input end for the rear end to judge whether a signal output through isolation normally operates according to the mark signal in order to realize real-time monitoring of the input signal; when the mark signal can not be captured, the signal output is judged to be abnormal, when the mark signal is abnormal, the input signal and the output signal are consistent through a circuit built in the signal output module, and the signal at the output end of the isolator normally runs.
In the invention, when the signal input by the input end is detected to be abnormal, the signal output by the output end is adjusted to meet the working signal of the rear-end connecting device, thereby providing the stability and the safety of the working system.
On the basis of the above embodiment, the present invention also provides an embodiment; shown with reference to fig. 1, 2, 3, 9; step S110, a clock circuit sets a time period triggered by the preset detection signal in the first signal; step S120, the pulse generator generates the preset detection signal corresponding to the clock cycle according to the time cycle set by the clock circuit, wherein the preset detection signal is a pulse signal; step S130, the logic operation circuit performs logic operation on the input signal and the pulse detection signal to synthesize a to-be-detected signal carrying the preset detection signal, which is the first signal.
An embodiment is provided in the present invention; as shown in connection with FIGS. 1-3; referring to fig. 5, an input signal a at the input end of the isolator is buffered by the flip-flop and then output, and the clock circuit generates a square wave signal with a fixed clock period, i.e., an a1 waveform signal; the pulse generator 120 generates a set narrow pulse signal, i.e., an a2 narrow pulse waveform signal, i.e., a preset detection signal, according to the transition of the rising edge or the falling edge of the a1 waveform signal; a2 is used as a mark for detecting an input signal, and is loaded in the input signal to be detected, and logic operation processing is carried out through the logic operation circuit 130; generating a narrow pulse for a set time by the input signal A to be detected, see the waveform of A3 in reference to FIG. 5; the signal A3 is input into a signal driver, and is sent to the signal output module 300 after being isolated.
In the invention, the trigger can shape and process the input signal into a relatively stable level signal according to a set threshold value, and the input signal is adjusted into a signal to be detected with a detection mark through the arranged clock circuit, the pulse generator and the logic operation circuit, thereby providing a reliable basis for the detection of the input signal by the signal output module at the rear end.
On the basis of the above embodiment, the present invention also provides an embodiment; the step S300 includes: step S310, the timing detection circuit detects the running state of the second signal; step S320, filtering the preset detection signal in the second signal by a filter according to the preset frequency of the preset detection signal; step S330 is that the digital selector executes a corresponding operating mode according to the operating state of the second signal detected by the timing detection circuit, so that the output signal of the digital selector satisfies the operating signal of the rear-end connection device.
On the basis of the above embodiment, the present invention also provides an embodiment; the step S330 includes: step S331, when the timing detection circuit detects that the preset detection signal exists in the second signal within a set time, the timing detection circuit maintains a current output control signal, and controls the digital selector to be in a first working mode, and after the filter filters the preset detection signal in the second signal, the filter outputs the input signal in the second signal after passing through the selector, so that the device connected to the output end of the signal output module operates normally.
On the basis of the above embodiment, the present invention also provides an embodiment; further comprising: step S332, when the timing detection circuit detects that the preset detection signal does not exist in the second signal within the set time, the timing detection circuit converts the current output control signal, so that the digital selector is in the second working mode, controls the input end of the digital selector to receive the preset output signal, and further controls the output end of the signal output module to enter the preset working state; when the input signal input by the signal input module is a power signal, controlling the output end of the signal output module to recover the signal to be detected as a power signal which normally works, and enabling the working system to enter a working state; or controlling the output end of the signal output module to output a protection signal to enable the working system to enter a protection state; and when the signal to be detected input by the signal input module is a data signal, restoring the output signal of the output end of the signal output module to be consistent with the input signal input by the signal input module.
Specifically, in the present embodiment, reference is made to fig. 4, 5, 6, and 11; the second signal is an input signal a3 (fig. 4) to be detected, which is output to the signal receiver through the isolation medium 200, and the final output signal is B, as shown in fig. 6, the signal output module 300 performs detection processing on the signal B, where the detection processing includes normal and abnormal situations; firstly, the timing detection circuit 320 detects the signal B, and because the signal B has narrow pulses, the timing detection circuit 320 judges whether the signal B has the narrow pulses, and the generation of rising edges and falling edges in set time, and the timing time of the timing detection circuit 320 is more than A1 clock period; if the signal exists, the output signal is normal, and when the signal to be detected is normal, the signal B is consistent with A3, which is shown in reference to FIG. 6 and FIG. 5; filtering the signal B through a filter 310 to remove narrow pulses in the signal B, namely, filtering the signal A2; the filtered signal becomes an input signal a to be detected, the timing detection circuit 320 keeps the current signal from generating a signal, and meanwhile, through the output end of the digital selector 330, the output signal B3 is consistent with the input signal a to be detected, the common rear end normally works, and the waveform of the output signal is as shown in fig. 9; the embodiment is suitable for the working state that the change period of the input signal A to be detected is relatively longer, generally, the input signal A has more power signals and is always at the same level. If abnormality occurs, as shown with reference to fig. 5 and 7; then, in order to detect the signal B through the timing detection circuit 320, the timing detection circuit 320 cannot detect the narrow pulse within a set time, and is always in the same level state, at this time, it is determined to be abnormal, the level state of the output end of the timing detection circuit 320 is inverted, and the control end of the digital selector 330 is controlled to select different input end signals, at this time, the digital selector 330 is controlled to select a default end, and output the level signal of the input signal a to be normally detected, so as to achieve the function of recovering the level, or the default value is output according to the state of the connection circuit at the rear end of the isolator, so that the rear end circuit can normally and reliably operate and is in a controllable state.
Also included in this embodiment is that shown with reference to FIG. 8; when the information a to be detected is a data signal, under normal conditions, the signal input to the isolation medium after being processed by the signal input module is an a3 waveform in fig. 8, and the signal output from the isolation medium is indicated by Ba; ba corresponds to B in fig. 6, and is filtered and equalized to output a waveform of B3. Meanwhile, in another case, that is, in an abnormal case, the signal input to the isolation medium after being processed by the signal input module is an a3 waveform in fig. 8, and the signal output from the isolation medium is Bc; as can be seen from fig. 8, Bc lacks the start signal, that is, the rising edge or the falling edge is true, in the present application, a preset detection signal, that is, a narrow pulse signal (identification signal), is loaded in the signal to be detected, and when the start signal is lost, the abnormal signal can be recovered within a set time by presetting the rising edge or the falling edge signal of the detection signal, so that the abnormal signal is recovered to be a signal consistent with the input signal a, and the recovered signal is only a signal lacking a short time, but it is ensured that the subsequent output is in a normal state.
In the invention, the signal input module, the isolation medium and the signal output module are packaged into a whole to be packaged into an isolator device, and the input signal is consistent with the output signal through a circuit built in the signal output module, so that on one hand, the power failure detection is realized and the effective recovery is carried out; on the other hand, the detection of the abnormal data signal is realized, so that the abnormal data signal is further recovered to be a normal signal input by the input end, and the normal operation and safe and stable output of the working system are ensured.
It should be noted that the method embodiments in the present invention are applied to the above-mentioned embodiments of the detection circuit, and correspond to them one by one.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (12)

1. A signal detection circuit, comprising: the device comprises a signal input module, an isolation medium and a signal output module;
the signal input module modulates an input signal and a preset detection signal to be modulated into a first signal;
the isolation medium is connected with the signal input module, and is used for isolating the first signal and obtaining a second signal;
the signal output module is connected with the isolation medium and used for detecting whether the second signal meets a preset condition or not, and if not, the second signal is modulated into a working signal meeting the requirement of a connecting device at the output end of the signal output module;
the signal output module comprises a filter, a timing detection circuit and a digital selector;
the timing detection circuit is used for detecting the running state of the second signal;
the filter is used for filtering the preset detection signal in the second signal according to the preset frequency of the preset detection signal;
the digital selector is used for executing a corresponding working mode according to the running state of the second signal detected by the timing detection circuit, so that the output signal of the digital selector meets the working signal of a rear-end connecting device;
when the timing detection circuit detects that the preset detection signal does not exist in the second signal within the set time, the timing detection circuit converts the current output control signal to enable the digital selector to be in the second working mode, controls the input end of the digital selector to receive the preset output signal, and further controls the output end of the signal output module to enter the preset working state.
2. The signal detection circuit of claim 1, wherein the signal input module comprises: a clock circuit, a pulse generator and a logic operation circuit;
the clock circuit is used for setting the time period triggered by the preset detection signal in the first signal;
the pulse generator generates the preset detection signal corresponding to the clock period according to the time period set by the clock circuit, wherein the preset detection signal is a pulse signal;
the logic operation circuit performs logic operation on the input signal and the preset detection signal to synthesize a signal to be detected carrying the preset detection signal, namely the first signal.
3. The signal detection circuit of claim 1, comprising:
when the timing detection circuit detects that the preset detection signal exists in the second signal within the set time, the timing detection circuit keeps the current output control signal and controls the digital selector to be in a first working mode, and the filter filters the preset detection signal in the second signal and outputs the input signal in the second signal after passing through the selector, so that the output end of the signal output module can normally operate.
4. The signal detection circuit of claim 1, further comprising:
when the preset detection signal does not exist in the second signal and the signal at the input end of the signal input module is a power signal, controlling the output end of the signal output module to recover the signal to be detected as the power signal which normally works, so that the working system enters a working state; or controlling the output end of the signal output module to output a protection signal to enable the working system to enter a protection state;
and when the preset detection signal does not exist in the second signal and the signal at the input end of the signal input module is a data signal, recovering that the output signal at the output end of the signal output module is consistent with the signal at the input end of the signal input module.
5. The signal detection circuit of claim 2, further comprising:
a trigger; the trigger is used for temporarily storing the input signal and sending the input signal to the clock circuit;
the output end of the trigger is respectively and electrically connected with the signal input end of the clock circuit and the first input end of the logic operation circuit;
the output end of the clock circuit is also electrically connected with the second input end of the logic operation circuit through the pulse generator.
6. The signal detection circuit of claim 5, further comprising:
and the signal input end of the driver is electrically connected with the output end of the logic operation circuit in the signal input module, and the signal output end of the driver is electrically connected with the signal input end of the isolation medium.
7. The signal detection circuit of claim 1, further comprising:
the input end of the signal receiver is electrically connected with the signal output end of the isolation medium; the output end of the signal receiver is electrically connected with the signal output module.
8. The signal detection circuit of claim 1, wherein the signal output module comprises:
the input end of the filter and the input end of the timing detection circuit are jointly electrically connected with the output end of the signal receiver;
the output end of the filter is electrically connected with the input end of the digital selector;
and the output end of the timing detection circuit is electrically connected with the control end of the digital selector.
9. A signal detection method applied to the signal detection circuit according to any one of claims 1 to 8, comprising:
s100, modulating an input signal and a preset detection signal by a signal input module to be modulated into a first signal;
step S200, the isolation medium carries out isolation processing on the first signal to obtain a second signal;
step S300, the signal output module is used for detecting whether the second signal meets a preset condition or not, and if not, the second signal is modulated into a working signal meeting the requirement of a device for connecting the output end of the signal output module;
wherein the step S300 includes:
step S310, the timing detection circuit detects the running state of the second signal;
step S320, filtering the preset detection signal in the second signal by a filter according to the preset frequency of the preset detection signal;
step S330, the digital selector executes a corresponding working mode according to the running state of the second signal detected by the timing detection circuit, so that the output signal of the digital selector meets the working signal of the rear-end connecting device;
the step S330 includes:
step S332, when the timing detection circuit detects that the preset detection signal does not exist in the second signal within the set time, the timing detection circuit converts the current output control signal, so that the digital selector is in the second working mode, controls the input end of the digital selector to receive the preset output signal, and further controls the output end of the signal output module to enter the preset working state.
10. The signal detection method according to claim 9, wherein the step S100 includes:
step S110, a clock circuit sets a time period triggered by the preset detection signal in the first signal;
step S120, the pulse generator generates the preset detection signal corresponding to the clock cycle according to the time cycle set by the clock circuit, wherein the preset detection signal is a pulse signal;
step S130, the logic operation circuit performs logic operation on the input signal and the pulse detection signal to synthesize a to-be-detected signal carrying the preset detection signal, which is the first signal.
11. The signal detection method of claim 9, wherein the step S330 further comprises:
step S331, when the timing detection circuit detects that the preset detection signal exists in the second signal within a set time, the timing detection circuit maintains a current output control signal, and controls the digital selector to be in a first working mode, and after the filter filters the preset detection signal in the second signal, the filter outputs the input signal in the second signal after passing through the selector, so that the device connected to the output end of the signal output module operates normally.
12. The signal detection method according to claim 9, wherein the step S332 further comprises:
when the signal at the input end of the signal input module is a power signal, controlling the output end of the signal output module to recover the signal to be detected as a power signal which normally works, and enabling the working system to enter a working state; or controlling the output end of the signal output module to output a protection signal to enable the working system to enter a protection state;
and when the signal at the input end of the signal input module is a data signal, recovering that the output signal at the output end of the signal output module is consistent with the signal at the input end of the signal input module.
CN201711284421.1A 2017-12-07 2017-12-07 Information detection circuit and method Active CN108020792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711284421.1A CN108020792B (en) 2017-12-07 2017-12-07 Information detection circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711284421.1A CN108020792B (en) 2017-12-07 2017-12-07 Information detection circuit and method

Publications (2)

Publication Number Publication Date
CN108020792A CN108020792A (en) 2018-05-11
CN108020792B true CN108020792B (en) 2020-04-07

Family

ID=62079005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711284421.1A Active CN108020792B (en) 2017-12-07 2017-12-07 Information detection circuit and method

Country Status (1)

Country Link
CN (1) CN108020792B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09139667A (en) * 1995-11-14 1997-05-27 Nec Corp Self check circuit for programmable logic circuit
CN101109786A (en) * 2007-08-22 2008-01-23 中兴通讯股份有限公司 Method for detecting data loss of field programmable gate array
CN101483427A (en) * 2008-01-08 2009-07-15 弥亚微电子(上海)有限公司 Isolative transmission circuit
CN202014236U (en) * 2010-10-19 2011-10-19 中科华核电技术研究院有限公司北京分公司 Input/output isolation module
CN102522978A (en) * 2012-01-06 2012-06-27 河南华南医电科技有限公司 Isolation type power transistor driver
CN103020157A (en) * 2012-11-23 2013-04-03 山东电力集团公司 High-reliability real-time file generation method spanning physical isolation
CN103378845A (en) * 2012-04-24 2013-10-30 Nxp股份有限公司 Communication interface for galvanic isolation
JP2013232719A (en) * 2012-04-27 2013-11-14 Renesas Electronics Corp Isolation circuit
CN104426527A (en) * 2013-09-09 2015-03-18 德州仪器公司 Method and circuitry for transmitting data
CN104935311A (en) * 2014-11-19 2015-09-23 中国科学院自动化研究所 Digital signal isolator and corresponding pulse width encoding and decoding method
CN106982054A (en) * 2016-01-19 2017-07-25 财团法人工业技术研究院 Electrical isolator circuit
CN107222195A (en) * 2017-07-10 2017-09-29 荣湃半导体(上海)有限公司 A kind of isolation circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19929231A1 (en) * 1999-06-25 2001-02-08 Siemens Ag Circuit arrangement and method for galvanically isolated broadband transmission
US7741896B2 (en) * 2008-02-15 2010-06-22 Avago Technologies Ecbu Ip (Singapore) Pte. Ltd. High voltage drive circuit employing capacitive signal coupling and associated devices and methods
US8497700B2 (en) * 2011-10-21 2013-07-30 Samsung Electro-Mechanics Systems and methods for propagating digital data across an isolation barrier
US9853749B2 (en) * 2015-01-14 2017-12-26 Infineon Technologies Austria Ag Data integrity via galvanically isolated analog-to-digital converter for industrial systems

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09139667A (en) * 1995-11-14 1997-05-27 Nec Corp Self check circuit for programmable logic circuit
CN101109786A (en) * 2007-08-22 2008-01-23 中兴通讯股份有限公司 Method for detecting data loss of field programmable gate array
CN101483427A (en) * 2008-01-08 2009-07-15 弥亚微电子(上海)有限公司 Isolative transmission circuit
CN202014236U (en) * 2010-10-19 2011-10-19 中科华核电技术研究院有限公司北京分公司 Input/output isolation module
CN102522978A (en) * 2012-01-06 2012-06-27 河南华南医电科技有限公司 Isolation type power transistor driver
CN103378845A (en) * 2012-04-24 2013-10-30 Nxp股份有限公司 Communication interface for galvanic isolation
JP2013232719A (en) * 2012-04-27 2013-11-14 Renesas Electronics Corp Isolation circuit
CN103020157A (en) * 2012-11-23 2013-04-03 山东电力集团公司 High-reliability real-time file generation method spanning physical isolation
CN104426527A (en) * 2013-09-09 2015-03-18 德州仪器公司 Method and circuitry for transmitting data
CN104935311A (en) * 2014-11-19 2015-09-23 中国科学院自动化研究所 Digital signal isolator and corresponding pulse width encoding and decoding method
CN106982054A (en) * 2016-01-19 2017-07-25 财团法人工业技术研究院 Electrical isolator circuit
CN107222195A (en) * 2017-07-10 2017-09-29 荣湃半导体(上海)有限公司 A kind of isolation circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
新型磁耦合隔离电路设计;郑采君 等;《电子设计工程》;20110228;第19卷(第4期);第162-166页 *

Also Published As

Publication number Publication date
CN108020792A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
US7778185B2 (en) Method for the transmission of data using self-diagnostic pulse width modulation
JP5387170B2 (en) Disconnection abnormality detection device
GB2282304A (en) Clock signal extraction circuit including digital-detection of loss-of-clock signal
CN103738274B (en) Low-power consumption car control system and control method
CN108020792B (en) Information detection circuit and method
EP3220557A1 (en) Burr removing method and apparatus for optical signal loss signal
JP2017187316A (en) Sensor device
CN109386416B (en) Dry run diagnostic system and method for fuel pump
CN211530726U (en) Overvoltage protection circuit and instrument terminal
US5729371A (en) Optical communications device
CN111404423A (en) Safe torque turn-off control method and circuit and motor controller
CN116594370A (en) Bus disconnection fault processing method and device, electronic equipment and storage medium
US5969839A (en) Optical communications device
CN110505741B (en) Method and device for detecting state of navigation signal lamp
US6693372B2 (en) Data transmission system, particularly in a motor vehicle, and data transmission method
CN209766327U (en) relay drive control system and battery management system
JPWO2017018179A1 (en) Electronic control unit
JP2017114381A (en) Electronic control device
CN217882878U (en) Charging control device and charging equipment
CN211731283U (en) Automobile intelligent distribution box system
CN218767252U (en) Device for detecting working state of vehicle signal lamp
CN113746061B (en) Short-time power failure recoverable system and short-time power failure recovery method
CN213261978U (en) Battery voltage monitoring circuit and electric vehicle
CN214583636U (en) Elevator noise monitoring system
CN218549495U (en) High-voltage wire harness over-temperature protection system and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant