A signal output control device

By using the coordination of the inspection circuit and the processor in the vehicle signal output control equipment, the safety and reliability of the signal output are ensured, and the vehicle operation problems caused by interference in signal transmission are solved, and the stable operation and efficient signal output of the equipment are achieved.

CN110806505BActive Publication Date: 2024-12-06CRSC (XI AN) RAIL TRANSIT IND GRP CO LTD BEIJING BRANCH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201911221151.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-03
Publication Date
2024-12-06
Estimated Expiration
2039-12-03

AI Technical Summary

Technical Problem

In the vehicle field, the safe transmission of signals is disturbed and leads to errors in the signal content and/or transmission timing, which may lead to vehicle parking or accidents, affecting operational efficiency and safety.

Method used

Design a signal output control device, including input and output circuit, driving circuit, inspection circuit and processor, through which the test circuit receives the processor's test signal and outputs the response signal, the processor decides whether to supply power to the driver circuit according to the changes in the response signal. The driving circuit determines whether to supply power to the input and output circuits, thereby ensuring the safety and reliability of signal output.

Benefits of technology

It realizes safety and reliability when signal output, prevents error output caused by signal interference, ensures normal and stable operation of the vehicle, and has good transplantability, availability and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110806505B_ABST
    Figure CN110806505B_ABST
Patent Text Reader

Abstract

The present invention provides a signal output control device, including an input-output circuit, a driving circuit, a test circuit and a processor. The processor is connected to the test circuit and the driving circuit respectively, and the input-output circuit is connected to the driving circuit. The test circuit is used to test whether the signal is interfered; the processor is used to allow the driving circuit to supply power to or stop supplying power to the input-output circuit according to the test result of the test circuit; the input-output circuit includes an input interface and an output interface. The present invention connects and cooperates with each circuit, and when the response signal output by the test circuit does not meet the requirements, the connection channel between the input interface and the output interface of the input-output circuit is cut off in time, and the signal received by the input-output circuit will not be output, thereby ensuring that the output signal is safe and reliable, thereby ensuring the normal and stable operation of the vehicle. At the same time, the above-mentioned signal output control device can be applied to different types of signal output control, and has good portability, availability and stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information control, and in particular to a signal output control device. Background Art

[0002] The safe transmission of signals in the vehicle field is crucial. If the transmitted signal is interfered with during actual vehicle operation, resulting in errors in the content and / or timing of the signal, it will have immeasurable consequences. In the worst case, the vehicle will stop, affecting operational efficiency, and in the worst case, a vehicle accident will occur. Therefore, in the development of related equipment in the vehicle field, safety and reliability are important criteria. Specifically, safety-related equipment must work normally and output the correct signal at the right time, even if the equipment fails, it must lead to safety. Then how to ensure the safety and reliability of the output signal has become a problem worth studying. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a signal output control device to achieve safe and reliable output signals, thereby ensuring the normal and stable operation of the vehicle.

[0004] To achieve the above-mentioned purpose, an embodiment of the present invention provides the following technical solution: a signal output control device, comprising an input-output circuit, a driving circuit, a test circuit and a processor; wherein the processor is connected to the test circuit and the driving circuit respectively, and the input-output circuit is connected to the driving circuit;

[0005] The inspection circuit is used to receive a test signal from the processor and output a response signal corresponding to the test signal;

[0006] The processor is configured to output a power supply signal to the drive circuit when the level of the response signal changes with the level of the test signal; and output a power supply stop signal to the drive circuit when the level of the response signal does not change with the level of the test signal;

[0007] The driving circuit is configured to supply power to the input-output circuit when receiving the power supply signal; and stop supplying power to the input-output circuit when receiving the stop power supply signal;

[0008] The input-output circuit includes an input interface and an output interface. When the drive circuit supplies power to the input-output circuit, the connection channel between the input interface and the output interface is turned on; and when the drive circuit stops supplying power to the input-output circuit, the connection channel between the input interface and the output interface is turned off.

[0009] Further, the processor includes a first processor and a second processor; the first processor and the second processor are connected to the inspection circuit and the driving circuit respectively;

[0010] The first processor is used to send a first test signal to the inspection circuit and receive a first response signal from the inspection circuit; the second processor is used to send a second test signal to the inspection circuit and receive a second response signal from the inspection circuit;

[0011] The first processor is further configured to output a power supply signal to the drive circuit when the level of the first response signal changes with the change of the level of the first test signal, and output a power supply stop signal to the drive circuit when the level of the first response signal does not change with the change of the level of the first test signal;

[0012] The second processor is further configured to output a power supply signal to the drive circuit when the level of the second response signal changes with the change of the level of the second test signal; and output a power supply stop signal to the drive circuit when the level of the second response signal does not change with the change of the level of the second test signal;

[0013] The driving circuit is specifically used to supply power to the input-output circuit when receiving the power supply signal of the first processor and the power supply signal of the second processor; and to stop supplying power to the input-output circuit when receiving the stop power supply signal of the first processor or the stop power supply signal of the second processor.

[0014] Further, the inspection circuit includes a first inspection circuit and / or a second inspection circuit;

[0015] The first inspection circuit includes a first input interface, a first output interface and a first test interface;

[0016] The first input interface receives the first test signal or the second test signal, and the first test interface is connected to a first interface to be tested of the input-output circuit;

[0017] When the level signal received by the first test interface is a preset level signal, the level of the response signal output by the first output interface changes with the level change of the test signal received by the first input interface; and when the level signal received by the first test interface is not a preset level signal, the level of the response signal output by the first output interface does not change with the level change of the test signal received by the first input interface;

[0018] The second inspection circuit includes a second input interface, a second output interface, a second test interface and a third test interface;

[0019] The second input interface receives the first test signal or the second test signal, the second test interface is connected to the second interface to be tested of the input-output circuit, and the third test interface is connected to the third interface to be tested of the input-output circuit;

[0020] When the level signals received by the second test interface and the third test interface are both their corresponding preset level signals, the level of the response signal output by the second output interface will change with the level change of the test signal received by the second input interface; and when the level signal received by at least one of the second test interface and the third test interface is not a preset level signal, the level of the response signal output by the second output interface will not change with the level change of the test signal received by the second input interface.

[0021] Furthermore, a switch component is connected between the input interface of the input-output circuit and the output interface of the input-output circuit, and when the drive circuit supplies power to the input-output circuit, the switch component is closed; and when the drive circuit stops supplying power to the input-output circuit, the switch component is opened.

[0022] Further, the inspection circuit includes an input interface, an output interface and a test interface; the input interface of the inspection circuit receives the test signal of the processor, and the test interface is connected to the interface to be tested of the input and output circuit;

[0023] When the level signal received by the test interface is a preset level signal, the level of the response signal output by the output interface of the inspection circuit will change with the level change of the test signal, and when the level signal received by the test interface is not a preset level signal, the level of the response signal output by the output interface of the inspection circuit will not change with the level change of the test signal.

[0024] Further, the input-output circuit includes at least one relay unit, and the relay unit includes a pair of control interfaces, a pair of normally closed interfaces and at least one pair of normally open interfaces; wherein one end of the control interface is connected to the drive circuit for receiving the power supply voltage of the drive circuit, and the other end of the control interface is grounded;

[0025] One end of the normally closed interface serves as the interface to be tested of the input-output circuit, and the other end of the normally closed interface is grounded;

[0026] One end of one pair of normally open interfaces in the at least one pair of normally open interfaces serves as the input interface of the input-output circuit, and the other end of the pair of normally open interfaces serves as the output interface of the input-output circuit.

[0027] Further, the inspection circuit includes at least one relay inspection circuit for inspecting the relay unit, one relay inspection circuit is connected to one relay unit, the number of the relay inspection circuits is no more than the number of the relay units, and the connection relationship between the relay unit and the relay inspection circuit is as follows:

[0028] One end of the normally closed interface of the relay unit is connected to the test interface of the relay test circuit to which the relay unit is connected; the other end of the normally closed interface of the relay unit is grounded;

[0029] One end of the normally closed interface of the relay unit connected to the test interface of the inspection circuit connected to the relay unit is an interface to be tested of the input-output circuit.

[0030] Further, the at least one relay unit includes a first relay unit, a second relay unit and a third relay unit, and the drive circuit includes a first drive circuit for supplying power to the first relay unit and a second drive circuit for supplying power to the third relay unit; wherein,

