Communication circuit and electronic equipment

Through the circuit design that converts SPI signals into CAN-FD signals, the problem of unstable communication between the driver monitoring system and the software configuration management system is solved, more stable communication is achieved, the workload of software engineers is reduced, and the computing resource occupation of the main control chip is reduced.

CN223067110UActive Publication Date: 2025-07-04KOSTAL SHANGHAI ELECTROMECHANICAL CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422116937.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2025-07-04
Estimated Expiration
2034-08-29

AI Technical Summary

Technical Problem

In the prior art, the communication between the driver monitoring system and the software configuration management system adopts the SPI protocol, resulting in poor communication signal transmission stability, high protocol complexity, and large workload, which in turn reduces the safety of automobile use.

Method used

A communication circuit is adopted, including a first conversion circuit for converting the SPI signal into a CAN signal, a second conversion circuit for converting the CAN signal into a CAN-FD specification signal, a CAN-FD network circuit for transmitting the CAN-FD specification signal, and a third conversion circuit for converting the CAN-FD specification signal into an output specification signal, bypassing the complex configuration and data identification and sorting of the SPI protocol, and using internal private CAN communication.

Benefits of technology

It enhances the communication stability between different modules, reduces the workload of software engineers, and reduces the computing resource usage of the main control chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223067110U_ABST
    Figure CN223067110U_ABST
Patent Text Reader

Abstract

The utility model discloses a communication circuit and electronic equipment, which are applied to the field of signal transmission. Wherein the communication circuit comprises a first conversion circuit for converting an SPI signal into a CAN signal, a second conversion circuit for converting the CAN signal into a CAN-FD specification signal, a CAN-FD network circuit for transmitting the CAN-FD specification signal, and a third conversion circuit for converting the CAN-FD specification signal into an output specification signal; the first end of the first conversion circuit is connected with the first end of the driver monitoring system, and the second end of the first conversion circuit is connected with the first end of the second conversion circuit; the second end of the second conversion circuit is connected with the first end of the CAN-FD network circuit, and the second end of the CAN-FD network circuit is connected with the first end of the third conversion circuit; and the second end of the third conversion circuit is connected with the first end of the software configuration management system. According to the invention, private CAN communication is used, so that the communication stability among different modules is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of signal transmission, in particular to a communication circuit and an electronic device. Background Art

[0002] With the development of automotive electronics intelligence and assisted driving, driver monitoring systems (DMS) for preventing traffic accidents caused by driver fatigue and distraction are increasing. In the existing designs, due to interface limitations of DMS products, the communication between the combined software configuration management system (SCM) generally uses the Serial Peripheral Interface (SPI) protocol. However, the SPI protocol has problems such as poor communication signal transmission stability, high protocol complexity, and large workload. This leads to unstable communication between the DMS and the SCM, thereby reducing the safety of vehicle use.

[0003] In view of the above technology, it is an urgent problem for those skilled in the art to seek a communication circuit. Summary of the Utility Model

[0004] The purpose of the utility model is to provide a communication circuit and an electronic device, which can solve the problems of poor communication signal transmission stability, high protocol complexity, and large workload caused by the use of the SPI protocol in the prior art.

[0005] To solve the above technical problems, the utility model provides a communication circuit, including: a first conversion circuit for converting SPI signals into CAN signals, a second conversion circuit for converting CAN signals into CAN-FD standard signals, a CAN-FD network circuit for transmitting CAN-FD standard signals, and a third conversion circuit for converting CAN-FD standard signals into output standard signals;

[0006] The first end of the first conversion circuit is connected to the first end of the driver monitoring system, and the second end of the first conversion circuit is connected to the first end of the second conversion circuit;

[0007] The second end of the second conversion circuit is connected to the first end of the CAN-FD network circuit, and the second end of the CAN-FD network circuit is connected to the first end of the third conversion circuit;

[0008] The second end of the third conversion circuit is connected to the first end of the software configuration management system.

[0009] Preferably, the first conversion circuit includes: a first conversion chip, a first resistor, a passive crystal oscillator, a first capacitor, and a second capacitor;

