Communication circuit and communication control system
By designing a communication circuit including main control components, communication control circuits and logic conversion circuits, the problem of low reliability of communication control circuits in the prior art is solved, and the effect of avoiding erroneous data outgoing in the intelligent driving system is achieved, and the safety of the system is improved.
Patent Information
- Application Number
- CN202421452827.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2034-06-24
AI Technical Summary
In the prior art, the communication control circuit of the intelligent driving system is low, which causes the domain controller to be unable to send accurate control signals, which in turn causes the signal transceiver to be unable to be turned off in time, causing erroneous data to be sent out, affecting the safety of the intelligent driving system.
A communication circuit is designed, including a main control component, a communication control circuit, a first logic conversion circuit and a signal transmission and reception component. The main control component generates communication request signals and fault signals, and combines external control signals to generate communication control signals to ensure that erroneous data outgoing is avoided when the main control component fails.
It effectively improves the reliability of the communication circuit, avoids the problem of erroneous data outgoing when the main control component fails, and ensures the safety of the intelligent driving system.
Smart Images

Figure CN222839677U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication control technology, and in particular to a communication circuit and a communication control system. Background Art
[0002] With the continuous development of automobile intelligence, intelligent driving has evolved from low-level assisted driving functions to high-level autonomous driving. Therefore, the intelligent driving system has put forward higher requirements for safety. Usually, the intelligent driving system needs to rely on highly reliable communication links to realize information exchange and collaborative operation between the vehicle and external equipment. The reliability of the intelligent driving system communication has an important impact on the safety of the intelligent driving system.
[0003] In the prior art, a communication control circuit is usually added between the domain controller and the signal transceiver, and the domain controller sends a corresponding control signal to the communication control circuit to achieve communication control of intelligent driving; however, in actual applications, the domain controller may be unable to send accurate control signals to the communication control circuit, which may result in the failure to shut down the signal transceiver in time, causing erroneous data to be sent out, affecting the safety of the intelligent driving system. That is, the reliability of the communication control circuit in the prior art is low.
[0004] There is no effective solution to the problem of low reliability of the communication control circuit in the prior art. Utility Model Content
[0005] Based on this, it is necessary to provide a communication circuit and a communication control system to address the above technical problems.
[0006] In a first aspect, the present application provides a communication circuit, the communication circuit comprising: a main control component, a communication control circuit, a first logic conversion circuit and a signal transceiver component;
[0007] The main control component is connected to the communication control circuit and the first input end of the first logic conversion circuit respectively, and is used to generate a communication request signal and transmit the communication request signal to the first logic conversion circuit; and is also used to generate a fault signal and transmit the fault signal to the communication control circuit;
[0008] The communication control circuit is connected to the second input terminal of the first logic conversion circuit, and is used to receive an external control signal, and generate a communication control signal according to the fault signal and the external control signal;
[0009] The output end of the first logic conversion circuit is connected to the signal transceiver component, and is used to convert the communication request signal and the communication control signal into a communication signal, and transmit the communication signal to the signal transceiver component;
[0010] The signal transceiver component is used to forward the communication signal to the outside.
[0011] In one embodiment, the communication control circuit includes a second logic conversion circuit and a switch circuit;
[0012] The first input end of the second logic conversion circuit is connected to the main control component, the second input end of the second logic conversion circuit is connected to the external control signal, and the output end of the second logic conversion circuit is connected to the input end of the switch circuit, and is used to generate a switch control signal according to the fault signal and the external control signal, and transmit the switch control signal to the switch circuit;
[0013] The output end of the switch circuit is connected to the second input end of the first logic conversion circuit, and is used to turn on or off the switch circuit according to the switch control signal, and generate a communication control signal according to the on and off of the switch circuit.
[0014] In one embodiment, the second logic conversion circuit includes an AND gate circuit;
[0015] The first input end of the AND gate circuit is connected to the main control component, the second input end of the AND gate circuit is connected to the external control signal, and the output end of the AND gate circuit is connected to the input end of the switch circuit.
[0016] In one embodiment, the switch circuit includes: a switch tube, a capacitor and a first resistor;
[0017] The first end of the switch tube is connected to the output end of the second logic conversion circuit, the second end of the switch tube is connected to the external power supply via the first resistor, and the third end of the switch tube is grounded;
[0018] The capacitor is connected between the first end of the switch tube and the third end of the switch tube;
[0019] The second input end of the first logic conversion circuit is connected to a connection point between the second end of the switch tube and the first resistor.
[0020] In one embodiment, the switch tube is a triode;
[0021] The base of the transistor is connected to the output end of the second logic conversion circuit, the collector of the transistor is connected to an external power supply via the first resistor, and the emitter of the transistor is grounded.
[0022] In one of the embodiments, the first logic conversion circuit includes an OR gate circuit;
[0023] The first input end of the OR gate circuit is connected to the main control component, the second input end of the OR gate circuit is connected to the communication control circuit, and the output end of the OR gate circuit is connected to the signal transceiver component.
[0024] In one of the embodiments, the communication circuit further comprises: a monitoring circuit;
[0025] The input end of the monitoring circuit is connected to the connection point of the communication control circuit and the second input end of the first logic conversion circuit, and the output end of the monitoring circuit is connected to the main control component for feeding back the communication control signal to the main control component.
[0026] In one of the embodiments, the monitoring circuit includes a voltage divider circuit;
[0027] The voltage divider circuit is used to perform voltage division processing on the communication control signal and feed back the divided communication control signal to the main control component.
[0028] In one embodiment, the voltage divider circuit includes a second resistor and a third resistor;
[0029] One end of the second resistor is connected to the output end of the communication control circuit, and the other end of the second resistor is connected to the main control component;
[0030] One end of the third resistor is connected to a connection point between the second resistor and the main control component, and the other end of the third resistor is grounded.
[0031] In a second aspect, the present application further provides a communication control system, the communication control system comprising an external power supply, an external control component, and the communication circuit described in any one of the embodiments of the first aspect above;
[0032] The external power supply is used to supply power to the communication circuit;
[0033] The external control component is connected to the communication circuit and is used to monitor the main control component of the communication circuit, generate an external control signal, and transmit the external control signal to the communication circuit.
[0034] The above-mentioned communication circuit and communication control system, the communication circuit includes: a main control component, a signal transceiver component, a communication control circuit and a first logic conversion circuit; the main control component is respectively connected to the first input end of the communication control circuit and the first logic conversion circuit, for generating a communication request signal, and transmitting the communication request signal to the first logic conversion circuit; it is also used to generate a fault signal, and transmit the fault signal to the communication control circuit; the communication control circuit is connected to the second input end of the first logic conversion circuit, for accessing an external control signal, and generating a communication control signal according to the fault signal and the external control signal; the output end of the first logic conversion circuit is connected to the signal transceiver component, for converting the communication request signal and the communication control signal into a communication signal, and transmitting the communication signal to the signal transceiver component; the signal transceiver component is used to forward the communication signal to the outside; based on the communication control circuit and the first logic conversion circuit, reliable control of the communication circuit can be achieved, effectively avoiding the problem of erroneous data being sent out when the main control component fails or the main control component cannot send an accurate fault signal, thereby improving the reliability of the communication circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 is an overall structural diagram of a communication circuit in one embodiment;
[0037] Figure 2 is an overall structural diagram of a communication circuit in another embodiment;
[0038] Figure 3 is a schematic diagram of a communication circuit in one embodiment;
[0039] Figure 4 is an overall structural diagram of a communication circuit in another embodiment;
[0040] Figure 5 1 is a timing diagram of communication circuit fault detection in one embodiment.
[0041] Description of reference numerals:
[0042] 100, main control component; 200, communication control circuit; 300, first logic conversion circuit; 400, signal transceiver component; 210, second logic conversion circuit; 220, switch circuit; 500, monitoring circuit. DETAILED DESCRIPTION
[0043] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.
[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0045] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
[0046] It is understood that the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc., if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other. It is understood that "at least one" means one or more, "plurality" means two or more. "At least part of the element" means part or all of the element.
[0047] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.
[0048] In one embodiment, Figure 1 As shown, Figure 1 The overall structure diagram of the communication circuit in one embodiment; the communication circuit includes: a main control component 100, a communication control circuit 200, a first logic conversion circuit 300 and a signal transceiver component 400;
[0049] The main control component 100 is connected to the communication control circuit 200 and the first input terminal of the first logic conversion circuit 300 respectively, and is used to generate a communication request signal and transmit the communication request signal to the first logic conversion circuit 300; and is also used to generate a fault signal and transmit the fault signal to the communication control circuit 200;
[0050] The communication control circuit 200 is connected to the second input terminal of the first logic conversion circuit 300, and is used to receive an external control signal, and generate a communication control signal according to the fault signal and the external control signal;
[0051] The output end of the first logic conversion circuit 300 is connected to the signal transceiver component 400, and is used to convert the communication request signal and the communication control signal into a communication signal, and transmit the communication signal to the signal transceiver component 400;
[0052] The signal transceiver component 400 is used to forward the communication signal to the outside.
[0053] Among them, the main control component 100 includes a main control chip; the main control chip can be but is not limited to MCU (MicroController Unit), which is not specifically limited here; the main control component 100 is used to generate a communication request signal; wherein the communication request signal is a data sending signal; based on the communication request signal, corresponding data can be sent to an external controller or an external device to achieve information interaction; the main control component 100 is also used to generate a fault signal and transmit the fault signal to the communication control circuit 200; wherein the fault signal includes a low-level signal and a high-level signal; when the main control component 100 fails, the fault signal is a low-level signal; when the main control component 100 is normal, the fault signal is a high-level signal.
[0054] Among them, the communication control circuit 200 is used to access the external control signal and generate the communication control signal according to the fault signal and the external control signal; wherein, the external control signal is generated by the external control component and is used to realize the multi-channel control of the communication control circuit 200, laying the foundation for improving the reliability of the communication circuit; the external control component can be but not limited to a power management chip, a watchdog chip, or other control chips, which are not specifically limited here; for example, when the external control component is a watchdog chip, based on the watchdog chip, it can monitor the fault state of the main control component 100 to generate a corresponding external control signal; when the watchdog chip detects that the main control component 100 is faulty, it generates an external control signal, i.e., a low-level signal; when the watchdog chip detects that the main control component 100 is normal, it generates an external control signal, i.e., a high-level signal; similarly, when the external control component is a power management chip, the power management chip can also be used to monitor the fault state of the main control component 100, and then generate a corresponding external control signal according to the fault state of the main control component 100, which will not be repeated here. The communication control signal includes a high level signal and a low level signal; for example, when the main control component 100 can send an accurate fault signal, when the main control component 100 fails, the main control component 100 generates a fault signal, at which time the fault signal is a low level signal, and the external control signal is a low level signal, and the communication control circuit 200 generates a communication control signal, i.e., a high level signal, according to the fault signal, i.e., the low level signal and the external control signal, i.e., the low level signal; when the main control component 100 is normal, the main control component 100 generates a fault signal, at which time the fault signal is a high level signal, and the external control signal is a high level signal, and the communication control circuit 200 generates a communication control signal, i.e., a low level signal, according to the fault signal, i.e., the high level signal and the external control signal, i.e., the high level signal. When the main control component 100 cannot send an accurate fault signal and the main control component has a fault, at which time the external control component detects the fault of the main control component 100 and generates an external communication external control signal, i.e., a low level signal, and the communication control circuit 200 generates a communication control signal, i.e., a high level signal, according to the external control signal, i.e., the low level signal.
[0055] The first logic conversion circuit 300 is used to convert the communication request signal and the communication control signal into a communication signal, and transmit the communication signal to the signal transceiver component 400; wherein, according to the state of the communication signal, it can ensure that when the main control component 100 fails, erroneous data is not sent out. The signal transceiver component 400 includes a signal transceiver; the signal transceiver can be, but is not limited to, a CAN signal transceiver, which is not specifically limited here.
[0056] For example, in the case where the main control component 100 can send an accurate fault signal, assuming that the external control component is a watchdog chip, when the main control component 100 fails, the main control component 100 generates a fault signal, i.e., a low-level signal, and transmits the fault signal, i.e., the low-level signal, to the communication control circuit 200; at the same time, the watchdog chip detects the failure of the main control component 100, generates an external control signal, i.e., a low-level signal, and transmits the external control signal, i.e., the low-level signal, to the communication control circuit 200; the communication control circuit 200 generates a communication control signal, i.e., a high-level signal, based on the fault signal, i.e., the low-level signal and the external control signal, i.e., the low-level signal, and transmits the communication control signal, i.e., the high-level signal, to the first logic conversion circuit 300; the first logic conversion circuit 300 generates a communication signal based on the communication control signal, i.e., the high-level signal, and the communication request signal, and at this time the communication signal is a normally high-level signal; further, the communication signal, i.e., the normally high-level signal, is transmitted to the signal transceiver component 400, so that the signal transceiver component 400 stops forwarding data to the outside. When the main control component 100 is normal, the main control component 100 generates a fault signal, i.e. a high-level signal, and transmits the fault signal, i.e. the high-level signal, to the communication control circuit 200; at the same time, the watchdog chip detects that the main control component 100 is normal, generates an external control signal, i.e. a high-level signal, and transmits the external control signal, i.e. the high-level signal, to the communication control circuit 200; the communication control circuit 200 generates a communication control signal, i.e. a low-level signal, according to the fault signal, i.e. the high-level signal and the external control signal, i.e. the high-level signal, and transmits the communication control signal, i.e. the low-level signal, to the first logic conversion circuit 300; the first logic conversion circuit 300 generates a communication signal according to the communication control signal, i.e. the low-level signal, and the communication request signal, at which time, the communication signal changes accordingly with the state of the communication request signal; further, the communication signal, i.e. the signal that changes accordingly with the state of the communication request signal, is transmitted to the signal transceiver component 400, and the communication signal is forwarded to the outside through the signal transceiver component 400.
[0057] It should be noted that, when the main control component 100 is unable to generate an accurate fault signal, the external control component can generate a corresponding external control signal according to the fault state of the main control component 100, so as to directly control the communication control circuit 200 to generate an accurate communication control signal through the external control signal. Based on this, the problem of the main control component 100 being unable to generate an accurate fault signal leading to the external transmission of erroneous data can be avoided.
[0058] In this embodiment, based on the communication control circuit 200 and the first logic conversion circuit 300, a reliable and accurate communication signal can be generated according to the fault signal, the external control signal and the communication request signal. Based on this, the problem of sending erroneous data to the outside when the main control component 100 fails can be effectively avoided. At the same time, based on the external control signal, the problem of communication abnormality caused by the inability of the main control component 100 to generate an accurate fault signal can be avoided, thereby effectively improving the reliability of the communication circuit.
[0059] In one embodiment, Figure 2 As shown, Figure 2 It is an overall structural diagram of a communication circuit in another embodiment; the communication control circuit 200 includes a second logic conversion circuit 210 and a switch circuit 220;
[0060] The first input end of the second logic conversion circuit 210 is connected to the main control component 100, the second input end of the second logic conversion circuit 210 is connected to the external control signal, and the output end of the second logic conversion circuit 210 is connected to the input end of the switch circuit 220, and is used to generate a switch control signal according to the fault signal and the external control signal, and transmit the switch control signal to the switch circuit 220;
[0061] The output end of the switch circuit 220 is connected to the second input end of the first logic conversion circuit 300 , and is used to turn on or off the switch circuit 220 according to the switch control signal, and generate a communication control signal according to the on and off of the switch circuit 220 .
[0062] Among them, the second logic conversion circuit 210 is used to generate a switch control signal according to a fault signal and an external control signal; wherein the switch control signal is used to control the state of the switch circuit 220; the switch circuit 220 has a conduction characteristic; the state of the switch circuit 220 includes an on state and an off state; according to the on and off of the switch circuit 220, a corresponding communication control signal can be generated; for example, when the switch circuit 220 is turned on, the communication control signal is a low-level signal; when the switch circuit 220 is turned off, the communication control signal is a high-level signal.
[0063] For example, taking the case where the main control component 100 can send an accurate fault signal as an example, assuming that the external control component is a watchdog chip, when the main control component 100 fails, the main control component 100 generates a fault signal, i.e., a low-level signal; at the same time, the watchdog chip detects the failure of the main control component 100 and generates an external control signal, i.e., a low-level signal; the second logic conversion circuit 210 generates a switch control signal, i.e., a low-level signal, according to the fault signal, i.e., the low-level signal and the external control signal, i.e., the low-level signal, and controls the switch circuit 220 to be in the off state through the switch control signal, i.e., the low-level signal. At this time, the communication control signal generated by the switch circuit 220 is a high-level signal. When the main control component 100 is normal, the main control component 100 generates a fault signal, i.e., a high-level signal; at the same time, the watchdog chip detects that the main control component 100 is normal, and generates an external control signal, i.e., a high-level signal; the second logic conversion circuit 210 generates a switch control signal, i.e., a high-level signal, according to the fault signal, i.e., the high-level signal and the external control signal, i.e., the high-level signal, and controls the switch circuit 220 to be in the on state through the switch control signal, i.e., the high-level signal. At this time, the communication control signal generated by the switch circuit 220 is a low-level signal.
[0064] In this embodiment, based on the second logic conversion circuit 210, the fault signal and the external control signal, a reliable switch control signal can be generated, so that the switch circuit 220 can be reliably turned on or off based on the switch control signal, so that the switch circuit 220 generates an accurate and reliable communication control signal, laying a foundation for improving the reliability and safety of the communication circuit.
[0065] In one embodiment, see Figure 3 , the second logic conversion circuit 210 includes an AND gate circuit;
[0066] The first input end of the AND gate circuit is connected to the main control component 100 , the second input end of the AND gate circuit is connected to the external control signal, and the output end of the AND gate circuit is connected to the input end of the switch circuit 220 .
[0067] Preferably, the switch circuit 220 includes: a switch tube Q1, a capacitor C1 and a first resistor R1;
[0068] A first end of the switch tube Q1 is connected to the output end of the second logic conversion circuit 210, a second end of the switch tube Q1 is connected to the external power supply VCC via the first resistor R1, and a third end of the switch tube Q1 is grounded;
[0069] The capacitor C1 is connected between the first end of the switch tube Q1 and the third end of the switch tube Q1;
[0070] The second input terminal of the first logic conversion circuit 300 is connected to a connection point between the second terminal of the switch tube Q1 and the first resistor R1 .
[0071] Preferably, the switch tube Q1 is a triode;
[0072] The base of the transistor is connected to the output end of the second logic conversion circuit 210 , the collector of the transistor is connected to the external power supply VCC via the first resistor R1 , and the emitter of the transistor is grounded.
[0073] Among them, the AND gate circuit is used to generate a corresponding switch control signal according to the fault signal and the external control signal; the switch tube Q1 has a conduction characteristic; the state of the switch tube Q1 includes a conduction state and an off state; when the switch tube Q1 is a triode, the first end of the switch tube Q1 is the base of the triode; the second end of the switch tube Q1 is the collector of the triode; the third end of the switch tube Q1 is the emitter of the triode; preferably, the triode is an NPN type triode.
[0074] Among them, the first resistor R1 is a pull-up resistor, used to connect the second end of the switch tube Q1 to the external power supply VCC; the capacitor C1 is a filter capacitor, used to ensure the stability of the level of the first end of the switch tube Q1; it should be noted that the resistance value of the first resistor R1 and the capacitance value of the capacitor C1 need to be set according to the performance of the switch tube Q1, and are not specifically limited here. The external power supply VCC is used to provide power to the switch tube Q1; the external power supply VCC can be, but is not limited to, a power supply provided by an external power supply device or an external power supply chip, and is not specifically limited here.
[0075] For example, see Figure 3 , taking the case where the main control component 100 can send an accurate fault signal as an example, assuming that the external control component is a watchdog chip, the main control chip in the main control component 100 is an MCU, and the switch tube Q1 is an NPN transistor; when the main control component 100 fails, the main control component 100 generates a fault signal, i.e., a low-level signal; at the same time, the watchdog chip detects the failure of the main control component 100 and generates an external control signal, i.e., a low-level signal; the AND gate circuit generates a switch control signal, i.e., a low-level signal, according to the fault signal, i.e., a low-level signal and the external control signal, i.e., a low-level signal. At this time, the base of the transistor is at a low level, the transistor is turned off, the collector of the transistor is disconnected from the emitter, and the collector is pulled up by the external power supply VCC, generating a communication control signal, i.e., a high-level signal. When the main control component 100 is normal, the main control component 100 generates a fault signal, i.e. a high-level signal; at the same time, the watchdog chip detects that the main control component 100 is normal, and generates an external control signal, i.e. a high-level signal; the AND gate circuit generates a switch control signal, i.e. a high-level signal, according to the fault signal, i.e. a high-level signal and the external control signal, i.e. a high-level signal. At this time, the base of the transistor is a high-level transistor, the transistor is turned on, the collector and emitter of the transistor are turned on and connected to the ground, and the communication control signal generated is a low-level signal.
[0076] It can be understood that based on the AND gate circuit, when the main control component 100 fails, even if the main control component 100 cannot generate an accurate fault signal, i.e. a low-level signal, an accurate switch control signal, i.e. a low-level signal, can be generated through the external control signal, i.e. a low-level signal, thereby ensuring that the switch tube Q1 can be reliably turned off to generate an accurate communication control signal.
[0077] In this embodiment, based on the AND gate circuit and the conduction characteristics of the switch tube Q1, multi-channel control of the switch tube Q1 is implemented, thereby ensuring that when the main control component 100 fails, the switch tube Q1 is turned off in a timely and reliable manner, laying the foundation for avoiding the external transmission of erroneous data and improving the reliability and accuracy of the communication circuit.
[0078] In one embodiment, see Figure 3 , the first logic conversion circuit 300 includes an OR gate circuit;
[0079] The first input end of the OR gate circuit is connected to the main control component 100 , the second input end of the OR gate circuit is connected to the communication control circuit 200 , and the output end of the OR gate circuit is connected to the signal transceiver component 400 .
[0080] The OR gate circuit is used to generate a communication signal according to the communication control signal and the communication request signal and transmit the communication signal to the signal transceiver component 400 .
[0081] For example, see Figure 3When the main control component 100 fails, the main control component 100 generates a fault signal which is a low-level signal; at the same time, the external control signal is a low-level signal; the communication control circuit 200 generates a communication control signal which is a high-level signal according to the fault signal, i.e., the low-level signal, and the external control signal, i.e., the low-level signal, and transmits the communication control signal, i.e., the high-level signal, to the OR gate circuit; the OR gate circuit generates a communication signal according to the communication control signal, i.e., the high-level signal, and the communication request signal, and at this time, the communication signal is a normally high-level signal; further, the communication signal, i.e., the normally-level signal, is transmitted to the signal transceiver component 400, so that the signal transceiver component 400 stops forwarding data to the outside. When the main control component 100 is normal, the main control component 100 generates a fault signal as a high level signal; at the same time, the external control signal is a high level signal; the communication control circuit 200 generates a communication control signal, i.e., a low level signal, according to the fault signal, i.e., a high level signal, and the external control signal, i.e., a high level signal, and transmits the communication control signal, i.e., a low level signal, to the OR gate circuit; the OR gate circuit generates a communication signal according to the communication control signal, i.e., a low level signal, and a communication request signal, at which time, the communication signal changes accordingly with the state of the communication request signal; further, the communication signal, i.e., a signal that changes accordingly with the state of the communication request signal, is transmitted to the signal transceiver component 400, and the communication signal is forwarded to the outside through the signal transceiver component 400. The communication circuit level logic relationship is shown in Table 1, in which "0" represents a low level signal; "1" represents a high level signal. It should be noted that in this embodiment, the main control chip in the main control component 400 is an MCU, and the signal transceiver component 400 is a CAN signal transceiver.
[0082] Table 1 Communication circuit level logic relationship table
[0083]
[0084] In this embodiment, based on the OR gate circuit, an accurate communication signal can be generated according to the communication control signal and the communication request signal and transmitted to the signal transceiver component 400, thereby avoiding the problem of sending erroneous data to the outside when the main control component 100 fails, and further improving the reliability of the communication circuit.
[0085] In one embodiment, see Figure 3 or Figure 4 , the communication circuit further includes: a monitoring circuit 500;
[0086] The input end of the monitoring circuit 500 is connected to the connection point of the communication control circuit 200 and the second input end of the first logic conversion circuit 300 , and the output end of the monitoring circuit 500 is connected to the main control component 100 for feeding back the communication control signal to the main control component 100 .
[0087] Preferably, the monitoring circuit 400 includes a voltage divider circuit;
[0088] The voltage divider circuit is used to perform voltage division processing on the communication control signal and feed back the divided communication control signal to the main control component 100 .
[0089] Preferably, the voltage divider circuit includes a second resistor R2 and a third resistor R3;
[0090] One end of the second resistor R2 is connected to the output end of the communication control circuit 200, and the other end of the second resistor R2 is connected to the main control component 100;
[0091] One end of the third resistor R3 is connected to a connection point between the second resistor R2 and the main control component 100 , and the other end of the third resistor R3 is grounded.
[0092] It should be noted that the input end of the monitoring circuit 500 is connected to the connection point of the communication control circuit 200 and the second input end of the first logic conversion circuit 300, and the level state of the communication control signal can be collected in real time, and the communication control signal can be fed back to the main control component 100. Based on this, the fault detection of the communication circuit is realized, and at the same time, the influence of the communication request signal on the accuracy or efficiency of fault detection can be effectively avoided, and the reliability and safety of the communication circuit are further improved. Among them, the influence of the communication request signal on the accuracy or efficiency of fault detection may be, for example, in the communication circuit test phase, because the communication request signal generated by the main control component 100 in the startup phase is in an uncontrolled state, that is, the communication request signal defaults to a high level signal, at this time, it is necessary to wait for the main control component 100 to be stable before generating a communication request signal that can be used for testing, resulting in low test efficiency, thereby affecting the efficiency of fault detection; or, in the communication circuit test phase, the communication request signal and the communication control signal used for testing cannot be synchronized, resulting in the existence of misdetection, thereby affecting the accuracy of fault detection. Based on the monitoring circuit 500, the influence of the above communication request signal on the fault detection accuracy or fault detection efficiency can be effectively avoided, the accuracy and efficiency of communication circuit fault detection are improved, and the reliability of communication fault detection is further improved.
[0093] Among them, the monitoring circuit 500 includes a voltage divider circuit, which is used to perform voltage division processing on the communication control signal, and feed back the divided communication control signal to the main control component 100 to realize fault detection of the communication circuit; wherein, the voltage divider circuit includes a second resistor R2 and a third resistor R3; the second resistor R2 and the third resistor R3 are both voltage divider resistors; the specific resistance values of the second resistor R2 and the third resistor R3 need to be set according to the performance of the main control component 100, and are not specifically limited here; it should be noted that when setting the specific resistance values of the second resistor R2 and the third resistor R3, it is necessary to ensure that the divided communication control signal is within the voltage tolerance range of the corresponding port of the main control component 100.
[0094] For example, when the main control component 100 fails, the main control component 100 generates a fault signal which is a low-level signal; at the same time, the external control signal is a low-level signal; the communication control circuit 200 generates a communication control signal which is a high-level signal according to the fault signal, i.e., the low-level signal, and the external control signal, i.e., the low-level signal; at this time, the communication control signal is divided by the voltage divider circuit, and the communication control signal after the voltage division is still a high-level signal, and the communication control signal after the voltage division is fed back to the main control component 100, so that the main control component 100 makes a corresponding judgment; in the main control component 1 00 is normal, the main control component 100 generates a fault signal as a high-level signal; at the same time, the external control signal is a high-level signal; the communication control circuit 200 generates a communication control signal, i.e. a low-level signal, according to the fault signal, i.e. a high-level signal, and the external control signal, i.e. a high-level signal. At this time, the communication control signal is divided by the voltage divider circuit, and the communication control signal after the voltage division is still a low-level signal. The communication control signal after the voltage division is fed back to the main control component 100, so that the main control component 100 makes a corresponding judgment, and based on this, the communication circuit fault detection is realized. The logical relationship of the communication circuit fault detection level is shown in Table 2, in which "0" represents a low-level signal; "1" represents a high-level signal; the communication circuit fault detection timing diagram is shown in Figure 5 It is understandable that if the divided communication control signal that the main control component 100 expects to receive is different from the divided communication control signal that it actually receives, it indicates that there is a fault in the communication circuit; otherwise, it indicates that the communication circuit is normal.
[0095] Table 2 Communication circuit fault detection level logic relationship table
[0096] Fault signal External control signal Communication control signal Communication control signal after voltage division 1 1 0 0 0 0 1 1
[0097] It should be noted that the communication circuit may have faults, for example, an open circuit fault at the fault signal output terminal of the main control component 100, or an open circuit fault in the communication control circuit 200, etc. Among them, the causes of the open circuit fault in the communication control circuit 200, for example, an open circuit fault in the second logic conversion circuit 210, a short circuit in the capacitor C1, an open circuit fault in the switch tube Q1, or a fault in the first resistor R1, etc.
[0098] In this embodiment, based on the monitoring circuit 500, fault detection of the communication circuit can be implemented; at the same time, the influence of the communication request signal on the accuracy of fault detection can be effectively avoided, further improving the reliability and safety of the communication circuit.
[0099] The above-mentioned communication circuit, on the one hand, can generate reliable and accurate communication signals based on the fault signal, external control signal and communication request signal based on the communication control circuit 200 and the first logic conversion circuit 300, based on which, can effectively avoid the problem of sending erroneous data to the outside when the main control component 100 fails; at the same time, based on the external control signal, can avoid the problem of abnormal communication caused by the main control component 100 being unable to generate an accurate fault signal, effectively improving the reliability of the communication circuit. On the second hand, based on the switch circuit 220, it can generate accurate and reliable communication control signals, laying the foundation for improving the reliability and safety of the communication circuit. On the third hand, based on the conduction characteristics of the AND gate circuit and the switch tube Q1, multi-channel control of the switch tube Q1 is realized, thereby ensuring that when the main control component 100 fails, the switch tube Q1 is turned off in a timely and reliable manner, laying the foundation for avoiding the external transmission of erroneous data, and improving the reliability and accuracy of the communication circuit. Fourthly, based on the OR gate circuit, it is possible to generate accurate communication signals according to the communication control signal and the communication request signal and transmit them to the signal transceiver component 400, thereby avoiding the problem of sending erroneous data when the main control component 100 fails, further improving the reliability of the communication circuit. Fifthly, based on the monitoring circuit 500, it is possible to implement fault detection of the communication circuit; at the same time, it is possible to effectively avoid the influence of the communication request signal on the accuracy of fault detection, further improving the reliability and safety of the communication circuit.
[0100] In one embodiment, a communication control system includes an external power supply, an external control component, and a communication circuit in any one of the above embodiments;
[0101] An external power supply for supplying power to the communication circuit;
[0102] The external control component is connected to the communication circuit, and is used to monitor the main control component 100 of the communication circuit, generate an external control signal, and transmit the external control signal to the communication circuit.
[0103] Among them, the external power supply can be, but is not limited to, a power supply provided by an external power supply device or an external power supply chip, which is not specifically limited here. The external control component can be, but is not limited to, a power management chip, a watchdog chip, or other control chips, which is not specifically limited here; for example, when the external control component is a watchdog chip, based on the watchdog chip, it can monitor the fault state of the main control component 100 to generate a corresponding external control signal; when the watchdog chip detects that the main control component 100 is faulty, it generates an external control signal, i.e., a low-level signal; when the watchdog chip detects that the main control component 100 is normal, it generates an external control signal, i.e., a high-level signal; similarly, when the external control component is a power management chip, the power management chip can also be used to monitor the fault state of the main control component 100, and then generate a corresponding external control signal according to the fault state of the main control component 100, which will not be repeated here.
[0104] In this embodiment, based on the reliability of the communication circuit, a foundation is laid for improving the reliability of the communication control system; based on the external control component, multi-channel control of the communication circuit can be achieved, further improving the reliability of the communication control system.
[0105] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic description of the above terms does not necessarily refer to the same embodiment or example.
[0106] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0107] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A communication circuit, characterized in that: The communication circuit includes: a main control component, a communication control circuit, a first logic conversion circuit and a signal transceiver component; The main control component is connected to the communication control circuit and the first input end of the first logic conversion circuit respectively, and is used to generate a communication request signal and transmit the communication request signal to the first logic conversion circuit; and is also used to generate a fault signal and transmit the fault signal to the communication control circuit; The communication control circuit is connected to the second input terminal of the first logic conversion circuit, and is used to receive an external control signal, and generate a communication control signal according to the fault signal and the external control signal; The output end of the first logic conversion circuit is connected to the signal transceiver component, and is used to convert the communication request signal and the communication control signal into a communication signal, and transmit the communication signal to the signal transceiver component; The signal transceiver component is used to forward the communication signal to the outside.
2. The communication circuit according to claim 1, characterized in that: The communication control circuit includes a second logic conversion circuit and a switch circuit; The first input end of the second logic conversion circuit is connected to the main control component, the second input end of the second logic conversion circuit is connected to the external control signal, and the output end of the second logic conversion circuit is connected to the input end of the switch circuit, and is used to generate a switch control signal according to the fault signal and the external control signal, and transmit the switch control signal to the switch circuit; The output end of the switch circuit is connected to the second input end of the first logic conversion circuit, and is used to turn on or off the switch circuit according to the switch control signal, and generate a communication control signal according to the on and off of the switch circuit.
3. The communication circuit according to claim 2, characterized in that: The second logic conversion circuit includes an AND gate circuit; The first input end of the AND gate circuit is connected to the main control component, the second input end of the AND gate circuit is connected to the external control signal, and the output end of the AND gate circuit is connected to the input end of the switch circuit.
4. The communication circuit according to claim 2, characterized in that: The switch circuit comprises: a switch tube, a capacitor and a first resistor; The first end of the switch tube is connected to the output end of the second logic conversion circuit, the second end of the switch tube is connected to the external power supply via the first resistor, and the third end of the switch tube is grounded; The capacitor is connected between the first end of the switch tube and the third end of the switch tube; The second input end of the first logic conversion circuit is connected to a connection point between the second end of the switch tube and the first resistor.
5. The communication circuit according to claim 4, characterized in that: The switch tube is a triode; The base of the transistor is connected to the output end of the second logic conversion circuit, the collector of the transistor is connected to an external power supply via the first resistor, and the emitter of the transistor is grounded.
6. The communication circuit according to claim 1, characterized in that: The first logic conversion circuit includes an OR gate circuit; The first input end of the OR gate circuit is connected to the main control component, the second input end of the OR gate circuit is connected to the communication control circuit, and the output end of the OR gate circuit is connected to the signal transceiver component.
7. The communication circuit according to claim 1, characterized in that: The communication circuit also includes: a monitoring circuit; The input end of the monitoring circuit is connected to the connection point of the communication control circuit and the second input end of the first logic conversion circuit, and the output end of the monitoring circuit is connected to the main control component for feeding back the communication control signal to the main control component.
8. The communication circuit according to claim 7, characterized in that: The monitoring circuit includes a voltage divider circuit; The voltage divider circuit is used to perform voltage division processing on the communication control signal and feed back the divided communication control signal to the main control component.
9. The communication circuit according to claim 8, characterized in that: The voltage divider circuit includes a second resistor and a third resistor; One end of the second resistor is connected to the output end of the communication control circuit, and the other end of the second resistor is connected to the main control component; One end of the third resistor is connected to a connection point between the second resistor and the main control component, and the other end of the third resistor is grounded.
10. A communication control system, characterized in that: The communication control system comprises an external power supply, an external control component and a communication circuit as claimed in any one of claims 1 to 9; The external power supply is used to supply power to the communication circuit; The external control component is connected to the communication circuit and is used to monitor the main control component of the communication circuit, generate an external control signal, and transmit the external control signal to the communication circuit.