[0031] One end of the control interface of the first relay unit is connected to the power supply end of the first drive circuit, and the other end of the control interface of the first relay unit is grounded;

[0032] One end of a pair of normally open interfaces of the first relay unit is connected to a power supply end for driving the second relay unit, the other end of the normally open interface of the first relay unit is connected to one end of a control interface of the second relay unit, the other end of the control interface of the second relay unit is connected to one end of a pair of normally open interfaces of the third relay unit, and the other end of the normally open interface of the third relay unit is grounded;

[0033] One end of the control interface of the third relay unit is connected to the power supply end of the second drive circuit, and the other end of the control interface of the third relay unit is grounded;

[0034] At least one pair of normally open interfaces of the first relay unit, the second relay unit and the third relay unit are connected in series to form a connection channel between the input interface of the input-output circuit and the output interface of the input-output circuit.

[0035] Further, the inspection circuit includes a back-check circuit, and the test interface of the back-check circuit includes a positive test interface and a negative test interface;

[0036] The positive test interface is connected to one end of the normally open interface of the first relay unit connected to the power supply end for driving the second relay unit, and the negative test interface is connected to the ground end of the normally open interface of the third relay unit;

[0037] One end of the normally open interface of the first relay unit connected to the power supply end for driving the second relay unit and the ground end of the normally open interface of the third relay unit are interfaces to be tested of the input-output circuit.

[0038] Further, the inspection circuit includes a third photoelectric component, a fourth photoelectric component, a first resistor component, a second resistor component and a third resistor component; the third photoelectric component includes a positive input terminal, a negative input terminal and two output terminals, and the fourth photoelectric component includes a positive input terminal, a negative input terminal and two output terminals;

[0039] The positive input end of the third photoelectric component is connected in series with the first resistor component as the positive test interface of the inspection circuit; the negative input end of the third photoelectric component is connected to an output end of the fourth photoelectric component, and the other output end of the fourth photoelectric component is the negative test interface of the inspection circuit;

[0040] The first IO interface of the processor and one output end of the third photoelectric component are connected in series with a second resistor component and then connected to the first power supply end of the processor, and at the same time, one output end of the third photoelectric component also serves as the output interface of the inspection circuit, and the other output end of the third photoelectric component is grounded;

[0041] The positive input terminal of the fourth photoelectric component is connected in series with the third resistor component and then connected to the second power supply terminal of the processor. The negative input terminal of the fourth photoelectric component serves as the input interface of the inspection circuit. The power supply voltages of the first power supply terminal and the second power supply terminal are different.

[0042] In an embodiment of the present invention, a signal output control device includes an input-output circuit, a driving circuit, a test circuit and a processor. The processor is connected to the test circuit and the driving circuit, respectively, and the input-output circuit is connected to the driving circuit. The test circuit is used to receive a test signal from the processor and output a response signal corresponding to the test signal. The processor is used to output a power supply signal to the driving circuit when the level of the response signal changes with the level of the test signal, and to output a stop power supply signal to the driving circuit when the level of the response signal does not change with the level of the test signal. The driving circuit is used to supply power to the input-output circuit when receiving the power supply signal; and to stop supplying power to the input-output circuit when receiving the stop power supply signal. The input-output circuit includes an input interface and an output interface. When the driving circuit supplies power to the input-output circuit, the connection channel between the input interface and the output interface is turned on; and when the driving circuit stops supplying power to the input-output circuit, the connection channel between the input interface and the output interface is disconnected. After the connection and coordination of the above circuits, when the response signal output by the inspection circuit does not meet the requirements, the connection channel between the input interface and the output interface of the input-output circuit is promptly cut off, and the signal received by the input-output circuit will not be output. If the above test signal and input signal are interfered with, the response signal will not meet the requirements, and the signal output is prohibited at this time; the signal is output only when it is determined that the response signal output by the inspection circuit meets the requirements, ensuring that the output signal is safe and reliable, thereby ensuring the normal and stable operation of the vehicle. At the same time, the above signal output control device can be applied to different types of signal output control, and has good portability, availability and stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0044] Figure 1 This is a schematic diagram of the structure of a signal output control device according to an embodiment of the present invention;

[0045] Figure 2 This is a structural schematic diagram of a signal output control device according to another embodiment of the present invention;

[0046] Figure 3a This is a structural schematic diagram of a signal output control device according to another embodiment of the present invention;

[0047] Figure 3b This is a structural schematic diagram of a signal output control device according to another embodiment of the present invention;

[0048] Figure 3c This is a structural schematic diagram of a signal output control device according to another embodiment of the present invention;

[0049] Figure 4 This is a structural schematic diagram of a signal output control device according to another embodiment of the present invention;

[0050] Figure 5a , 5b and 5c is Figure 4 Structural diagrams of different implementations of the input-output circuit 410;

[0051] Figure 6 for Figure 4 A schematic diagram of the structure of an implementation of the inspection circuit 420;

[0052] Figure 7a and 7b for Figure 4 Schematic diagram of the structure of different implementations of the driving circuit 430;

[0053] Figure 8 A wiring diagram of an input and output circuit of a signal output control device according to an application embodiment of the present invention;

[0054] Fig. 9 A schematic diagram of the connection of a processor of a signal output control device according to an application embodiment of the present invention;

[0055] Fig.10a and 10b A wiring diagram of a driving circuit of a signal output control device according to an application example of the present invention;

[0056] Fig.11a and 11b They are respectively connection diagrams of relay test circuits of relay unit 1 and relay unit 3 of a signal output control device according to an application embodiment of the present invention;

[0057] Fig.12a and 12b A wiring diagram of a check circuit of a signal output control device according to an application example of the present invention;

[0058] Figure 13a-13b This is a wiring diagram of a relay test circuit of a relay unit 2 of a signal output control device according to an application embodiment of the present invention. DETAILED DESCRIPTION

[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0061] See also Figure 1 , which shows a schematic diagram of the structure of a signal output control device according to an embodiment of the present invention. The device includes an input-output circuit 110, a test circuit 120, a drive circuit 130 and a processor 140.

[0062] The processor 140 is connected to the test circuit 120 and the driving circuit 130 respectively, and the input-output circuit 110 is connected to the driving circuit 130. The test circuit 120 receives the test signal from the processor 140, outputs a response signal corresponding to the test signal to the processor 140, and checks whether the signal is interfered, such as detecting whether the test signal and the signal received by the input-output circuit are interfered, or the input-output circuit itself is affected by the environment or surrounding modules, so that the signal of its interface is interfered.

[0063] In this embodiment, the state of the components in the test circuit 120 can change, such as the state of the components can change between the two states of on and off, and the test circuit 120 outputs a response signal by changing the state of the components, wherein the test signal and the response signal can be logic-unchanged level signals, such as the test signal and the response signal can be a low-level signal, or a series of logic-changing level signals. The test circuit 120 can be implemented in a variety of ways: in one implementation, the test circuit 120 can be a circuit composed of logic elements, receiving the test signal sent by the processor 140, and outputting a response signal corresponding to the test signal level through the action of the logic elements in the test circuit 120. In another implementation, the test circuit 120 can be a circuit composed of a photoelectric relay, the test signal sent by the processor 140 is input into the input circuit of the photoelectric relay, and the output circuit of the photoelectric relay outputs a response signal corresponding to the test signal. The test circuit 120 can also adopt other ways to realize the test function, which are not specifically limited here.

[0064] The inspection circuit 120 can also be connected to the input-output circuit 110 to inspect whether there is any abnormality in the input-output circuit 110 as the signal output channel; the inspection circuit 120 can also be connected to other modules or circuits in the signal output control device that can affect the signal output to inspect whether the module or circuit abnormally affects the signal output.

[0065] The processor 140 is used to output a power supply signal to the driving circuit 130 when the level of the response signal changes with the level of the test signal; and output a stop power supply signal to the driving circuit 130 when the level of the response signal does not change with the level of the test signal.

[0066] The fact that the level of the response signal changes as the level of the test signal changes indicates that: when the level of the test signal changes from one level value to another level value, the level of the response signal also changes in the same way as the test signal, such as when the test signal changes from a high level to a low level, the response signal also changes from a high level to a low level, and this change is determined by whether the state of the components in the test circuit 120 changes. For example, if the initial levels of the test signal and the response signal are both high levels, when the level of the test signal changes from a high level to a low level, the state of the components in the test circuit 120 changes from an off state to an on state, so that the response signal of the test circuit 120 also changes from a high level to a low level; if the level of the test signal remains at a high level, the state of the components in the test circuit 120 remains at an off state, so that the response signal of the test circuit 120 also remains at a high level and does not change.