[0010] The clock signal pin, SPI serial input pin, SPI serial output pin, and detection signal pin of the first conversion chip together serve as the first end of the first conversion circuit and are connected to the first end of the driver monitoring system. The transmission signal pin and reception signal pin of the first conversion chip together serve as the second end of the first conversion circuit and are connected to the first end of the second conversion circuit;

[0011] The first end of the first resistor is connected to the introduction pin of the first conversion chip, the first end of the passive crystal oscillator, and the first end of the first capacitor. The second end of the first resistor is connected to the output pin of the first conversion chip, the second end of the passive crystal oscillator, and the first end of the second capacitor;

[0012] The second end of the first capacitor is connected to the third end of the passive crystal oscillator, the fourth end of the passive crystal oscillator, and the second end of the second capacitor, and is grounded.

[0013] Preferably, the first conversion circuit further includes: a third capacitor;

[0014] The first end of the third capacitor is connected to the power supply terminal and the power pin of the first conversion chip. The second end of the third capacitor is grounded.

[0015] Preferably, the second conversion circuit includes: a second conversion chip, a fourth capacitor;

[0016] The transmission port pin and reception port pin of the second conversion chip together serve as the first end of the second conversion circuit and are connected to the second end of the first conversion circuit. The CAN signal transmission pin and CAN signal reception pin of the second conversion chip together serve as the second end of the second conversion circuit and are connected to the first end of the CAN-FD network circuit;

[0017] The first end of the fourth capacitor is connected to the power pin of the second conversion chip and the power supply terminal. The second end of the fourth capacitor is grounded.

[0018] Preferably, the second conversion circuit further includes: a second resistor;

[0019] The first end of the second resistor is connected to the control pin of the second conversion chip. The second end of the second resistor is connected to the start pin of the second conversion chip and is grounded.

[0020] Preferably, the CAN-FD network circuit includes: a filtering circuit and a protection circuit;

[0021] The first end of the filtering circuit is connected to the second end of the second conversion circuit. The second end of the filtering circuit is connected to the first end of the protection circuit;

[0022] The second end of the protection circuit is connected to the first end of the third conversion circuit.

[0023] Preferably, the filtering circuit includes: a third resistor, a fourth resistor, and a common-mode inductor;

[0024] The first end of the third resistor, the first end of the common-mode inductor, the first end of the fourth resistor, and the second end of the common-mode inductor are jointly used as the first end of the filtering circuit and are connected to the second end of the second conversion circuit, and the first end of the third resistor is connected to the first end of the common-mode inductor, and the first end of the fourth resistor is connected to the second end of the common-mode inductor;

[0025] The second end of the third resistor, the third end of the common-mode inductor, the second end of the fourth resistor, and the fourth end of the common-mode inductor are jointly used as the second end of the filtering circuit and are connected to the first end of the protection circuit, and the second end of the third resistor is connected to the third end of the common-mode inductor, and the second end of the fourth resistor is connected to the fourth end of the common-mode inductor.

[0026] Preferably, the protection circuit includes: a fifth resistor, a sixth resistor, a fifth capacitor, a sixth capacitor, a seventh capacitor, and a constant-current diode group;

[0027] The first end of the fifth resistor, the first end of the constant-current diode group, the first end of the sixth capacitor, the first end of the sixth resistor, the second end of the constant-current diode group, and the first end of the seventh capacitor are jointly used as the first end of the protection circuit and are connected to the second end of the filtering circuit, and the first end of the fifth resistor, the first end of the constant-current diode group, the first end of the sixth capacitor, the first end of the sixth resistor, the second end of the constant-current diode group, and the first end of the seventh capacitor are jointly used as the second end of the protection circuit and are connected to the first end of the third conversion circuit;

[0028] Wherein, the first end of the fifth resistor is connected to the first end of the sixth capacitor and the first end of the constant-current diode group, and the second end of the fifth resistor is connected to the second end of the sixth resistor and the first end of the fifth capacitor;

[0029] The first end of the fifth capacitor is grounded;

