Out-of-band instruction transmission circuit, chip and electronic device
By using signal reading and intercepting modules in the transmission circuit, using differential signals and out-of-band command signals, the problem of easy interference of switching device control signals in harsh environments is solved, and the signal stability and safety is improved, saving IO Number of mouths.
Patent Information
- Application Number
- CN202010773073.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-04
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2040-08-04
AI Technical Summary
In harsh environments, the control signals of important switching devices are susceptible to external interference, leading to on-off problems and causing serious safety accidents.
Design a transmission circuit for out-of-band instructions, including a signal reading module and a signal intercepting module, adds an out-of-band instruction signal of a specified frequency to the differential signal, and uses a signal extraction unit, an integration unit and a trigger unit to form a stable control signal to Conduct or turn off the switch device.
It improves signal stability and is suitable for switching control circuits with high safety requirements, avoids interference from ordinary control signals, saves the number of IO ports, and uses pure logic analog circuits to reduce interference.
Smart Images

Figure CN112383294B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of circuit technology and relates to a transmission circuit, in particular to a transmission circuit, a chip and an electronic device with out-of-band instructions. Background Art
[0002] In industrial environments, especially in variable frequency drive environments, some important weak-current switch control signals are easily interfered by the external environment, which may affect the on-off of some important switch components, such as relays and contactors, and then cause serious safety accidents.
[0003] Therefore, how to provide a transmission circuit, chip and electronic device with out-of-band instructions to solve the defects of the prior art that the control signals of some important switching devices are easily interfered by the external environment in harsh environments, resulting in the on-off being affected, and then causing serious safety accidents, has become a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention
[0004] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a transmission circuit, chip and electronic device with out-of-band instructions, which is used to solve the problem in the prior art that the control signals of some important switching devices are easily interfered by the external environment in harsh environments, resulting in the on-off being affected, and then causing serious safety accidents.
[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides, on one hand, a transmission circuit for out-of-band instructions, which is connected to a switching device; the transmission circuit for out-of-band instructions includes: a signal reading module and a signal interception module connected to the signal reading module; wherein, when the out-of-band instruction signal is not added to the differential signal, the output end of the signal interception module outputs a control signal for controlling the closing of the switching device; wherein, the out-of-band instruction signal has a specified frequency; when the out-of-band instruction signal is added to the differential signal, the signal interception module intercepts the out-of-band instruction signal from the communication data signal according to the specified frequency, so that the out-of-band instruction signal forms a control signal for controlling the conduction of the switching device.
[0006] In one embodiment of the present invention, the signal reading module includes a first input terminal and a second input terminal; and the communication data signal is read out from the differential signal pair by performing level comparison between the first input terminal and the second input terminal.
[0007] In an embodiment of the present invention, the signal reading module is a comparator.
[0008] In one embodiment of the present invention, the signal interception module includes: a signal extraction unit, an integration unit connected to the signal extraction unit, and a trigger unit connected to the integration unit.
[0009] In one embodiment of the present invention, when no out-of-band command signal is added to the differential signal, the signal extraction unit filters out non-out-of-band command signals in the differential signal, the input end of the trigger unit is at a low level in a default state, and the output end outputs a control signal for closing the switching device.
[0010] In one embodiment of the present invention, when the out-of-band command signal is added to the differential signal, the signal extraction unit extracts the out-of-band command signal in the communication data signal according to the specified frequency, the integration unit integrates the out-of-band command signal using a capacitive integration mechanism, and the level of the input end of the trigger unit becomes high, and the output end outputs a control signal for turning on the switching device.
[0011] In an embodiment of the present invention, the signal extraction unit adopts a bandpass filter circuit.
[0012] In one embodiment of the present invention, the integration unit includes a first resistor, a diode, a first capacitor and a second resistor; wherein one end of the first resistor is connected to the positive electrode of the diode, the negative electrode of the diode is connected to one end of the first capacitor, the other end of the first capacitor is grounded, and the second resistor is connected in parallel with the first capacitor.
[0013] Another aspect of the present invention provides a chip, wherein the chip includes the transmission circuit of the out-of-band instruction.
[0014] The last aspect of the present invention provides an electronic device, comprising the chip:
[0015] As described above, the transmission circuit, chip and electronic device of the out-of-band instruction of the present invention have the following beneficial effects:
[0016] First, since ordinary control signals are more susceptible to external interference, while differential signals are not easily interfered with, the signals processed by the present invention are more stable and suitable for switch control circuits with higher safety requirements.
[0017] Second, the present invention uses pure logic analog circuits, which are less susceptible to interference than digital signal control using chips.
[0018] Third, the present invention does not require the chip to provide additional IO, thus saving the number of IO ports. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1A It is a schematic diagram showing the principle structure of the transmission circuit of the out-of-band instruction in one embodiment of the present invention.
[0020] Figure 1B FIG. 1 is a circuit diagram showing an example of an out-of-band command transmission circuit according to an embodiment of the present invention.
[0021] Figure 2 An exemplary waveform diagram of the differential signal to which the out-of-band command signal is added according to the present invention is shown.
[0022] Figure 3A Shown is a schematic diagram of the RC circuit charging of the present invention.
[0023] Figure 3B It is a schematic diagram of the RC circuit discharge of the present invention.
[0024] Component number description
[0025] 1 Out-of-band instruction transmission circuit
[0026] 11 Signal reading module
[0027] 12 Signal Interception Module
[0028] 121 Signal Extraction Unit
[0029] 122 Integral Unit
[0030] 123 Trigger Unit DETAILED DESCRIPTION
[0031] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0032] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0033] The technical principles of the transmission circuit, chip and electronic device of the out-of-band instruction of the present invention are as follows:
[0034] The present invention transmits communication data and switch control status bits of out-of-band coding in time-sharing manner by means of out-of-band communication. The out-of-band coded information is expressed as a square wave in a specific frequency Foob interval, matched with a bandpass filter circuit, coupled with a capacitor integration mechanism, and finally shaped by a Schmitt trigger to obtain the state 0 or 1 of the switch control bit.
[0035] Embodiment 1
[0036] This embodiment provides a transmission circuit for out-of-band instructions, characterized in that the transmission circuit is connected to a switch device; the transmission circuit for out-of-band instructions comprises: a signal reading module and a signal interception module connected to the signal reading module;
[0037] Wherein, when the out-of-band command signal is not added to the differential signal, the output end of the signal interception module outputs a control signal for controlling the closing of the switch device;
[0038] When the out-of-band command signal is added to the differential signal, the signal interception module intercepts the out-of-band command signal from the communication data signal according to the specified frequency, so that the out-of-band command signal forms a control signal for controlling the conduction of the switching device; wherein the out-of-band command signal has a specified frequency.
[0039] The transmission circuit of the out-of-band instruction provided by this embodiment is described in detail below in conjunction with the diagram. The transmission circuit of the out-of-band instruction described in this embodiment is connected to a switch device, such as a relay, a contactor, etc., to control the conduction or closing of the switch device.
[0040] See also Figure 1A , showing a schematic diagram of the principle structure and circuit example of a transmission circuit for out-of-band instructions in one embodiment. Figure 1A and Figure 1B As shown, the transmission circuit 1 of the out-of-band instruction includes a signal reading module 11 and a signal intercepting module 12 connected to the signal reading module 11. The signal intercepting module 12 includes a signal extraction unit 121, an integration unit 122 connected to the signal extraction unit 121, and a triggering unit 123 connected to the integration unit 122.
[0041] The signal reading module 11 is used to read the differential signal. The differential signal includes a positive communication data signal and a negative communication data signal.
[0042] When the transmission circuit is in normal communication, the differential signal only transmits communication data, and the out-of-band command signal is not sent. When the electronic device needs to be turned on, the out-of-band command signal is added to the differential signal transmitted by the transmission circuit. The out-of-band command signal has a specified frequency.
[0043] An example waveform diagram of the differential signal with the out-of-band command signal added is as follows: Figure 2 The differential signal has a cycle of 100us, 0-75us is the communication data waveform of the normal communication signal, data is sent with a cycle of 80ns, 75-100us is the waveform of the out-of-band command signal with a specified frequency, and the cycle is 2us.
[0044] For example, when the out-of-band command signal is not added to the differential signal, the signal reading module 11 outputs a communication data signal with a 25 MHz frequency waveform without the out-of-band command signal.
[0045] For example, when the out-of-band command signal is added to the differential signal, the signal reading module 11 outputs the communication data signal with the out-of-band command signal added, that is, a communication data signal with a 25MHz frequency waveform is sent within 0-75us, and a communication data signal with a 1MHz frequency waveform is sent within 75-100us.
[0046] In this embodiment, the signal reading module 11 includes a first input terminal and a second input terminal; and the communication data signal is read out from the differential signal pair by performing level comparison between the first input terminal and the second input terminal.
[0047] Specific reference Figure 1B The signal reading module 11 uses a comparator. The specific functions of the comparator are as follows:
[0048] When the differential signal RX0_P received by the first input terminal is at a high level, the corresponding differential signal RX0_N received by the second input terminal is at a low level, the voltage of the IN+ input terminal is higher than that of the IN- input terminal, and the output terminal of the comparator U1 is at a high level;
[0049] When the differential signal RX0_P received by the first input terminal is low level, the corresponding RX0_N received by the second input terminal is high level, the voltage of the IN+ input terminal is lower than that of the IN- input terminal, and the output terminal of the comparator U1 is low level.
[0050] When the signal interception module 12 does not add the out-of-band instruction signal to the differential signal, the output end of the signal interception module outputs a control signal for controlling the closing of the switch device.
[0051] When the out-of-band command signal is added to the differential signal, the signal interception module 12 intercepts the out-of-band command signal from the communication data signal according to the specified frequency, so that the out-of-band command signal forms a control signal for controlling the conduction of the switching device; wherein the out-of-band command signal has a specified frequency.
[0052] Specifically, when no out-of-band command signal is added to the differential signal, the signal extraction unit 121 filters out non-out-of-band command signals in the differential signal, for example, filters out data signals with a frequency of 25 MHz, the input end of the trigger unit 123 is at a low level in a default state, and the output end outputs a control signal for turning off the switching device, that is, the control output signal S_OUT is at a low level in a default state.
[0053] Specifically, when the out-of-band command signal is added to the differential signal, the signal extraction unit 121 extracts the out-of-band command signal from the communication data signal according to the specified frequency, for example, filtering out the data signal with a frequency of 25 MHz and extracting the data signal with a frequency of 1 MHz.
[0054] The integration unit 122 integrates the out-of-band command signal using a capacitive integration mechanism. For example, when a data signal with a period of 100us passes through the integration unit 122, a charging operation is performed, causing the level of the input end of the trigger unit 123 to become higher. When the positive threshold voltage is exceeded, the control output signal S_OUT rises to a high level, and the output end outputs a control signal for turning on the switching device.
[0055] In this embodiment, the signal extraction unit 121 adopts a bandpass filter circuit with a filtering function, the integration unit 122 adopts an RC charging circuit, and the trigger unit 123 adopts a Schmitt trigger.
[0056] Specifically, the integration unit 122 adopts an RC charging circuit. The RC charging circuit includes a first resistor R1, a diode D, a first capacitor C1 and a second resistor R2; wherein one end of the first resistor R1 is connected to the positive electrode of the diode D, the negative electrode of the diode D is connected to one end of the first capacitor C1, the other end of the first capacitor C1 is grounded, and the second resistor R2 is connected in parallel with the first capacitor C1. The frequency of the differential signal waveform with external coding information is related to the RC parameters on the integration circuit, and the selection of the RC parameters can be calculated based on the frequency of the differential signal waveform with external coding information.
[0057] For the RC circuit under high frequency operation, according to the charging and discharging characteristics of the capacitor, when the capacitor is charged, after a time constant RC, the voltage on the capacitor is equal to 0.63 times the charging power supply voltage. When discharging, after a time constant RC, the voltage on the capacitor drops to 0.37 times the power supply voltage, as shown below Figure 3A and Figure 3B shown.
[0058] According to the charging and discharging characteristics of the capacitor, when the time constant RC is much larger than the signal period, the capacitor charges and discharges very slowly, and its output waveform is close to an ideal square wave, which is an ideal coupling circuit. When the time constant is close to the signal period, the capacitor has a certain amount of charging and discharging, and the flat-top part of its output waveform has a certain decline or rise, which is not an ideal square wave. When the time constant is much smaller than the signal period, the capacitor will be fully charged and discharged in a very short time, so the output waveform is an up and down spike pulse circuit.
[0059] This embodiment also provides a chip, which includes the above-mentioned out-of-band instruction transmission circuit.
[0060] Finally, this embodiment further provides an electronic device, which includes the chip.
[0061] In summary, the transmission circuit, chip and electronic device for out-of-band instructions of the present invention have the following beneficial effects:
[0062] First, since ordinary control signals are more susceptible to external interference, while differential signals are not easily interfered with, the signals processed by the present invention are more stable and suitable for switch control circuits with higher safety requirements.
[0063] Second, the present invention uses pure logic analog circuits, which are less susceptible to interference than digital signal control using chips.
[0064] Third, the present invention does not require the chip to provide additional IO, thus saving the number of IO ports. The present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
[0065] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A transmission circuit for out-of-band instructions, characterized in that: The transmission circuit is connected to a switch device; the transmission circuit of the out-of-band instruction includes: a signal reading module and a signal interception module connected to the signal reading module; the signal reading module includes a first input terminal and a second input terminal; a communication data signal is read from a differential signal pair by performing a level comparison between the first input terminal and the second input terminal; when the transmission circuit is in normal communication, the differential signal only transmits communication data and does not send an out-of-band instruction signal; when the switch device needs to be opened, the out-of-band instruction signal is added to the differential signal transmitted by the transmission circuit; Wherein, when the out-of-band command signal is not added to the differential signal, the output end of the signal interception module outputs a control signal for controlling the closing of the switch device; wherein the out-of-band command signal has a specified frequency; When the out-of-band command signal is added to the differential signal, the signal interception module intercepts the out-of-band command signal from the communication data signal according to the specified frequency, so that the out-of-band command signal forms a control signal for controlling the conduction of the switch device.
2. The transmission circuit for out-of-band instructions according to claim 1, characterized in that: The signal reading module adopts a comparator.
3. The transmission circuit of the out-of-band instruction according to claim 1, characterized in that: The signal interception module includes: a signal extraction unit, an integration unit connected to the signal extraction unit, and a trigger unit connected to the integration unit.
4. The transmission circuit for out-of-band instructions according to claim 3, characterized in that: When no out-of-band command signal is added to the differential signal, the signal extraction unit filters out non-out-of-band command signals in the differential signal, the input end of the trigger unit is at a low level in a default state, and the output end outputs a control signal for closing the switch device.
5. The transmission circuit of the out-of-band instruction according to claim 3, characterized in that: When the out-of-band command signal is added to the differential signal, the signal extraction unit extracts the out-of-band command signal from the communication data signal according to the specified frequency, the integration unit integrates the out-of-band command signal using a capacitive integration mechanism, and the level of the input end of the trigger unit becomes high, and the output end outputs a control signal for turning on the switching device.
6. The transmission circuit for out-of-band instructions according to claim 5, characterized in that: The signal extraction unit adopts a bandpass filter circuit.
7. The transmission circuit for out-of-band instructions according to claim 5, characterized in that: The integration unit includes a first resistor, a diode, a first capacitor and a second resistor; wherein one end of the first resistor is connected to the positive electrode of the diode, the negative electrode of the diode is connected to one end of the first capacitor, the other end of the first capacitor is grounded, and the second resistor is connected in parallel with the first capacitor.
8. A chip, characterized in that: The chip comprises a transmission circuit for out-of-band instructions as claimed in any one of claims 1 to 6.
9. An electronic device, characterized in that: Comprising the chip as claimed in claim 8.