[0067] It should be noted that when the level of the response signal changes with the level of the test signal, a power supply signal is output; and when the level of the response signal does not change with the level of the test signal, a stop power supply signal is output, which is only used to distinguish that in two different situations, the processor 140 will produce two different results; or it can also be understood as: when the response signal and the test signal meet the preset requirements (such as but not limited to the response signal and the test signal are both low-level signals), the processor 140 will output a power supply signal, and when the response signal and the test signal do not meet the preset requirements, the processor 140 will output a stop power supply signal; no specific restrictions are made here, but they are all within the scope of protection of this application. Among them, the processor 140 includes at least one processor, and the power supply signal output by each processor can be set to the same level signal or to different level signals, which is not specifically limited here.

[0068] The driving circuit 130 is used to supply power to the input-output circuit 110 when receiving a power supply signal, and to stop supplying power to the input-output circuit 110 when receiving a stop power supply signal.

[0069] Specifically, under the action of the power supply signal, the driving circuit 130 applies a voltage to the input-output circuit 110 that can drive the input-output circuit 110 to work, so that the input-output circuit 110 is powered on and works; and under the action of the stop power supply signal, the driving circuit 130 stops applying the voltage to the input-output circuit 110, so that the input-output circuit 110 is powered off and does not work.

[0070] There are many implementations of the same driving circuit 130, which can be a circuit composed of a controllable switch component and a driving voltage generating component. The power supply signal can make the switch component conduct the output channel of the driving voltage; and when the power supply signal is stopped, the switch component will cut off the output channel of the driving voltage. The switch component can be various types of relays, such as photoelectric relays.

[0071] The input-output circuit 110 includes an input interface and an output interface. When the driving circuit 130 supplies power to the input-output circuit 110, the connection channel between the input interface and the output interface is turned on, so that the signal received by the input interface can be output from the output interface; and when the driving circuit 130 stops supplying power to the input-output circuit 110, the connection channel between the input interface and the output interface is disconnected, and the signal received by the input interface cannot be output from the output interface.

[0072] A switch component is provided in the connection channel between the input interface of the input-output circuit 110 and the output interface of the input-output circuit 110. When the driving circuit 130 supplies power to the input-output circuit 110, the input-output circuit 110 is powered on and works, the switch component is closed, and the signal received by the input interface is output through the output interface of the input-output circuit 110; and when the driving circuit 130 stops supplying power to the input-output circuit 110, the input-output circuit 110 is powered off and does not work, the switch component is disconnected, and the signal received by the input interface cannot be output.

[0073] In this embodiment, after the connection and coordination of the above circuits, when the response signal output by the inspection circuit does not meet the requirements, the connection channel between the input interface and the output interface of the input-output circuit is promptly cut off, and the signal received by the input-output circuit will not be output. If the above test signal and input signal are interfered with, the response signal will not meet the requirements, and the signal output is prohibited at this time; only when it is determined that the response signal output by the inspection circuit meets the requirements, the signal is output, which ensures that the output signal is safe and reliable, thereby ensuring the normal and stable operation of the vehicle. At the same time, the above signal output control device can be applied to different types of signal output control, and has good portability, availability and stability.

[0074] The following embodiment describes a signal output control device with dual processors. Figure 2 , which shows a schematic diagram of the structure of a signal output control device according to another embodiment of the present invention. The signal output control device includes an input-output circuit 110, a test circuit 120, a drive circuit 130 and a processor 140.

[0075] Compared to Figure 1 In the signal output control device provided in this embodiment, the processor 140 includes a first processor 141 and a second processor 142, and the first processor 141 and the second processor 142 are connected to the inspection circuit 120 and the driving circuit 130 respectively.

[0076] The first processor 141 sends a first test signal to the inspection circuit 120, and receives a first response signal from the inspection circuit 120; the second processor 142 sends a second test signal to the inspection circuit 120, and receives a second response signal from the inspection circuit 120. The first test signal, the first response signal, the second test signal, and the second response signal are described above, and may all be level signals.

[0077] The first processor 141 is also used to output a power supply signal to the driving circuit 130 when the level of the first response signal changes with the level of the first test signal, and to output a power supply stop signal to the driving circuit 130 when the level of the first response signal does not change with the level of the first test signal.

[0078] The second processor 142 is also used for outputting a power supply signal to the driving circuit 130 when the level of the second response signal changes with the level of the second test signal; and outputting a stop power supply signal to the driving circuit 130 when the level of the second response signal does not change with the level of the second test signal. The power supply / stop power supply signal of the first processor 141 and the power supply / stop power supply signal of the second processor 142 are similar to the power supply / stop power supply signal of the processor 140 in the previous embodiment. Please refer to the explanation of the previous embodiment, which will not be repeated here.

[0079] In this embodiment, the driving circuit 130 supplies power to the input-output circuit 110 when receiving the power supply signal of the first processor 141 and the power supply signal of the second processor 142. The driving circuit 130 stops supplying power to the input-output circuit 110 when receiving the stop power supply signal of the first processor 141 or the stop power supply signal of the second processor 142.

[0080] The functions and structures of the input / output circuit 110 , the inspection circuit 120 and the driving circuit 130 are described in the previous embodiment and will not be repeated here.

[0081] That is to say, only when the first processor 141 and the second processor 142 both believe that the inspection result of the inspection circuit 120 meets the requirements (the first response signal and the second response signal both meet the requirements), the driving circuit 130 will supply power to the input-output circuit 110 so that the signal can be output; if either the first processor 141 or the second processor 142 finds that the inspection result of the inspection circuit 120 is abnormal (either the first response signal or the second response signal does not meet the requirements), the driving circuit 130 stops supplying power to the input-output circuit 110, so that the signal cannot be output, thereby further improving the reliability of the device output signal.

[0082] The following describes the test circuit in the above embodiment. The test circuit includes a first test circuit and / or a second test circuit. The test circuit can be implemented in a variety of ways. The optional structure can be found in Figure 3a , Figure 3b and Figure 3c The test circuit in .

[0083] Figure 3a The signal output control device in the embodiment includes an input-output circuit 110 , a first inspection circuit 121 , a second inspection circuit 122 , a driving circuit 130 , a first processor 141 and a second processor 142 .

[0084] The first inspection circuit 121 is connected to the first processor 141, and the second inspection circuit 122 is connected to the second processor 142. The first inspection circuit 121 includes a first input interface b1, a first output interface b2, and a first test interface b3; the second inspection circuit 122 includes a second input interface b4, a second output interface b5, a second test interface b6, and a third test interface b7.

[0085] The first input interface b1 of the first inspection circuit 121 receives the first test signal sent by the interface d1 of the first processor 141, and the first test interface b3 is connected to the first test interface a2 of the input-output circuit 110. When the level signal of the first test interface a2 of the input-output circuit 110 received by the first test interface b3 is a preset level signal, the level of the first response signal output by the first output interface b2 changes with the level change of the first test signal; and when the level signal of the first test interface a2 of the input-output circuit 110 received by the first test interface b3 is not a preset level signal, the level of the first response signal output by the first output interface b2 does not change with the level change of the first test signal. The first response signal is sent to an input interface d2 of the first processor 141.

[0086] It should be noted that the preset level signal of the first interface a2 to be tested of the input-output circuit 110 can be a high level or a low level, which is not limited here. It can be understood that when the level signal of the first interface a2 to be tested of the input-output circuit 110 is a preset level signal, the first inspection circuit 121 believes that the input-output circuit 110 is in a normal working state, and sends the inspection result to the first processor 141 through the first response signal, that is, the first response signal can indicate the inspection result of the input-output circuit 110 by the first inspection circuit 121, such as the input-output circuit 110 is in a normal working state. When the level signal of the first interface a2 to be tested of the input-output circuit 110 is not a preset level signal, the first inspection circuit 121 believes that the input-output circuit 110 is in an abnormal working state, and sends the inspection result to the first processor 141 through the first response signal, and at this time, the first response signal indicates that the input-output circuit 110 is in an abnormal working state.