[0030] The first end of the sixth resistor is connected to the second end of the constant-current diode group and the first end of the seventh capacitor;

[0031] The second end of the sixth capacitor is connected to the second end of the seventh capacitor and is grounded;

[0032] The third end of the constant-current diode group is grounded.

[0033] Preferably, the third conversion circuit includes: a third conversion chip, a seventh resistor, and an eighth capacitor;

[0034] The CAN signal transmission pin and the CAN signal reception pin of the third conversion chip are jointly used as the first end of the third conversion circuit and are connected to the second end of the CAN-FD network circuit, and the transmission port pin and the reception port pin of the third conversion chip are jointly used as the second end of the third conversion circuit and are connected to the first end of the software configuration management system;

[0035] The first end of the seventh resistor is connected to the control pin of the third conversion chip, and the second end of the seventh resistor is connected to the start pin of the third conversion chip and grounded.

[0036] The first end of the eighth capacitor is connected to the power pin of the third conversion chip and the power supply terminal, and the second end of the eighth capacitor is grounded.

[0037] On the other hand, the present application also provides an electronic device, including the above-mentioned communication circuit.

[0038] A communication circuit provided by the present utility model includes: a first conversion circuit for converting SPI signals into CAN signals, a second conversion circuit for converting CAN signals into CAN-FD standard signals, a CAN-FD network circuit for transmitting CAN-FD standard signals, and a third conversion circuit for converting CAN-FD standard signals into output standard signals; the first end of the first conversion circuit is connected to the first end of the driver monitoring system, and the second end of the first conversion circuit is connected to the first end of the second conversion circuit; the second end of the second conversion circuit is connected to the first end of the CAN-FD network circuit, and the second end of the CAN-FD network circuit is connected to the first end of the third conversion circuit; the second end of the third conversion circuit is connected to the first end of the software configuration management system. By using dedicated conversion circuits and internal private CAN communication, the present application bypasses the complex configuration and data identification and sorting work of the SPI protocol; enhances the communication stability between different modules, changes the complex protocol operations originally required by software engineers to automatic circuit conversion, reduces the workload of software engineers to a certain extent, and also reduces the occupation of computing resources of the main control chip. Description of the Drawings

[0039] In order to more clearly illustrate the embodiments of the present utility model, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present utility model. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0040] Figure 1 It is a structural diagram of a communication circuit provided by an embodiment of the present application;

[0041] Figure 2 It is a circuit diagram of the first conversion circuit provided by an embodiment of the present application;

[0042] Figure 3 It is a circuit diagram of the second conversion circuit and the CAN-FD network circuit provided by an embodiment of the present application;

[0043] Figure 4Circuit diagram of the third conversion circuit provided by the embodiment of the present application. Detailed implementation manners

[0044] Next, the technical solutions in the embodiments of the present utility model will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all the embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present utility model.

[0045] The core of the present utility model is to provide a communication circuit and an electronic device.

[0046] In order to enable those skilled in the art to better understand the solution of the present utility model, the present utility model will be further described in detail below with reference to the accompanying drawings and specific implementation manners.

[0047] To solve the above technical problems, the present application provides a communication circuit, as Figure 1 shown, including: a first conversion circuit 1 for converting an SPI signal into a CAN signal, a second conversion circuit 2 for converting the CAN signal into a CAN-FD standard signal, a CAN-FD network circuit 3 for transmitting the CAN-FD standard signal, and a third conversion circuit 4 for converting the CAN-FD standard signal into an output standard signal. In addition, Figure 1 it further includes: a driver monitoring system 5 and a software configuration management system 6. The specific connection relationship is: the first end of the first conversion circuit 1 is connected to the first end of the driver monitoring system 5, and the second end of the first conversion circuit 1 is connected to the first end of the second conversion circuit 2; the second end of the second conversion circuit 2 is connected to the first end of the CAN-FD network circuit 3, and the second end of the CAN-FD network circuit 3 is connected to the first end of the third conversion circuit 4; the second end of the third conversion circuit 4 is connected to the first end of the software configuration management system 6.

[0048] In a specific embodiment, the first conversion circuit 1 is used to connect the driver monitoring system 5 and the second conversion circuit 2. The function of the first conversion circuit is to convert the SPI signal of the driver detection system 5 itself into a CAN signal. Therefore, a chip for converting the SPI protocol to the CAN protocol is stored in the first conversion circuit. The second conversion circuit 1 is connected to the first conversion circuit 1 and the CAN-FD network circuit 3, and the CAN-FD network circuit 3 is used to connect the second conversion circuit 2 and the third conversion circuit 4. It mainly constitutes a transmission channel for CAN signals. Therefore, CAN signal transceiver chips, etc., exist in the second conversion circuit 2 and the third conversion circuit 4, which are dedicated to the reception and transmission between CAN communication protocols. The function of the CAN-FD network circuit 3 is to filter to ensure the stable transmission of CAN signals without interference. The signals in the communication circuit provided in this application are all CAN signals. It bypasses the complex configuration and data identification and sorting work of the SPI protocol as a whole, and the transmission of CAN signals is more stable than that of SPI signals, reducing the workload of software engineers in data processing as a whole.

[0049] It should be noted that the first conversion circuit 1, the second conversion circuit 2, the CAN-FD network circuit 3, and the third conversion circuit 4 are conventional circuits. Therefore, their specific structures can be set by the user according to their needs.

[0050] A communication circuit provided by the present utility model includes: a first conversion circuit for converting an SPI signal into a CAN signal, a second conversion circuit for converting a CAN signal into a CAN-FD standard signal, a CAN-FD network circuit for transmitting the CAN-FD standard signal, and a third conversion circuit for converting the CAN-FD standard signal into an output standard signal; the first end of the first conversion circuit is connected to the first end of the driver monitoring system, and the second end of the first conversion circuit is connected to the first end of the second conversion circuit; the second end of the second conversion circuit is connected to the first end of the CAN-FD network circuit, and the second end of the CAN-FD network circuit is connected to the first end of the third conversion circuit; the second end of the third conversion circuit is connected to the first end of the software configuration management system. By using a dedicated conversion circuit and using internal private CAN communication in this application, it bypasses the complex configuration and data identification and sorting work of the SPI protocol; enhances the communication stability between different modules, changes the originally complex protocol operations that need to be performed by software engineers to automatic circuit conversion, reduces the workload of software engineers to a certain extent, and also reduces the occupation of computing resources of the main control chip.

[0051] On the basis of the above embodiment, as a preferred embodiment, as Figure 2As shown in the figure, the first conversion circuit 1 includes: a first conversion chip U1, a first resistor R1, a passive crystal oscillator Q1, a first capacitor C1, a second capacitor C2, and a third capacitor C3. The connection relationship of its circuit is as follows: The clock signal pin (pin 10), SPI serial input pin (pin 11), SPI serial output pin (pin 12), and detection signal pin (pin 13) of the first conversion chip U1 together serve as the first end of the first conversion circuit 1 and are connected to the first end of the driver monitoring system 5. The transmit signal pin (pin 2) and receive signal pin (pin 1) of the first conversion chip U1 together serve as the second end of the first conversion circuit 1 and are connected to the first end of the second conversion circuit 2; The first end of the first resistor R1 is connected to the input pin (pin 5) of the first conversion chip U1, the first end of the passive crystal oscillator Q1, and the first end of the first capacitor C1. The second end of the first resistor R1 is connected to the output pin (pin 6) of the first conversion chip U1, the second end of the passive crystal oscillator Q1, and the first end of the second capacitor C2; The second end of the first capacitor C1 is connected to the third end of the passive crystal oscillator Q1, the fourth end of the passive crystal oscillator Q1, and the second end of the second capacitor C2, and is grounded; The first end of the third capacitor C3 is connected to the power supply terminal VDD and the power supply pin (pin 14) of the first conversion chip U1, and the second end of the third capacitor C3 is grounded.