[0087] The second input interface b4 of the second inspection circuit 122 receives the second test signal sent by the interface d4 of the second processor 142, the second test interface b6 is connected to the second interface a3 to be tested of the input-output circuit 110, and the third test interface b7 is connected to the third interface a4 to be tested of the input-output circuit 110. When the level signals received by the second test interface b6 and the third test interface b7 are both corresponding preset level signals, the level of the second response signal output by the second output interface b5 will change with the level change of the second test signal; and when the level signal received by at least one of the second test interface b6 and the third test interface b7 is not the preset level signal, the level of the second response signal output by the second output interface b5 will not change with the level change of the second test signal. The second response signal is sent to an input interface d5 of the second processor 142.

[0088] It should be noted that the level signal of the second interface a3 to be tested and the third interface a4 to be tested of the input-output circuit 110 is a preset level signal, and the preset level signal can be a high level or a low level, which is not limited here. It can be understood that when the level signal of the second interface a3 to be tested or the third interface a4 to be tested of the input-output circuit 110 satisfies the respective preset level signals, the second inspection circuit 122 considers that the input-output circuit 110 is in a normal working state, and sends the inspection result to the second processor 142 through the second response signal, that is, the second response signal can also be the inspection result of the input-output circuit 110 by the second inspection circuit 122, such as the input-output circuit 110 is in a normal working state. When the level signal of the second interface a3 to be tested or the third interface a4 to be tested of the input-output circuit 110 is not a preset level signal, the second inspection circuit 122 considers that the input-output circuit 110 is in an abnormal working state, and sends the inspection result to the second processor 142 through the second response signal, and at this time, the second response signal indicates that the input-output circuit 110 is in an abnormal working state.

[0089] The first inspection circuit 121 and the second inspection circuit 122 can be implemented in a variety of ways: in one implementation, the first inspection circuit 121 and the second inspection circuit 122 can be circuits composed of logic elements, and the received test signal outputs a response signal corresponding to the test signal level through the action of the logic elements in the inspection circuit. In another implementation, the first inspection circuit 121 and the second inspection circuit 122 can be circuits composed of photoelectric relays, and the received test signal is input into the input circuit of the photoelectric relay, and the output circuit of the photoelectric relay outputs a response signal corresponding to the test signal. The first inspection circuit 121 and the second inspection circuit 122 can also adopt other ways to realize the inspection function, which are not specifically limited here.

[0090] The input-output circuit 110 includes an input interface a1 and an output interface A1. It should be noted that in other embodiments, different numbers of pairs of input interfaces and output interfaces may be provided according to the number of signals output by the input-output circuit 110, which is not limited here.

[0091] The input-output circuit 110 also includes interface a5, the first processor 141 outputs a power supply signal or a power stop signal to the input interface c3 of the driving circuit 130 through the output interface d3; and the second processor 142 outputs a power supply signal or a power stop signal to the input interface c2 of the driving circuit 130 through the output interface d6.

[0092] When the input interface c2 and the input interface c3 receive the power supply signal at the same time, the driving circuit 130 outputs the driving voltage to the interface a5 of the input-output circuit 110 through the output interface c1, so that the input-output circuit 110 is powered on and works, the connection path between the input interface a1 and the output interface A1 is opened, and the signal received by the input interface a1 is output from the output interface A1 of the input-output circuit 110. If one of the input interfaces c2 and the input interface c3 receives the stop power supply signal, the driving circuit 130 cannot output the driving voltage to the interface a5 of the input-output circuit 110 through the output interface c1, so that the input-output circuit 110 is powered off and does not work, the connection path between the input interface a1 and the output interface A1 is disconnected, and the signal received by the input interface a1 cannot be output from the output interface A1 of the input-output circuit 110. For the explanation of the power supply signal and the stop power supply signal, please refer to the above embodiment, which will not be repeated here.

[0093] Figure 3b The signal output control device in Figure 3a The device in the embodiment has a different inspection circuit structure, including two first inspection circuits 121, and the two first inspection circuits 121 are respectively connected to the first processor 141 and the second processor 142. The interface connection of each circuit is as follows Figure 3b For the signal transmission method between circuits, please refer to Figure 3a The description in will not be repeated here.

[0094] Figure 3c The signal output control device in Figure 3a The device in the embodiment has a different inspection circuit structure, including two second inspection circuits 122, and the two second inspection circuits 122 are respectively connected to the first processor 141 and the second processor 142. The interface connection of each circuit is as follows Figure 3c For the signal transmission method between circuits, please refer to Figure 3a The description in will not be repeated here.

[0095] It should be noted that the implementation method of the inspection circuit is Figure 3a, Figure 3b and Figure 3c In addition to the above, in other embodiments, different numbers of first and second inspection circuits may be provided according to the specific structure of the input-output circuit 110 and the inspection requirements of different interfaces. Each interface to be tested in the input-output circuit 110 may be connected to at least one inspection circuit (first inspection circuit 121 and / or second inspection circuit 122). On the other hand, the control modes of the two processors may be replaced with one processor; or, to further enhance reliability, the inspection results of each interface to be tested in the input-output circuit 110 may be transmitted to the first processor 141 and the second processor 142 through the inspection circuit.

[0096] The inspection circuit of the device in this embodiment can be flexibly configured according to the inspection needs. Therefore, the signal output control device of this embodiment can be easily transferred to devices with different structures or adopt different inspection circuits to meet the control output of different types of signals, and has good portability and usability.

[0097] See also Figure 4 , which shows a structural schematic diagram of a signal output control device according to another embodiment of the present invention, including an input-output circuit 410, a test circuit 420, a drive circuit 430 and a processor 440.

[0098] exist Figure 1 The signal output control device is shown based on Figure 4 The inspection circuit 420 in the embodiment is connected to the input-output circuit 410, and the inspection circuit 420 is used to inspect whether the working state of the input-output circuit 410 is normal. The inspection circuit 420 includes an input interface b10, an output interface b20, and a test interface b30. The input-output circuit 410 includes an input interface a10, an output interface A10, a test interface a20, and a control interface a30. The driving circuit 430 includes an input interface c10 and an output interface c20. The processor 440 includes an interface d20, an interface d20, and an interface d30. The connection method of the interface of each circuit is as follows: Figure 4 shown.

[0099] The input interface b10 of the inspection circuit 420 receives the test signal of the interface d10 of the processor 440, and the test interface b30 is connected to the interface a20 to be tested of the input-output circuit 410 to receive the level signal of the interface a20 to be tested.

[0100] When the level signal received by the test interface b30 of the inspection circuit 420 is a preset level signal, the level of the response signal output by the output interface b20 will change with the level change of the test signal; and when the level signal received by the test interface b30 is not a preset level signal, the level of the response signal output by the output interface b20 of the inspection circuit 420 will not change with the level change of the test signal.

[0101] Processor 440 is used to output a power supply signal to interface c10 of drive circuit 430 through interface d30 when the level of the response signal received by interface d20 changes with the level of the test signal sent by interface d10; and to output a power supply stop signal to interface c10 of drive circuit 430 through interface d30 when the level of the response signal received by interface d20 does not change with the level of the test signal sent by interface d10.

[0102] For the explanation of the preset level signal, the power supply signal and the power supply stop signal, please refer to the aforementioned embodiment and will not be repeated here.

[0103] The driving circuit 430 is used for, when the interface C10 receives a power supply signal, the interface C20 applies a voltage that can drive the input-output circuit 410 to work, so that the input-output circuit 110 is powered on and works. And when the interface C10 receives a stop power supply signal, the interface C20 stops applying the voltage that can drive the input-output circuit 110 to work, stops supplying power to the input-output circuit 410, and makes the input-output circuit 410 powered off and not working.