[0052] In a specific embodiment, the signal sent by the driver monitoring system 5 is an SPI signal, which is converted into a CAN signal by the first conversion chip U1 in the first conversion circuit 1. And it is sent out through the signal sending pin (the second pin), and receives the data sent by the second conversion circuit 2 through the signal receiving pin (the first pin). The clock signal pin (the tenth pin), the SPI serial input pin (the eleventh pin), the SPI serial output pin (the twelfth pin), and the detection signal pin (the thirteenth pin) of the first conversion chip U1 serve as the interfaces for the SPI signal, receiving the data sent by the driver monitoring system 5. Among them, the clock signal pin (the tenth pin) of the first conversion chip U1 is used to synchronize the communication between the driver monitoring system 5 and the first conversion chip U1. The SPI serial input pin (the eleventh pin) of the first conversion chip U1 is for host output and slave input, and the first conversion chip U1 receives the data sent by the driver monitoring system 5 from here; the SPI serial output pin (the twelfth pin) of the first conversion chip U1 is for host input and slave output, and is used to send the data received by the first conversion chip U1 from the software configuration management system 6 to the driver monitoring system 5 after conversion. The detection signal pin (the thirteenth pin) of the first conversion chip U1 belongs to the chip select signal and serves as the switch for the communication between the driver monitoring system 5 and the first conversion chip U1. The third capacitor C3 serves as the power supply filtering capacitor of the first conversion chip U1, suppressing power supply noise and increasing the stability of the power supply and the operation of the first conversion chip U1. The first resistor R1, the passive crystal oscillator Q1, the first capacitor C1, and the second capacitor C2 form the clock reference source of the first conversion chip U1, with one end connected to the corresponding input pin (the fifth pin) and output pin (the sixth pin) of the first conversion chip U1, and the other end grounded. The function of this part is to give a clock signal to the first conversion chip U1 to help the entire first conversion chip U1 work properly. Among them, the first capacitor C1 and the second capacitor C2 serve as the matching capacitors of the passive crystal oscillator Q1, which can accurately generate the clock signal, and the first resistor R1 can help the passive crystal oscillator Q1 work properly. The third pin and the fourth pin of the first conversion chip U1 are the output pins for indicating the internal state of the chip, and the eighth pin and the ninth pin of the first conversion chip U1 are the spare CAN protocol transmission pins. These four pins are not used and no signals are connected.

[0053] Based on the above embodiment, as a preferred embodiment, such as Figure 3As shown in the figure, the second conversion circuit 2 includes: a second conversion chip U2, a fourth capacitor C4, and a second resistor R2. The specific connection relationship of its circuit is as follows: The transmission port pin (pin 1) and the reception port pin (pin 4) of the second conversion chip U2 are jointly used as the first end of the second conversion circuit and are connected to the second end of the first conversion circuit. The CAN signal transmission pin (pin 6) and the CAN signal reception pin (pin 7) of the second conversion chip U2 are jointly used as the second end of the second conversion circuit 2 and are connected to the first end of the CAN-FD network circuit 3. The first end of the fourth capacitor C4 is connected to the power supply pin (pin 3) of the second conversion chip U2 and the power supply terminal VDD, and the second end of the fourth capacitor C4 is grounded. The first end of the second resistor R2 is connected to the control pin (pin 8) of the second conversion chip U2, and the second end of the second resistor R2 is connected to the start pin (pin 9) of the second conversion chip U2 and is grounded.

[0054] Based on the above embodiments, as a preferred embodiment, as Figure 3As shown in the figure, the CAN-FD network circuit 3 includes: a filtering circuit and a protection circuit; the first end of the filtering circuit is connected to the second end of the second conversion circuit 2, and the second end of the filtering circuit is connected to the first end of the protection circuit; the second end of the protection circuit is connected to the first end of the third conversion circuit 4. Among them, the filtering circuit includes: a third resistor R3, a fourth resistor R4, and a common-mode inductor L1; the protection circuit includes: a fifth resistor R5, a sixth resistor R6, a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7, and a constant-current diode group D1. The specific connection relationship of its circuit is as follows: the first end of the third resistor R3, the first end of the common-mode inductor L1, the first end of the fourth resistor R4, and the second end of the common-mode inductor L1 together serve as the first end of the filtering circuit and are connected to the second end of the second conversion circuit 2, and the first end of the third resistor R3 is connected to the first end of the common-mode inductor L1, and the first end of the fourth resistor R4 is connected to the second end of the common-mode inductor L1; the second end of the third resistor R3, the third end of the common-mode inductor L1, the second end of the fourth resistor R4, and the fourth end of the common-mode inductor L1 together serve as the second end of the filtering circuit and are connected to the first end of the protection circuit, and the second end of the third resistor R3 is connected to the third end of the common-mode inductor L1, and the second end of the fourth resistor R4 is connected to the fourth end of the common-mode inductor L2. The first end of the fifth resistor R5, the first end of the constant-current diode group D1, the first end of the sixth capacitor C6, the first end of the sixth resistor R6, the second end of the constant-current diode group D1, and the first end of the seventh capacitor C7 together serve as the first end of the protection circuit and are connected to the second end of the filtering circuit, and the first end of the fifth resistor R5, the first end of the constant-current diode group D1, the first end of the sixth capacitor C6, the first end of the sixth resistor R6, the second end of the constant-current diode group D1, and the first end of the seventh capacitor C7 together serve as the second end of the protection circuit and are connected to the first end of the third conversion circuit 4; among them, the first end of the fifth resistor R5 is connected to the first end of the sixth capacitor C6 and the first end of the constant-current diode group D1, and the second end of the fifth resistor R5 is connected to the second end of the sixth resistor R6 and the first end of the fifth capacitor C5; the first end of the fifth capacitor C5 is grounded; the first end of the sixth resistor R6 is connected to the second end of the constant-current diode group D1 and the first end of the seventh capacitor C7; the second end of the sixth capacitor C6 is connected to the second end of the seventh capacitor C7 and is grounded; the third end of the constant-current diode group D1 is grounded.

[0055] In a specific embodiment, after the second conversion chip U2 receives the CAN signal from the first conversion chip U1 through the receiving port pin (pin 4), it converts the signal into a CAN-FD specification signal and outputs it through the transmitting pin (pin 6) and the CAN signal receiving pin (pin 7). The CAN-FD specification signal passes through the common-mode inductor L1, the third resistor R3, and the fourth resistor R4. The common-mode inductor L1 is used to suppress the interference of external signals on the CAN signal during long-distance transmission. The third resistor R3 and the fourth resistor R4 are used as standby resistors, and the third resistor R3 and the fourth resistor R4 are used to connect the filter circuit during short-distance transmission. The fifth resistor R5, the sixth resistor R6, the fifth capacitor C5, the sixth capacitor C6, and the seventh capacitor C7 form a matching circuit to balance the voltage fluctuations that occur during the transmission of the CAN-FD specification signal. The constant current diode group D1 is a bidirectional TVS tube, which is used for electrostatic protection of the CAN network to prevent the second conversion chip U2 and the third conversion circuit 4 from being damaged after being exposed to external static electricity. Among them, the fourth capacitor C4 is the power input filter capacitor of the second conversion chip U2, with one end connected to the power pin (pin 3) of the second conversion chip U2 and the power supply terminal VDD, and the other end grounded. The second resistor R2 is a mode setting resistor, and different resistance values are used to set the working mode of the second conversion chip U2.

[0056] Based on the above embodiment, as a preferred embodiment, as Figure 4 shown, the third conversion circuit 4 includes: a third conversion chip U3, a seventh resistor R7, and an eighth capacitor C8. The connection relationship of its circuit is as follows: The CAN signal transmitting pin (pin 6) and the CAN signal receiving pin (pin 7) of the third conversion chip U3 are jointly used as the first end of the third conversion circuit 4 and are connected to the second end of the CAN-FD network circuit 3. The transmitting port pin (pin 1) and the receiving port pin (pin 4) of the third conversion chip U3 are jointly used as the second end of the third conversion circuit 4 and are connected to the first end of the software configuration management system 6; the first end of the seventh resistor R7 is connected to the control pin (pin 8) of the third conversion chip U3, and the second end of the seventh resistor R7 is connected to the start pin (pin 8) of the third conversion chip U3 and is grounded; the first end of the eighth capacitor C8 is connected to the power pin (pin 3) of the third conversion chip U3 and the power supply terminal VDD, and the second end of the eighth capacitor C8 is grounded.