[0104] The input-output circuit 410 includes at least one relay unit, each of which includes a pair of control interfaces, a pair of normally closed interfaces, and at least one pair of normally open interfaces. One end of the control interface (i.e., control interface a30) is connected to the interface c20 of the drive circuit 430 to receive the power supply voltage of the drive circuit 430, and the other end of the control interface is grounded (not connected to the ground). Figure 4 One end of the normally closed interface is used as the test interface a20 of the input / output circuit 410, and the other end of the normally closed interface is grounded (not shown in FIG. Figure 4 One end of at least one pair of normally open interfaces serves as the input interface a10 of the input-output circuit 410 , and the other end of the pair of normally open interfaces serves as the output interface A10 of the input-output circuit 410 .

[0105] When the interface c20 of the driving circuit 430 applies the supply voltage to the control interface a30 of the input-output circuit 410, the input-output circuit 410 is powered on and works, and its normally open interface is closed, so that the connection channel between the input interface a10 and the output interface A10 is closed, and the signal is output from the output interface A10 of the input-output circuit 410. When the interface c20 of the driving circuit 430 stops applying the supply voltage to the control interface a30 of the input-output circuit 410, the input-output circuit 410 is powered off and does not work, and its normally open interface returns to the open state, and the connection channel between the input interface a10 and the output interface A10 is disconnected, so that the signal cannot be output from the output interface A10 of the input-output circuit 410.

[0106] Below Figure 5a , Figure 5b and Figure 5c In practical applications, the input-output circuit 410 may also adopt other implementations, which are not described one by one in this embodiment.

[0107] See also Figure 5a , which shows a structural schematic diagram when the input-output circuit 410 includes a relay unit, the input-output circuit 410 includes a relay unit 1, and the relay unit 1 includes a pair of control interfaces (1, 1'), a pair of normally closed interfaces (2, 2') and two pairs of normally open interfaces (3, 3') and (4, 4').

[0108] Interface 4 and interface 3 of relay unit 1 are respectively used as input interfaces a10 and a11 of input-output circuit 410, and interface 4' and interface 3' are respectively used as output interfaces A10 and A11 of input-output circuit 410; the switch between normally open interfaces (3, 3') is a controllable connection channel between input interface a11 and output interface A11; the switch between normally open interfaces (4, 4') is a controllable connection channel between input interface a10 and output interface A10. Interface 2 is used as interface a30 to be tested of input-output circuit 410; interface 1 is used as control interface a20 connected to interface c20 of drive circuit 430, and interface 1' and interface 2' are grounded.

[0109] It should be noted that, in other embodiments, the relay unit 1 may be provided with a suitable number of pairs of input interfaces and output interfaces according to the needs of the signal. Figure 5a Only one implementation mode is shown, and no specific limitation is made here. The number of normally open interfaces and normally closed interfaces in the relay unit 1 can also be changed according to the usage scenario, and no specific limitation is made here. Also, the number of interfaces to be tested in the relay unit 1 can also be set to multiple according to the safety considerations of the scenario, and no specific limitation is made here.

[0110] See also Figure 5b, which shows a schematic diagram of the structure when the input-output circuit 410 includes two relay units, and the input-output circuit 410 includes a relay unit 1 and a relay unit 2. The relay unit 1 includes a pair of control interfaces (1, 1'), a pair of normally closed interfaces (2, 2') and two pairs of normally open interfaces (3, 3') and (4, 4'); the relay unit 2 includes a pair of control interfaces (11, 11'), a pair of normally closed interfaces (22, 22') and two pairs of normally open interfaces (33, 33') and (44, 44').

[0111] Interface 4 and interface 3 of relay unit 1 are respectively used as input interfaces a10 and a11 of input-output circuit 410, interface 4' and interface 3' are respectively connected to interface 44 and interface 33 of relay unit 2, and interface 44' and interface 33' of relay unit 2 are respectively used as output interfaces A10 and A11 of input-output circuit 410; the switch connected in series between normally open interfaces (3, 33') is a controllable connection channel between input interface a11 and output interface A11; the switch connected in series between normally open interfaces (4, 44') is a controllable connection channel between input interface a10 and output interface A10. Interface 2 of relay unit 1 is used as interface a30 to be tested of input-output circuit 410; interface 22 of relay unit 2 is used as interface a31 to be tested of input-output circuit 410; interface 1 and interface 11 are connected to drive circuit 430 as control interfaces a20 and a21, and interface 1', interface 2', interface 11' and interface 22' are grounded.

[0112] It should be noted that in Figure 5b In the implementation mode, the input-output circuit 410 is connected in series with two relay units through a normally open interface. In other implementation modes, the input-output circuit 410 is also connected in series with multiple relay units through a normally open interface, and the connection mode of each relay unit interface is the same as Figure 5b Similarly, no specific limitation is imposed on the number of relay units connected in series.

[0113] See also Figure 5c , which shows a schematic diagram of the structure when the input-output circuit 410 includes two relay units, and the input-output circuit 410 includes relay unit 1, relay unit 2 and relay unit 3. Relay unit 1 includes a pair of control interfaces (1, 1'), a pair of normally closed interfaces (2, 2') and three pairs of normally open interfaces (3, 3'), (4, 4') and (5, 5'); relay unit 2 includes a pair of control interfaces (11, 11'), a pair of normally closed interfaces (22, 22') and two pairs of normally open interfaces (33, 33') and (44, 44'); relay unit 3 includes a pair of control interfaces (111, 111'), a pair of normally closed interfaces (222, 222') and three pairs of normally open interfaces (333, 333'), (444, 444') and (555, 555').

[0114] Interface 4 and interface 3 of relay unit 1 serve as input interfaces a10 and a11 of input-output circuit 410, respectively; interface 4' and interface 3' of relay unit 1 are connected to interface 44 and interface 33 of relay unit 2, respectively; interface 44' and interface 43' of relay unit 2 are connected to interface 444 and interface 433 of relay unit 3, respectively; and interface 444' and interface 333' of relay unit 3 serve as output interfaces A10 and A11 of input-output circuit 410, respectively; the switch connected in series between the normally open interfaces (3, 333') serves as a controllable connection channel between input interface a11 and output interface A11; the switch connected in series between the normally open interfaces (4, 444') serves as a controllable connection channel between input interface a10 and output interface A10. Interface 2 of relay unit 1 serves as interface a30 to be tested of input-output circuit 410; interface 222 of relay unit 3 serves as interface a31 to be tested of input-output circuit 410; interface 22 of relay unit 2 serves as interface a32 to be tested of input-output circuit 410. Interface 1 and interface 11 are connected to drive circuit 430 as control interfaces a20 and a21 of input-output circuit 410, and interface 1', interface 2', interface 11' and interface 22' are grounded. Interface 5 of relay unit 1 is connected to a power source for supplying power to relay unit 2, interface 5' of relay unit 1 is connected to interface 11 of relay unit 2, interface 11' of relay unit 2 is connected to interface 555' of relay unit 3, and interface 555 of relay unit 3 is grounded. When relay unit 1 and relay unit 3 work at the same time, the power on interface 5 is applied to both ends (11, 11') of the control interface of relay unit 2 through the normally open switches closed by relay unit 1 and relay unit 3. At this time, relay unit 2 also starts to work, and the switches between the input interface and the output interface are all closed, so that the output signal is output. When one of the three relay units does not work, the connection channel between the input interface and the output interface is disconnected, and the output signal cannot be output.

[0115] It should be noted that the signal connected between the interface 5 and the interface 555 may be a signal generated by the processor 440 or a signal output by a DC power supply, which is not specifically limited here.

[0116] This implementation is different from Figure 5b The simple series connection in the input-output circuit 410 controls the operation of the intermediate relay unit through the relay unit close to the input interface and the output interface, making the output signal more reliable. Figure 5a to Figure 5c The input-output circuit 410 shown in FIG. 1 is a circuit diagram of a relay unit 410, each of which can be combined with the above-mentioned Figures 2 to 4 Each circuit in the signal output control device shown in any of the accompanying drawings, or for the signal output control device including the above Figure 5cThe signal output control device of the input-output circuit 410 shown in the figure can adopt the control method of the dual processor, and the relay unit 1 and the relay unit 3 are respectively connected to the above Figure 3a The first test circuit 121 in the relay unit 2 is connected to the above Figure 3a The second inspection circuit 122 in.

[0117] Figure 4 The inspection circuit 420 in the signal output control device shown in FIG. 4 can have multiple implementations. Figure 6 The test circuit 420 is implemented by using a photoelectric component and a resistor component as an example. In practical applications, the test circuit 420 may also adopt other implementations, which are not described one by one in this embodiment.

[0118] The test circuit 420 includes at least one Figure 6 The test circuit shown includes a third optoelectronic component 601, a fourth optoelectronic component 602, a first resistor component 603, a second resistor component 604, a third resistor component 605 and a fourth resistor component 606. The test interface b30 of the test circuit 420 includes a positive test interface b30+ and a negative test interface b30-.