[0057] In a specific embodiment, after receiving the CAN-FD specification signal, chip U3 converts it into CAN message data recognizable by the SCM module, that is, outputs the specification signal, and sends it to the software configuration management system 6 through the transmission port pin (pin 1) of the third conversion chip U3. The receiving port pin (pin 4) of the third conversion chip U3 is used to receive the message data sent from the software configuration management system 6, and after converting it into a CAN-FD specification signal, it is sent to the second conversion chip U2 through the CAN signal transmission pin (pin 6) and the CAN signal receiving pin (pin 7). Capacitor C8 is a power input filter, which can make the third conversion chip U3 work more stably. The 3rd pin and the 5th pin of the third conversion chip are both power inputs, and after being connected to the power supply terminal VDD, the third conversion chip U3 can work properly. The seventh resistor R7 is a mode setting resistor, and the working mode of the third conversion chip U3 is set by different resistance values.

[0058] Therefore, in summary, by using a dedicated conversion chip and internal private CAN communication, this application bypasses the complex configuration and data identification and sorting work of the SPI protocol; enhances the communication stability between different modules, changes the complex protocol operations that originally required software engineers to circuit automatic conversion, reduces the workload of software engineers to a certain extent, and also reduces the occupation of computing resources of the main control chip.

[0059] On the other hand, this application also provides an electronic device, including the above-mentioned communication circuit, and having the same beneficial effects. The embodiments of the electronic device are the same as those of the above-mentioned communication circuit, so this application will not be elaborated here.

[0060] The above has introduced in detail a communication circuit and an electronic device provided by the present utility model. The embodiments in the specification are described in a progressive manner, and the key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present utility model, several improvements and modifications can be made to the present utility model, and these improvements and modifications also fall within the protection scope of the claims of the present utility model.

[0061] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.

Claims

1. A communication circuit, characterized in that, Comprising: A first conversion circuit for converting an SPI signal into a CAN signal, a second conversion circuit for converting the CAN signal into a CAN-FD standard signal, a CAN-FD network circuit for transmitting the CAN-FD standard signal, and a third conversion circuit for converting the CAN-FD standard signal into an output standard signal; A first end of the first conversion circuit is connected to a first end of a driver monitoring system, and a second end of the first conversion circuit is connected to a first end of the second conversion circuit; A second end of the second conversion circuit is connected to a first end of the CAN-FD network circuit, and a second end of the CAN-FD network circuit is connected to a first end of the third conversion circuit; A second end of the third conversion circuit is connected to a first end of a software configuration management system.

2. The communication circuit according to claim 1, wherein The first conversion circuit includes: a first conversion chip, a first resistor, a passive crystal oscillator, a first capacitor, and a second capacitor; A clock signal pin, an SPI serial input pin, an SPI serial output pin, and a detection signal pin of the first conversion chip together serve as a first end of the first conversion circuit and are connected to a first end of the driver monitoring system, and a transmit signal pin and a receive signal pin of the first conversion chip together serve as a second end of the first conversion circuit and are connected to a first end of the second conversion circuit; A first end of the first resistor is connected to an input pin of the first conversion chip, a first end of the passive crystal oscillator, and a first end of the first capacitor, and a second end of the first resistor is connected to an output pin of the first conversion chip, a second end of the passive crystal oscillator, and a first end of the second capacitor; A second end of the first capacitor is connected to a third end, a fourth end of the passive crystal oscillator, and a second end of the second capacitor, and is grounded.

3. The communication circuit according to claim 2, wherein The first conversion circuit further includes: a third capacitor; A first end of the third capacitor is connected to a power supply terminal and a power pin of the first conversion chip, and a second end of the third capacitor is grounded.