[0119] The third optoelectronic component 601 includes a positive input terminal 1, a negative input terminal 2 and two output terminals 3 and 4, and the fourth optoelectronic component 602 includes a positive input terminal 1, a negative input terminal 2 and two output terminals 3 and 4. When the positive input terminal 1 of the two optoelectronic components is a high-level signal and the negative input terminal 2 is a low-level signal, the output terminals 4 and 3 are turned on so that the level signals of the output terminals 3 and 4 are consistent; when the input terminal does not meet the requirement that the positive input terminal 1 is a high-level signal and the negative input terminal 2 is a low-level signal, the output terminals 4 and 3 are not turned on. It should be noted that the optoelectronic component can be replaced by other components or circuits with two input control terminals and two controlled output terminals, such as a relay with four ports, etc., which is not specifically limited here.

[0120] The positive input terminal 1 of the third photoelectric component 601 is connected in series with the first resistor component 603 as the positive test interface b30+ of the inspection circuit 420. The positive test interface b30+ is connected to the power supply terminal of the relay unit (which can drive the power supply terminal of the input-output circuit 410) through the fourth resistor component 606. Figure 4 a30 in the figure); the negative input terminal 2 of the third optoelectronic component 601 is connected to the output terminal 4 of the fourth optoelectronic component 602, and the output terminal 3 of the fourth optoelectronic component 602 is the negative test interface b30- of the inspection circuit 420.

[0121] The output terminal 4 of the third optoelectronic component 601 is connected in series with the second resistor component 604 and then connected to the first power supply terminal of the processor. At the same time, the output terminal 4 of the third optoelectronic component 601 also serves as the output interface b20 of the inspection circuit 420, and the output interface b20 is connected to the interface d20 of the processor 440; the output terminal 3 of the third optoelectronic component 601 is grounded.

[0122] The positive input terminal 1 of the fourth photoelectric component 602 is connected in series with the third resistor component 605 and then connected to the second power supply terminal of the processor. The negative input terminal 2 of the fourth photoelectric component 602 serves as the input interface b10 of the inspection circuit 420 and is connected to the interface d10 of the processor 440. The first power supply terminal of the processor and the second power supply terminal of the processor are two power supply voltages provided by the processor, and the two power supply voltages are different.

[0123] when Figure 6 When the negative test interface b30- of the test circuit in the ground, Figure 6 The inspection circuit is a relay inspection circuit for inspecting the relay unit in the input-output circuit 410. One relay inspection circuit is connected to one relay unit. The number of relay inspection circuits is not more than the number of relay units. Figure 3a , Figure 3b and Figure 3c The first inspection circuit 121 can be used Figure 6 The relay test circuit shown is implemented. The working principle of the relay test circuit is as follows: when the positive test interface b30+ is at a high level, the level of the output interface b20 of the relay test circuit is consistent with the level of the input interface b10. If the level of the input interface b10 changes, the level of the output interface b20 also changes; when the positive test interface b30+ is at a low level, no matter whether the input interface b10 is at a high level or a low level, the output terminals 4 and 3 of the third optoelectronic component 601 will not be turned on, so that the output interface b20 remains at a high level.

[0124] The connection relationship between the relay test circuit and the relay unit is as follows: one end of one of the normally closed interfaces of the relay unit is connected to the positive test interface b30+ of the relay test circuit; the other end of the normally closed interface of the relay unit is grounded. One end of the normally closed interface of the relay unit connected to the positive test interface b30+ is an interface a20 to be tested of the input-output circuit 410.

[0125] Specifically, if the relay unit is in the power supply working state, the normally closed interface is opened, so that the positive test interface b30+ is at a high level, and the negative test interface b30- is grounded at a low level. At this time, whether the positive input terminal 1 and the negative input terminal 2 of the third photoelectric component 601 can be turned on depends on whether the output terminal 4 and the output terminal 3 of the fourth photoelectric component 602 are turned on. When the test signal received by the input interface b10 of the relay test circuit is at a low level, the positive input terminal 1 and the negative input terminal 2 of the fourth photoelectric component 602 are turned on, so that the output terminals 4 and 3 of the fourth photoelectric component 602 are also turned on; the output terminals 4 and 3 of the fourth photoelectric component 602 are also turned on, so that the negative input terminal 2 of the third photoelectric component 601 is grounded, so that the output terminals 4 and 3 of the third photoelectric component 601 are also turned on, and the output interface b20 of the relay test circuit is grounded through the output terminals 4 and 3 of the third photoelectric component 601, so that the response signal output by the output interface b20 is at a low level. Similarly, it can be deduced that if the relay unit is in the power supply working state, when the test signal received by the input interface b10 of the relay test circuit is at a high level, the response signal of the output interface b20 of the relay test circuit is also at a low level.

[0126] If the relay unit is in a power-off state, the normally closed interface is closed, so that the positive test interface b30+ is at a low level, and the negative test interface b30- is grounded at a low level. At this time, no matter whether the test signal received by the input interface b10 of the relay test circuit is at a high level or a low level, the positive input terminal 1 and the negative input terminal 2 of the third optoelectronic component 601 are at a low level and cannot be turned on, so that the response signal of the output interface b20 of the relay test circuit remains at a high level.

[0127] when Figure 6 When the positive test interface b30+ and the negative test interface b30- of the inspection circuit in are connected to different test interfaces of the input-output circuit 410 respectively, Figure 6 The inspection circuit is a back-check circuit. Figure 3a , Figure 3b and Figure 3c The second inspection circuit 122 in can be implemented using the back-check circuit. Different test interfaces of the input-output circuit 410 connected to the back-check circuit can be interfaces on different relay units. The working principle of the back-check circuit is as follows: when the positive test interface b30+ is at a high level and the negative test interface b30- is at a low level, the level of the output interface b20 of the back-check circuit is consistent with the level of the input interface b10. When the level of the input interface b10 changes, the level of the output interface b20 also changes; when the positive test interface b30+ is at a low level or the negative test interface b30- is at a high level, no matter whether the input interface b10 is at a high level or a low level, the output terminals 4 and 3 of the third optoelectronic component 601 will not be turned on, so that the output interface b20 remains at a high level. Based on this, the back-check circuit can be used to inspect two interfaces to be tested with opposite levels in the input-output circuit.

[0128] Assume that the structure of the input-output circuit 410 is as follows Figure 5c As shown, the connection relationship between the back-check circuit and the input-output circuit 410 is as follows: the positive test interface b30+ is connected to the normally open interface 5 of the relay unit 1 connected to the power supply terminal for driving the second relay unit, and the negative test interface b30- is connected to the normally open interface 555 of the relay unit 3, and the normally open interface 555 is grounded. The normally open interface 5 of the relay unit 1 and the normally open interface 555 of the relay unit 3 are the interfaces to be tested of the input-output circuit 430.

[0129] It should be noted that the test circuit 420 may include multiple relay test circuits and / or multiple return test circuits. The input interfaces and output interfaces of different test circuits may be connected to different interfaces of different processors, or different interfaces of the same processor, which is not specifically limited here.

[0130] Figure 4 The driving circuit 430 in the signal output control device shown in FIG. 4 can have multiple implementations. Figure 7a and Figure 7b Take the example of a drive circuit implemented by an optoelectronic component and a resistor component. The input interface c10 of the drive circuit includes an interface c11 and an interface c12, and the interface c11 and the interface c12 are connected to the interface d31 and the interface d32 of the processor respectively. One of the interfaces d31 and d32 corresponds to Figure 4 The interface d30 of the processor 440, and the other interface corresponding to Figure 4 Another interface of the processor 440, or the interface d31 and the interface d32 correspond to the interface d30 of different processors 440. In practical applications, the inspection circuit 420 may also adopt other implementations, which are not described one by one in this embodiment.

[0131] See also Figure 7a , which shows an optional structural schematic diagram of the driving circuit 430, including a first optoelectronic component 701, a second optoelectronic component 702, a fifth resistor component 703 and a sixth resistor component 704.

[0132] The first optoelectronic component 701 includes a positive input terminal 1, a negative input terminal 2 and two output terminals 4 and 3, and the second optoelectronic component 702 includes a positive input terminal 1, a negative input terminal 2 and two output terminals 4 and 3. Figure 7a and Figure 7b Two connection modes of the driving circuit 430 are introduced respectively:

[0133] like Figure 7aAs shown, the positive input terminal 1 of the first optoelectronic component 701 is connected to the first power supply terminal of the processor, the negative input terminal 2 of the first optoelectronic component 701 is connected to one end of the fifth resistor component 703, the other end of the fifth resistor component 703 is connected to the interface d31 of the processor as an input interface c11 of the driving circuit 430, the output terminal 4 of the first optoelectronic component 701 is connected to the power supply terminal (i.e., the relay unit power supply terminal) that can drive the input-output circuit 410, and the output terminal 3 of the first optoelectronic component 701 is connected to the output terminal 4 of the second optoelectronic component 702. The positive input terminal 1 of the second optoelectronic component 702 is connected to one end of the sixth resistor component 704, the other end of the sixth resistor component 704 is connected to the interface d32 of the processor as an input interface c12 of the driving circuit 430, the negative input terminal 2 of the second optoelectronic component 702 is grounded, and the output terminal 3 of the second optoelectronic component 702 is connected to the control interface a30 of the input-output circuit 410 as the output interface c20 of the driving circuit 430, so as to supply power to the input-output circuit 410 through the output interface c20.

[0134] Specifically, the input interfaces c11 and c12 of the driving circuit 430 receive signals sent by the interfaces d31 and d32 respectively. When the input interface c11 receives a low-level signal and the input interface c12 receives a high-level signal, the output terminals 4 and 3 of the first photoelectric component 701 are turned on and the output terminals 4 and 3 of the second photoelectric component 702 are turned on, so that the voltage at the power supply terminal of the relay unit supplies power to the input-output circuit 410 through the output interface c20. Therefore, in this embodiment, when the interface d31 sends a low-level signal and the interface d32 sends a high-level signal, the driving circuit supplies power to the input-output circuit. Therefore, the power supply signal of the processor is: the interface d31 sends a low-level signal and the interface d32 sends a high-level signal. Otherwise, the power supply stop signal of the processor is: the interface d31 sends a high-level signal or the interface d32 sends a low-level signal.

[0135] Figure 7bAnother optional structure of the driving circuit 430 is shown, wherein the positive input terminal 1 of the first photoelectric component 701 is connected to the interface d31 of the processor as the input interface c11 of the driving circuit 430, the negative input terminal 2 of the first photoelectric component 701 is grounded through the fifth resistor component 703, the output terminal 4 of the first photoelectric component 701 is connected to the power supply terminal (i.e., the relay unit power supply terminal) that can drive the input-output circuit 410, and the output terminal 3 of the first photoelectric component 701 is connected to the output terminal 4 of the second photoelectric component 702. The positive input terminal 1 of the second photoelectric component 702 is connected to the first power supply terminal of the processor through the sixth resistor component 704, the negative input terminal 2 of the second photoelectric component 702 is connected to the interface d32 of the processor as the input interface c12 of the driving circuit 430, and the output terminal 3 of the second photoelectric component 702 is connected to the control interface a30 of the input-output circuit 410 as the output interface c20 of the driving circuit 430, so as to supply power to the input-output circuit 410 through the output interface c20.

[0136] Specifically, the input interfaces c11 and c12 of the driving circuit 430 receive signals sent by the interfaces d31 and d32 respectively. When the input interface c11 receives a high-level signal and the input interface c12 receives a low-level signal, the output terminals 4 and 3 of the first photoelectric component 701 are turned on, and the output terminals 4 and 3 of the second photoelectric component 702 are turned on, so that the voltage at the power supply terminal of the relay unit supplies power to the input-output circuit 410 through the output interface c20. Therefore, in this embodiment, when the interface d31 sends a high-level signal and the interface d32 sends a low-level signal, the input-output circuit is powered. Therefore, the power supply signal of the processor is: the interface d31 sends a high-level signal and the interface d32 sends a low-level signal; otherwise, the power supply stop signal of the processor is: the interface d31 sends a low-level signal or the interface d32 sends a high-level signal.

[0137] To facilitate further understanding of the working process of the signal output control device provided by the present invention, the working process of the signal output control device is described below in conjunction with specific application embodiments.

[0138] See also Figure 8-9 , Figure 10a-10b , Figure 11a-11b , Figure 12a-12b and Figure 13a-13b , which shows an implementation method of a signal output control device, shows the specific structure of each circuit of the device and the schematic diagram of the connection between each circuit. The signal output control device includes an input and output circuit, a processor, a drive circuit and a test circuit.

[0139] See also Figure 8, which shows a schematic diagram of the structure of the input-output circuit of this embodiment, the input-output circuit includes relay unit 1, relay unit 2 and relay unit 3. Each relay unit includes a pair of control interfaces, a pair of normally closed interfaces and three pairs of normally open interfaces, wherein the interface pairs (1, 1'), (11, 11') and (111, 111') are control interface pairs; the interface pairs (2, 2'), (22, 22') and (222, 222') are normally closed interface pairs; (3, 3'), (4, 4'), (5, 5'), (33, 33'), (44, 44'), (55, 55'), (333, 333'), (444, 444') and (555, 555') are normally open interface pairs.

[0140] The processor of the signal output control device provided in this embodiment adopts a dual CPU control mode, such as Fig. 9 As shown, the processor includes CPU1 and CPU2, where each CPU includes 8 IO interfaces (IO1-IO8), two power supply interfaces (such as 3.3V and 5V, 5V can be regarded as the first power supply terminal of the processor, and 3.3V can be regarded as the second power supply terminal of the processor) and a ground interface. It should be noted that Fig. 9 Only the interfaces used in the signal output here are marked. CPU1 and CPU2 may have many interfaces that are not drawn.

[0141] The driving circuit of this embodiment is as follows Fig.10a and 10b As shown, Fig.10a The figure shows the driving circuit of relay unit 1. Fig.10b is the driving circuit of the relay unit 3. The test circuit of this embodiment includes the relay test circuit of the relay unit 1 (such as Fig.11a ), the relay test circuit of relay unit 3 (such as Fig.11b ), the check circuit of relay unit 1 and relay unit 3 (such as Fig.12a and Figure 12b ), the relay test circuit of relay unit 2 (such as Fig.13a and 13b ). The interfaces to be tested of the input-output circuit of this embodiment include interface 2 of relay unit 1, interface 5 of relay unit 1, interface 22 of relay unit 2, interface 222 of relay unit 3, and interface 555 of relay unit 3.

[0142] Under normal circumstances, relay unit 1, relay unit 2 and relay unit 3 are all in the state of being powered and working, and the output interfaces A' and B' of the input-output circuit output the signals input from the input interfaces A and B. At this time, interface 2 of relay unit 1 is at a high level, interface 5 of relay unit 1 is at a high level, interface 22 of relay unit 2 is at a high level, interface 222 of relay unit 3 is at a high level, and interface 555 of relay unit 3 is at a low level. In the case of no interference, the level signal of the interface to be tested of the input-output circuit will remain unchanged.

[0143] If the system where the signal output control device is located is affected by the external environment, causing signal disturbances in some circuit interfaces (for example, in thunderstorms, lightning strikes may cause electromagnetic disturbances to the system; or sudden changes in system load may cause voltage jumps in some circuit interfaces, etc.), it will cause the level signals of one or more interfaces to be tested in the input and output circuits to change, and the level signals of its output interfaces A' and B' are likely to be disturbed. In order to prevent the transmission of possible erroneous signals, the output signal should be stopped immediately.

[0144] When interference is detected, the working process of the signal output control device is as follows: Assume that only the level of interface 2 of relay unit 1 changes, and the high level changes to a low level. Then the test circuit of relay unit 1 ( Fig.11a ) The response signal output to the IO4 interface of CPU1 becomes high level, and the response signal will no longer change with the level change of the test signal output by the IO3 interface of CPU1. After CPU1 receives the response signal which is always high level, the IO1 interface of CPU1 changes from low level signal to high level signal, making the drive circuit of relay unit 1 ( Fig.10a ) no longer supplies power to the interface 1 of the relay unit 1, and the relay unit 1 is powered off; and / or, the IO2 interface of the CPU 1 changes from a high-level signal to a low-level signal, so that the drive circuit of the relay unit 3 ( Fig.10b ) no longer supplies power to the interface 111 of the relay unit 3, and the relay unit 3 is powered off. The power failure of the relay unit 1 and / or the relay unit 3 causes the relay unit 2 to also be powered off, and eventually causes the connection path between the input interface and the output interface of the input-output circuit to be disconnected, that is, the normally open switches between the input interfaces A and B and the output interfaces A' and B' are all opened.

[0145] In this embodiment, after the connection and coordination of the above circuits, when the response signal output by the inspection circuit does not meet the requirements, the connection channel between the input interface and the output interface of the input-output circuit is promptly cut off, and the signal received by the input-output circuit will not be output. If the above test signal and input signal are interfered with, the response signal will not meet the requirements, and the signal output is prohibited at this time; only when it is determined that the response signal output by the inspection circuit meets the requirements, the signal is output, which ensures that the output signal is safe and reliable, thereby ensuring the normal and stable operation of the vehicle. At the same time, the above signal output control device can be applied to different types of signal output control, and has good portability, availability and stability.

[0146] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the circuits may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0147] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0148] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A signal output control device, characterized in that: It includes an input-output circuit, a driving circuit, a test circuit and a processor; wherein the processor is connected to the test circuit and the driving circuit respectively, and the input-output circuit is connected to the driving circuit; The inspection circuit is used to receive the test signal of the processor and output a response signal corresponding to the test signal; the state of the components in the inspection circuit can change between the two states of on and off, and the inspection circuit outputs a response signal according to the change of the state of the components, wherein the test signal and the response signal are low-level signals, or level signals of a series of logical changes; the processor is used to output a power supply signal to the drive circuit when the level of the response signal changes with the level change of the test signal; and output a stop power supply signal to the drive circuit when the level of the response signal does not change with the level change of the test signal; The driving circuit is configured to supply power to the input-output circuit when receiving the power supply signal; and stop supplying power to the input-output circuit when receiving the stop power supply signal; The input-output circuit comprises an input interface and an output interface, and when the driving circuit supplies power to the input-output circuit, a connection channel between the input interface and the output interface is turned on; and when the driving circuit stops supplying power to the input-output circuit, the connection channel between the input interface and the output interface is turned off; A switch component is connected between the input interface of the input-output circuit and the output interface of the input-output circuit. When the drive circuit supplies power to the input-output circuit, the switch component is closed; and when the drive circuit stops supplying power to the input-output circuit, the switch component is opened.