4. The communication circuit according to claim 1, characterized in that, The second conversion circuit includes: a second conversion chip, a fourth capacitor; A transmit port pin and a receive port pin of the second conversion chip together serve as a first end of the second conversion circuit and are connected to a second end of the first conversion circuit, and a CAN signal transmit pin and a CAN signal receive pin of the second conversion chip together serve as a second end of the second conversion circuit and are connected to a first end of the CAN-FD network circuit; A first end of the fourth capacitor is connected to a power pin of the second conversion chip and a power supply terminal, and a second end of the fourth capacitor is grounded.

5. The communication circuit according to claim 4, wherein The second conversion circuit further includes: a second resistor; A first end of the second resistor is connected to a control pin of the second conversion chip, and a second end of the second resistor is connected to a start pin of the second conversion chip and is grounded.

6. The communication circuit according to claim 1, wherein The CAN-FD network circuit includes: a filtering circuit and a protection circuit; A first end of the filtering circuit is connected to a second end of the second conversion circuit, and a second end of the filtering circuit is connected to a first end of the protection circuit; The second end of the protection circuit is connected to the first end of the third conversion circuit.

7. The communication circuit according to claim 6, wherein The filtering circuit includes: a third resistor, a fourth resistor, and a common-mode inductor; The first end of the third resistor, the first end of the common-mode inductor, the first end of the fourth resistor, and the second end of the common-mode inductor together serve as the first end of the filtering circuit and are connected to the second end of the second conversion circuit. Moreover, the first end of the third resistor is connected to the first end of the common-mode inductor, and the first end of the fourth resistor is connected to the second end of the common-mode inductor; The second end of the third resistor, the third end of the common-mode inductor, the second end of the fourth resistor, and the fourth end of the common-mode inductor together serve as the second end of the filtering circuit and are connected to the first end of the protection circuit. Moreover, the second end of the third resistor is connected to the third end of the common-mode inductor, and the second end of the fourth resistor is connected to the fourth end of the common-mode inductor.

8. The communication circuit according to claim 6, wherein The protection circuit includes: a fifth resistor, a sixth resistor, a fifth capacitor, a sixth capacitor, a seventh capacitor, and a constant-current diode group; The first end of the fifth resistor, the first end of the constant-current diode group, the first end of the sixth capacitor, the first end of the sixth resistor, the second end of the constant-current diode group, and the first end of the seventh capacitor together serve as the first end of the protection circuit and are connected to the second end of the filtering circuit. Moreover, the first end of the fifth resistor, the first end of the constant-current diode group, the first end of the sixth capacitor, the first end of the sixth resistor, the second end of the constant-current diode group, and the first end of the seventh capacitor together serve as the second end of the protection circuit and are connected to the first end of the third conversion circuit; Among them, the first end of the fifth resistor is connected to the first end of the sixth capacitor and the first end of the constant-current diode group, and the second end of the fifth resistor is connected to the second end of the sixth resistor and the first end of the fifth capacitor; The first end of the fifth capacitor is grounded; The first end of the sixth resistor is connected to the second end of the constant-current diode group and the first end of the seventh capacitor; The second end of the sixth capacitor is connected to the second end of the seventh capacitor and is grounded; The third end of the constant-current diode group is grounded.

9. The communication circuit according to claim 1, wherein The third conversion circuit includes: a third conversion chip, a seventh resistor, and an eighth capacitor; The CAN signal transmission pin and the CAN signal reception pin of the third conversion chip together serve as the first end of the third conversion circuit and are connected to the second end of the CAN-FD network circuit. The transmission port pin and the reception port pin of the third conversion chip together serve as the second end of the third conversion circuit and are connected to the first end of the software configuration management system; The first end of the seventh resistor is connected to the control pin of the third conversion chip, and the second end of the seventh resistor is connected to the start pin of the third conversion chip and is grounded; The first end of the eighth capacitor is connected to the power pin and the power supply end of the third conversion chip, and the second end of the eighth capacitor is grounded.

10. An electronic device, characterized in that, It includes the communication circuit according to any one of claims 1-9.