2. The device according to claim 1, characterized in that The processor includes a first processor and a second processor; the first processor and the second processor are connected to the inspection circuit and the driving circuit respectively; The first processor is used to send a first test signal to the inspection circuit and receive a first response signal from the inspection circuit; The second processor is used to send a second test signal to the inspection circuit and receive a second response signal from the inspection circuit; The first processor is further configured to output a power supply signal to the drive circuit when the level of the first response signal changes with the change of the level of the first test signal, and output a power supply stop signal to the drive circuit when the level of the first response signal does not change with the change of the level of the first test signal; The second processor is further configured to output a power supply signal to the driving circuit when the level of the second response signal changes with the change of the level of the second test signal; and the level of the second response signal does not change with the change of the level of the second test signal, and outputs a power supply stop signal to the driving circuit; The driving circuit is specifically configured to supply power to the input-output circuit when receiving a power supply signal from the first processor and a power supply signal from the second processor; And when receiving a stop power supply signal from the first processor or a stop power supply signal from the second processor, stopping supplying power to the input-output circuit.

3. The device according to claim 2, characterized in that The inspection circuit includes a first inspection circuit and / or a second inspection circuit; The first inspection circuit includes a first input interface, a first output interface and a first test interface; The first input interface receives the first test signal or the second test signal, and the first test interface is connected to a first interface to be tested of the input-output circuit; When the level signal received by the first test interface is a preset level signal, the level of the response signal output by the first output interface changes with the level change of the test signal received by the first input interface; And when the level signal received by the first test interface is not a preset level signal, the level of the response signal output by the first output interface does not change with the level change of the test signal received by the first input interface; The second inspection circuit includes a second input interface, a second output interface, a second test interface and a third test interface; The second input interface receives the first test signal or the second test signal, the second test interface is connected to the second interface to be tested of the input-output circuit, and the third test interface is connected to the third interface to be tested of the input-output circuit; When the level signals received by the second test interface and the third test interface are both corresponding preset level signals, the level of the response signal output by the second output interface will change with the level change of the test signal received by the second input interface; And when the level signal received by at least one of the second test interface and the third test interface is not a preset level signal, the level of the response signal output by the second output interface will not change with the level change of the test signal received by the second input interface.

4. The device according to claim 1, characterized in that The inspection circuit comprises an input interface, an output interface and a test interface; the input interface of the inspection circuit receives a test signal of the processor, and the test interface is connected to an interface to be tested of the input and output circuit; When the level signal received by the test interface is a preset level signal, the level of the response signal output by the output interface of the inspection circuit will change with the level change of the test signal, and when the level signal received by the test interface is not a preset level signal, the level of the response signal output by the output interface of the inspection circuit will not change with the level change of the test signal.

5. The device according to claim 4, characterized in that The input-output circuit includes at least one relay unit, and the relay unit includes a pair of control interfaces, a pair of normally closed interfaces and at least one pair of normally open interfaces; wherein, One end of the control interface is connected to the drive circuit for receiving the power supply voltage of the drive circuit, and the other end of the control interface is grounded; One end of the normally closed interface serves as the interface to be tested of the input-output circuit, and the other end of the normally closed interface is grounded; One end of one pair of normally open interfaces in the at least one pair of normally open interfaces serves as the input interface of the input-output circuit, and the other end of the pair of normally open interfaces serves as the output interface of the input-output circuit.

6. The device according to claim 5, characterized in that The inspection circuit includes at least one relay inspection circuit for inspecting the relay unit, one relay inspection circuit is connected to one relay unit, the number of the relay inspection circuits is no more than the number of the relay units, and the connection relationship between the relay unit and the relay inspection circuit is as follows: One end of the normally closed interface of the relay unit is connected to the test interface of the relay test circuit to which the relay unit is connected; the other end of the normally closed interface of the relay unit is grounded; One end of the normally closed interface of the relay unit connected to the test interface of the inspection circuit connected to the relay unit is an interface to be tested of the input-output circuit.

7. The device according to claim 5, characterized in that The at least one relay unit includes a first relay unit, a second relay unit and a third relay unit, and the drive circuit includes a first drive circuit for supplying power to the first relay unit and a second drive circuit for supplying power to the third relay unit; wherein, One end of the control interface of the first relay unit is connected to the power supply end of the first drive circuit, and the other end of the control interface of the first relay unit is grounded; One end of a pair of normally open interfaces of the first relay unit is connected to a power supply end for driving the second relay unit, the other end of the normally open interface of the first relay unit is connected to one end of a control interface of the second relay unit, the other end of the control interface of the second relay unit is connected to one end of a pair of normally open interfaces of the third relay unit, and the other end of the normally open interface of the third relay unit is grounded; One end of the control interface of the third relay unit is connected to the power supply end of the second drive circuit, and the other end of the control interface of the third relay unit is grounded; At least one pair of normally open interfaces of the first relay unit, the second relay unit and the third relay unit are connected in series to form a connection channel between the input interface of the input-output circuit and the output interface of the input-output circuit.

8. The device according to claim 7, characterized in that The inspection circuit includes a back-check circuit, and the test interface of the back-check circuit includes a positive test interface and a negative test interface; The positive test interface is connected to one end of the normally open interface of the first relay unit connected to the power supply end for driving the second relay unit, and the negative test interface is connected to the ground end of the normally open interface of the third relay unit; One end of the normally open interface of the first relay unit connected to the power supply end for driving the second relay unit and the ground end of the normally open interface of the third relay unit are interfaces to be tested of the input-output circuit.

9. The device according to any one of claims 1 to 3, characterized in that The inspection circuit includes a third photoelectric component, a fourth photoelectric component, a first resistor component, a second resistor component and a third resistor component; the third photoelectric component includes a positive input terminal, a negative input terminal and two output terminals, and the fourth photoelectric component includes a positive input terminal, a negative input terminal and two output terminals; The positive input end of the third photoelectric component is connected in series with the first resistor component as the positive test interface of the inspection circuit; the negative input end of the third photoelectric component is connected to an output end of the fourth photoelectric component, and the other output end of the fourth photoelectric component is the negative test interface of the inspection circuit; The first IO interface of the processor and one output end of the third photoelectric component are connected in series with a second resistor component and then connected to the first power supply end of the processor, and at the same time, one output end of the third photoelectric component also serves as the output interface of the inspection circuit, and the other output end of the third photoelectric component is grounded; The positive input terminal of the fourth photoelectric component is connected in series with the third resistor component and then connected to the second power supply terminal of the processor. The negative input terminal of the fourth photoelectric component serves as the input interface of the inspection circuit. The power supply voltages of the first power supply terminal and the second power supply terminal are different.

Citation Information

Patent Citations

  • Signal output control equipment

    CN211741402U