CAN (Controller Area Network) communication system and communication method using power network carrier transmission
Patent Information
- Application Number
- CN202411143947.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-08-20
Smart Images

Figure CN119071096A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this specification relate to the field of CAN communication, and in particular, to a CAN communication system and a communication method using power network carrier transmission. Background Art
[0002] In modern cars, the communication between the electronic control unit (ECU) and other electronic components is carried out through a dedicated communication network. One of the most commonly used communication networks is the controller area network (CAN, bus network), which plays an important role in automobiles. The CAN bus network allows multiple controllers (such as engine control unit, transmission control unit, body control module, etc.) to communicate with each other and share data to achieve overall coordination and functional optimization of the vehicle. In the prior art, the power supply network is generally a pure power supply network, which cannot be used as a transmission medium for communication. A separate communication network is used for communication, which makes the internal wiring of the vehicle complex, heavy, and costly.
[0003] Therefore, there is an urgent need for a CAN communication system that utilizes power network carrier transmission, which can integrate the power network and the communication network into one, simplify the internal wiring of the vehicle, and reduce the burden and cost of the vehicle. Summary of the invention
[0004] The purpose of the embodiments of this specification is to provide a CAN communication system and communication method using power network carrier transmission to combine the power network and the communication network into one, simplify the internal wiring of the vehicle, and reduce the burden and cost of the vehicle.
[0005] To achieve the above-mentioned object, on the one hand, an embodiment of this specification provides a CAN communication system using a power network carrier transmission, including: a CAN module and a power network connected to the CAN module;
[0006] The CAN module includes a CAN transceiver, a CAN controller, a transmitting circuit and a receiving circuit;
[0007] The CAN transceiver is connected to the CAN controller, receives the logic signal sent by the CAN controller, and converts the logic signal into a message sending signal in a physical form; the CAN transceiver is connected to the sending circuit, and sends the message sending signal to the sending circuit;
[0008] The sending circuit receives the amplified target carrier signal, modulates the amplified target carrier signal using the message sending signal, and then sends the modulated signal to the power supply network;
[0009] The receiving circuit receives a modulated signal sent by a power supply network; the receiving circuit receives an amplified target carrier signal, multiplies the modulated signal by the amplified target carrier signal, and then demodulates the signal to obtain a message receiving signal; the receiving circuit is connected to the CAN transceiver, and sends the message receiving signal to the CAN transceiver;
[0010] When there are both a message sending signal and a message receiving signal at the same time, the CAN transceiver sends the message sending signal or receives the message receiving signal according to the priority of the signal; the CAN transceiver converts the physical form of the message receiving signal into a logical signal and sends it to the CAN controller.
[0011] Preferably, the transmitting circuit comprises: a modulator and a first coupler;
[0012] The CAN transceiver is connected to the modulator to send the message sending signal to the modulator;
[0013] The modulator receives the amplified target carrier signal, and the message sending signal modulates the amplified target carrier signal and then sends it to the first coupler;
[0014] The first coupler couples the modulated signal to a power supply network.
[0015] Preferably, the receiving circuit includes a second coupler, a frequency selector and a detection processing module;
[0016] The second coupler is connected to the power supply network to couple the modulated signal sent by the power supply network to the frequency selector;
[0017] The frequency selector selects a target modulation signal having the same frequency as the amplified target carrier signal from the modulation signal, and the frequency selector is connected to the detection processing module to send the target modulation signal to the detection processing module;
[0018] The detection processing module multiplies the target modulation signal with the amplified target carrier signal and then demodulates to obtain a message receiving signal; the detection processing module is connected to the CAN transceiver and sends the message receiving signal to the CAN transceiver.
[0019] Preferably, the detection processing module includes a filter, a signal amplifier, a detector, a low-frequency amplifier and a shaper;
[0020] The frequency selector is connected to the filter to send the target modulation signal to the filter;
[0021] After filtering the target modulated signal, the filter sends the obtained filtered signal to the signal amplifier;
[0022] The signal amplifier amplifies the filtered signal and sends it to the detector;
[0023] The detector multiplies the amplified filtered signal by the amplified target carrier signal and then performs demodulation, and sends the obtained demodulated signal to the low-frequency amplifier;
[0024] The low-frequency amplifier performs low-frequency amplification on the demodulated signal and sends the obtained amplified low-frequency signal to the shaper;
[0025] The shaper shapes the amplified low-frequency signal to obtain a message receiving signal; the shaper is connected to the CAN transceiver to send the message receiving signal to the CAN transceiver.
[0026] Preferably, the frequency selector selects a plurality of selected modulation signals of different frequencies from the modulation signal;
[0027] Each selected modulation signal corresponds to a detection processing module, and multiple detection processing modules are arranged in parallel;
[0028] Each detection processing module receives an amplified high-frequency carrier signal having the same frequency as the corresponding selected modulation signal, multiplies the selected modulation signal by the amplified high-frequency carrier signal, and then demodulates the signal to obtain a corresponding message reception signal;
[0029] The amplified target carrier signal is an amplified high-frequency carrier signal, and among the multiple selected modulation signals of different frequencies, the selected modulation signal with the same frequency as the amplified target carrier signal is the target modulation signal.
[0030] Preferably, including:
[0031] When a message sending signal and multiple message receiving signals exist at the same time, the CAN transceiver sends the message sending signal or receives one message receiving signal according to the priority of the signals.
[0032] Preferably, the CAN transceiver includes a CAN high line and a CAN low line, the CAN high line is connected to a corresponding transmitting circuit and a corresponding receiving circuit, and the CAN low line is connected to a corresponding transmitting circuit and a corresponding receiving circuit;
[0033] The CAN high line is connected to the live line of the power supply network through the corresponding sending circuit and receiving circuit, and the CAN low line is connected to the ground line of the power supply network through the corresponding sending circuit and receiving circuit.
[0034] Preferably, the live wire and the ground wire of the power supply network are respectively provided with wave arresters;
[0035] The sending circuit and receiving circuit corresponding to the CAN high line are connected to the live wire of the power supply network through the wave blocker at the live wire end, and the sending circuit and receiving circuit corresponding to the CAN low line are connected to the ground wire of the power supply network through the wave blocker at the ground wire end.
[0036] Preferably, the connection line between the power supply network and the CAN module is a shielded line.
[0037] Preferably, a shielding layer is provided on the power supply network, and a grounding point of the shielding layer is connected to a ground wire outside the power supply network.
[0038] Preferably, the CAN module is provided with one or more, and multiple CAN modules are arranged in parallel.
[0039] On the other hand, an embodiment of this specification provides a CAN communication method using power network carrier transmission, based on any of the above communication systems, including:
[0040] The CAN transceiver receives the logic signal sent by the CAN controller, converts the logic signal into a message sending signal in a physical form, and sends the message sending signal to the sending circuit;
[0041] The sending circuit modulates the amplified target carrier signal using the message sending signal, and couples the modulated signal to the power supply network;
[0042] The modulated signal on the power network is coupled to the receiving circuit, and the receiving circuit multiplies the modulated signal with the amplified target carrier signal and then demodulates it to obtain a message receiving signal, and sends the message receiving signal to the CAN transceiver;
[0043] When a message sending signal and a message receiving signal exist at the same time, the CAN transceiver sends the message sending signal or receives the message receiving signal according to the priority of the signals;
[0044] The CAN transceiver converts the physical form of the message reception signal into a logical signal and sends it to the CAN controller.
[0045] On the other hand, an embodiment of the present specification further provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein when the computer program is executed by the processor, the above-mentioned method is executed.
[0046] On another aspect, an embodiment of the present specification further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor of a computer device, the above-mentioned method is executed.
[0047] On the other hand, the embodiments of this specification further provide a computer program product, which, when executed by a processor of a computer device, executes the instructions of the above-mentioned method.
[0048] On the other hand, an embodiment of the present specification further provides a vehicle, on which is disposed any of the communication systems described above.
[0049] It can be seen from the technical solutions provided in the above embodiments of this specification that the CAN communication system of the present application transmits signals through a power supply network rather than traditional independent communication cables. In this way, the power supply network not only has the function of the power supply itself, but can also be used as a transmission medium for communication, thereby reducing the internal wiring of the vehicle and alleviating the burden and cost of the vehicle.
[0050] In order to make the above and other purposes, features and advantages of the present specification more obvious and easy to understand, the following specifically cites preferred embodiments and describes them in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 The overall structure diagram of a CAN communication system using power network carrier transmission provided by an embodiment of this specification is shown;
[0053] Figure 2 A schematic diagram of the structure of a sending circuit in a CAN communication system using a power network carrier transmission provided by an embodiment of this specification is shown;
[0054] Figure 3 A schematic diagram of the structure of a receiving circuit in a CAN communication system using power network carrier transmission provided by an embodiment of this specification is shown;
[0055] Figure 4 A flow chart of a CAN communication method using a power network carrier transmission provided by an embodiment of this specification is shown;
[0056] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of this specification is shown.
[0057] Description of the accompanying symbols:
[0058] 100. CAN module; 1. CAN transceiver; 2. CAN controller; 3. power supply network; 4. sending circuit; 5. receiving circuit; 41. modulator; 42. first coupler; 51. second coupler; 52. frequency selector; 53. detection processing module; 531. filter; 532. signal amplifier; 533. detector; 534. low-frequency amplifier; 535. shaper; 31. wave blocker; 32. shielding layer; 6. amplifier; 7. internal wave blocker; 502. computer equipment; 504. processor; 506. memory; 508. drive mechanism; 510. input / output module; 512. input device; 514. output device; 516. presentation device; 518. graphical user interface; 520. network interface; 522. communication link; 524. communication bus. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of this specification.
[0060] In modern cars, the communication between the electronic control unit (ECU) and other electronic components is carried out through a dedicated communication network. One of the most commonly used communication networks is the controller area network (CAN, bus network), which plays an important role in automobiles. The CAN bus network allows multiple controllers (such as engine control unit, transmission control unit, body control module, etc.) to communicate with each other and share data to achieve overall coordination and functional optimization of the vehicle. In the prior art, the power supply network is generally a pure power supply network, which cannot be used as a transmission medium for communication. A separate communication network is used for communication, which makes the internal wiring of the vehicle complex, heavy, and costly.
[0061] In order to solve the above problems, the embodiments of this specification provide a CAN communication system using power network carrier transmission.
[0062] It should be noted that the terms "first", "second", etc. in the description and claims of the embodiments of this specification and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this specification described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0063] Reference Figure 1 , a CAN communication system using power network carrier transmission, comprising: a CAN module 100 and a power network 3 connected to the CAN module 100;
[0064] The CAN module 100 includes a CAN transceiver 1, a CAN controller 2, a transmitting circuit 4 and a receiving circuit 5;
[0065] The CAN transceiver 1 is connected to the CAN controller 2, receives the logic signal sent by the CAN controller 2, and converts the logic signal into a message sending signal in a physical form; the CAN transceiver 1 is connected to the sending circuit 4, and sends the message sending signal to the sending circuit 4;
[0066] The sending circuit 4 receives the amplified target carrier signal, modulates the amplified target carrier signal using the message sending signal, and then sends the modulated signal to the power supply network 3;
[0067] The receiving circuit 5 receives the modulated signal sent by the power supply network 3; the receiving circuit 5 receives the amplified target carrier signal, multiplies the modulated signal with the amplified target carrier signal and then demodulates to obtain a message receiving signal; the receiving circuit 5 is connected to the CAN transceiver 1 and sends the message receiving signal to the CAN transceiver 1;
[0068] When a message sending signal and a message receiving signal exist at the same time, the CAN transceiver 1 sends the message sending signal or receives the message receiving signal according to the priority of the signal; the CAN transceiver 1 converts the physical form of the message receiving signal into a logical signal and sends it to the CAN controller 2.
[0069] The CAN communication system described in the present application transmits signals through the power network 3 instead of traditional independent communication cables. This allows the power network 3 to have the function of the power supply itself and to be used as a transmission medium for communication, thereby reducing the internal wiring of the vehicle and alleviating the burden and cost of the vehicle.
[0070] Through modulation and demodulation technology, data is embedded into the carrier signal for transmission, and demodulation is used to extract data from the carrier to ensure that the message sending signal and the message receiving signal can be transmitted on the power supply network 3 and correctly interpreted.
[0071] Through the priority processing mechanism, the priority of the message sending signal and the message receiving signal can be set according to the needs, and the corresponding priority can be obtained by reading the message signal to ensure that the CAN communication system can make the right choice in the case of data conflict and maintain the reliability of communication.
[0072] The target carrier signal is a high-frequency oscillation signal. After the target carrier signal is amplified by the amplifier 6, the sending circuit 4 receives the amplified target carrier signal. The purpose of amplifying the target carrier signal is to compensate for signal attenuation, improve anti-interference ability, ensure the accuracy of modulation and demodulation, and cover a wider transmission range, ultimately achieving stable and reliable communication.
[0073] In the embodiments of this specification, refer to Figure 2 , the transmitting circuit 4 comprises: a modulator 41 and a first coupler 42;
[0074] The CAN transceiver 1 is connected to the modulator 41, and sends the message sending signal to the modulator 41;
[0075] The modulator 41 receives the amplified target carrier signal, and the message sending signal modulates the amplified target carrier signal and then sends it to the first coupler 42;
[0076] The first coupler 42 couples the modulated signal to the power supply network 3 .
[0077] The modulation process is to superimpose the message transmission signal onto the amplified target carrier signal so that it can be transmitted through the power network 3. This process is usually achieved through techniques such as amplitude modulation (AM), frequency modulation (FM) or phase modulation (PM).
[0078] The main function of the first coupler 42 is to couple the modulated signal to the power network 3. The first coupler 42 realizes seamless transmission of the signal from the inside of the circuit to the power line, ensuring that the signal can effectively enter the power network 3 without interfering with other power signals. The coupler plays a dual role of signal transmission and isolation, allowing the modulated signal to propagate smoothly while protecting the circuit from interference in the power network 3.
[0079] In the embodiments of this specification, refer to Figure 3 , the receiving circuit 5 includes a second coupler 51, a frequency selector 52 and a detection processing module 53;
[0080] The second coupler 51 is connected to the power supply network 3, and couples the modulated signal sent by the power supply network 3 to the frequency selector 52;
[0081] The frequency selector 52 selects a target modulation signal having the same frequency as the amplified target carrier signal from the modulation signal, and the frequency selector 52 is connected to the detection processing module 53 to send the target modulation signal to the detection processing module 53;
[0082] The detection processing module 53 multiplies the target modulation signal with the amplified target carrier signal and then demodulates it to obtain a message receiving signal; the detection processing module 53 is connected to the CAN transceiver 1 and sends the message receiving signal to the CAN transceiver 1.
[0083] The second coupler 51 here serves as the entrance of signal transmission, ensuring that the modulated signal in the network can be effectively transmitted to the receiving circuit 5 without affecting the normal operation of the power network 3. In the transmitting circuit 4 and the receiving circuit 5, the first coupler 42 and the second coupler 51 respectively serve to couple the signal to the power network 3 and extract the signal from the power network 3, and are an indispensable part of the CAN communication system.
[0084] The first coupler 42 and the second coupler 51 are both capacitor components, and specific parameters are selected according to actual needs.
[0085] The frequency selector 52 uses filtering technology to exclude other unnecessary frequency signals and retain the target modulation signal with the same frequency as the amplified target carrier signal. This process ensures that the receiving circuit 5 only processes signals within a specific frequency range, thereby reducing interference and enhancing signal accuracy.
[0086] The demodulation process of the detection processing module 53 is to restore the data originally modulated on the target carrier signal into a usable message receiving signal through demodulation. The multiplication operation is a typical demodulation method. Through this process, the data embedded in the target carrier signal can be restored.
[0087] In the embodiment of this specification, the detection processing module 53 includes a filter 531, a signal amplifier 532, a detector 533, a low-frequency amplifier 534 and a shaper 535;
[0088] The frequency selector 52 is connected to the filter 531, and sends the target modulation signal to the filter 531;
[0089] After filtering the target modulated signal, the filter 531 sends the obtained filtered signal to the signal amplifier 532;
[0090] The signal amplifier 532 amplifies the filtered signal and sends it to the detector 533;
[0091] The detector 533 multiplies the amplified filtered signal with the amplified target carrier signal and then demodulates the signal, and sends the obtained demodulated signal to the low-frequency amplifier 534;
[0092] The low frequency amplifier 534 performs low frequency amplification on the demodulated signal and sends the obtained amplified low frequency signal to the shaper 535;
[0093] The shaper 535 shapes the amplified low-frequency signal to obtain a message receiving signal; the shaper 535 is connected to the CAN transceiver 1 and sends the message receiving signal to the CAN transceiver 1.
[0094] The filter 531 further filters the target modulated signal to remove unnecessary noise or interference signals, ensuring that the signal transmitted to the subsequent signal amplifier 532 is purer and more accurate. The signal amplifier 532 amplifies the filtered signal to a strength suitable for subsequent processing to ensure the quality and integrity of the signal.
[0095] The detector 533 is a core component that receives the amplified filtered signal and the amplified target carrier signal and performs demodulation by multiplying the two. This process can separate the data signal in the modulated signal from the carrier, and the demodulated signal (i.e., the original data signal) is sent to the low-frequency amplifier 534.
[0096] The low frequency amplifier 534 is specifically used to enhance the strength of the demodulated signal so that it is suitable for subsequent shaping processing. The function of the shaper 535 is to shape the amplified low frequency signal to make the signal waveform more regular. This step usually includes operations such as removing noise and eliminating distortion in the signal to ensure that the final output message reception signal is clear and accurate.
[0097] In some embodiments of the present specification, the frequency selector 52 selects a plurality of selected modulation signals of different frequencies from the modulation signal;
[0098] Each selected modulation signal corresponds to a detection processing module 53, and multiple detection processing modules 53 are arranged in parallel;
[0099] Each detection processing module 53 receives an amplified high-frequency carrier signal having the same frequency as the corresponding selected modulation signal, multiplies the selected modulation signal by the amplified high-frequency carrier signal, and then demodulates the signal to obtain a corresponding message reception signal;
[0100] The amplified target carrier signal is an amplified high-frequency carrier signal, and among the multiple selected modulation signals of different frequencies, the selected modulation signal with the same frequency as the amplified target carrier signal is the target modulation signal.
[0101] In this embodiment, the frequency selector 52 no longer just selects a modulation signal with the same frequency as the amplified target carrier signal, but can select multiple selected modulation signals with different frequencies from the input modulation signal, so that multiple signals with different frequencies can be processed simultaneously, improving the parallel processing capability of the system. Each selected modulation signal has a corresponding detection processing module 53. For each detection processing module 53, the input amplified high-frequency carrier signal must have the same frequency as the selected modulation signal it processes, so that the accuracy of the demodulation process can be guaranteed.
[0102] Reference Figure 1 As shown, the figure includes a high-frequency carrier signal 1, a high-frequency carrier signal 2, and a target carrier signal (high-frequency carrier signal 3), wherein the high-frequency carrier signal can be amplified by an amplifier 6 to obtain an amplified high-frequency carrier signal, and the target carrier signal belongs to the high-frequency carrier signal. Since the target carrier signal can not only be used to demodulate to obtain a message receiving signal in the current CAN module 100, but also can be used to modulate a message sending signal, it is used as a special high-frequency carrier signal.
[0103] To avoid repeated description, the detection processing module 53 corresponding to each selected modulation signal can be set with reference to the detection processing module 53 corresponding to the target modulation signal, and will not be described in detail in this specification.
[0104] When a message sending signal and multiple message receiving signals exist at the same time, the CAN transceiver 1 sends the message sending signal or receives one message receiving signal according to the priority of the signals.
[0105] The CAN transceiver may send message transmission signals at the same time, and receive multiple demodulated message reception signals at the same time. To avoid signal conflicts, it is necessary to process them according to the priority of the signals. Generally speaking, the signal with the highest priority is processed first.
[0106] By introducing the priority mechanism, the CAN transceiver 1 can process these signals in an orderly manner, ensuring that important signals are processed first, effectively avoiding conflicts between signals, and reducing the possibility of data loss. In the CAN communication protocol, the priority of a signal is usually related to the message identifier. Specifically, the priority is reflected by the identifier part of the signal, and the priority can be determined by the value of the identifier. Each bit of the identifier represents a part of the priority. For example, the priority of the identifier 00000000001 is higher than the priority of the identifier 00000000100 because the former has a smaller value.
[0107] In the embodiment of this specification, the CAN transceiver 1 includes a CAN high line and a CAN low line, the CAN high line is connected to the corresponding sending circuit 4 and receiving circuit 5, and the CAN low line is connected to the corresponding sending circuit 4 and receiving circuit 5;
[0108] The CAN high line is connected to the live line of the power supply network 3 through the corresponding sending circuit 4 and receiving circuit 5 , and the CAN low line is connected to the ground line of the power supply network 3 through the corresponding sending circuit 4 and receiving circuit 5 .
[0109] The CAN network is usually composed of two lines, namely the CAN high line (CAN_H) and the CAN low line (CAN_L). These two lines are used for differential signal transmission, which can effectively suppress noise and improve the anti-interference ability of signal transmission. Both the CAN high line and the CAN low line are connected to the corresponding transmitting circuit 4 and receiving circuit 5.
[0110] The circuit of the CAN high line end and the circuit of the CAN low line end are symmetrically arranged. To avoid repeated description, the embodiment of this specification describes the circuit arrangement of the CAN high line end in detail, and the CAN low line end can refer to the CAN high line end.
[0111] In the power network 3, the live wire usually refers to the wire that carries the AC voltage and is responsible for transmitting power. The ground wire is usually the reference point of the circuit, and the voltage is usually zero or grounded. The live wire is connected to the CAN high wire, and the ground wire is connected to the CAN low wire. This can enhance the anti-interference ability, simplify the wiring, and utilize the coverage and characteristics of the power network 3 to provide a more efficient signal transmission method.
[0112] To ensure electrical isolation and safety and avoid the impact of potential power system problems on the CAN network, make the following settings:
[0113] The live wire and the ground wire of the power supply network 3 are respectively provided with wave traps 31;
[0114] The sending circuit 4 and receiving circuit 5 corresponding to the CAN high line are connected to the live wire of the power supply network 3 through the wave blocker 31 at the live wire end, and the sending circuit 4 and receiving circuit 5 corresponding to the CAN low line are connected to the ground wire of the power supply network 3 through the wave blocker 31 at the ground wire end.
[0115] The connection line between the power supply network 3 and the CAN module 100 is a shielded line. A shielding layer 32 is provided on the power supply network 3 , and a grounding point of the shielding layer 32 is connected to a ground line outside the power supply network 3 .
[0116] The wave blocker 31 at the live wire end is used to filter out the high-frequency noise or interference signal that may exist in the live wire of the power supply network 3, and prevent these interferences from entering the sending circuit 4 and the receiving circuit 5 of the CAN high wire, thereby ensuring the stable transmission of the differential signal. The wave blocker 31 at the ground wire end is used to filter out the interference signal that may exist in the ground wire, and ensure the signal stability of the CAN low wire.
[0117] The wave trap 31 is composed of an inductor and a capacitor, and the relevant circuit structure and component parameters should be calculated and set according to the interference signal to be filtered out.
[0118] Shielded cable is a cable in which the wires are wrapped with metal mesh or foil to shield external electromagnetic interference. The use of shielded cable further improves the anti-interference ability of signal transmission, especially in the power network 3 environment, the shielded cable can effectively isolate the noise and electromagnetic interference in the power supply and prevent it from affecting the CAN signal.
[0119] The shielding layer 32 generally refers to a layer of conductive material (such as a metal mesh or metal foil) wrapped around the outside of the power supply network 3 to shield external electromagnetic interference. This shielding layer 32 can effectively prevent external electromagnetic noise from affecting the signal transmission inside the power supply network 3, and can also prevent internal signals from leaking to the outside to avoid interfering with other surrounding devices.
[0120] The grounding point of the shielding layer 32 is connected to the ground wire outside the power supply network 3, rather than to the ground wire of the power supply network 3, in order to ensure that the shielding layer 32 can provide a stable, low-noise grounding point and give full play to its role in isolating electromagnetic interference. This design can enhance the anti-interference ability of the entire communication system and the stability of signal transmission.
[0121] In some embodiments of the present specification, the CAN module 100 is provided with one or more, and multiple CAN modules 100 are provided in parallel. For each CAN module 100, a power supply device for supplying power to the corresponding CAN module 100 is provided inside, and the power supply device includes a positive electrode and a negative electrode, and the positive electrode and the negative electrode are respectively provided with internal wave blockers 7 to filter out interference signals.
[0122] Among the multiple CAN modules 100 arranged in parallel, each CAN module 100 corresponds to a different target carrier signal, specifically a different frequency. For example, the communication system includes a high-frequency carrier signal 1, a high-frequency carrier signal 2 and a high-frequency carrier signal 3. In the first CAN module 100, the high-frequency carrier signal 1 is the target carrier signal, in the second CAN module 100, the high-frequency carrier signal 2 is the target carrier signal, and in the third CAN module 100, the high-frequency carrier signal 3 is the target carrier signal. The target carrier signal can be used not only for demodulation to obtain a message receiving signal, but also for modulating a message sending signal, and the remaining high-frequency carrier signals can only be used for demodulation to obtain a message receiving signal.
[0123] In the system, multiple CAN modules 100 are arranged in parallel without interfering with each other, which can significantly improve the communication capability, redundancy, scalability and flexibility of the system. Such a communication system can better meet the needs of complex application scenarios, ensure the stability and efficiency of communication, and provide higher system reliability and fault tolerance.
[0124] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0125] This application provides users with corresponding big data analysis (such as personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.) operation entrances for users to choose to agree or reject automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0126] Based on the above-mentioned CAN communication system using power network carrier transmission, refer to Figure 4 The embodiment of this specification also provides a CAN communication method using a power network carrier transmission, the method comprising:
[0127] S101: The CAN transceiver receives a logic signal sent by the CAN controller, converts the logic signal into a message sending signal in a physical form, and sends the message sending signal to a sending circuit;
[0128] S102: The sending circuit modulates the amplified target carrier signal using the message sending signal, and couples the modulated signal to the power supply network;
[0129] S103: the modulated signal on the power network is coupled to the receiving circuit, the receiving circuit multiplies the modulated signal with the amplified target carrier signal and then demodulates the signal to obtain a message receiving signal, and sends the message receiving signal to the CAN transceiver;
[0130] S104: When a message sending signal and a message receiving signal exist at the same time, the CAN transceiver sends the message sending signal or receives the message receiving signal according to the priority of the signals;
[0131] S105: The CAN transceiver converts the physical form of the message reception signal into a logical signal and sends it to the CAN controller.
[0132] Through the method of the embodiment of this specification, a complete CAN communication process is realized, covering the whole process from signal generation, modulation, transmission, demodulation, reception, to final processing. Data can be reliably transmitted in a complex network environment to ensure the accuracy and real-time nature of information, while avoiding signal conflicts and data loss through priority management.
[0133] Based on the above-mentioned CAN communication system using power network carrier transmission in the embodiment of this specification, this specification also provides a vehicle, on which the above-mentioned communication system is installed.
[0134] In this way, the power supply network and communication network in the vehicle can be integrated into one, simplifying the internal wiring of the vehicle and reducing the burden and cost of the vehicle.
[0135] Reference Figure 5As shown, based on the above-mentioned CAN communication method using power network carrier transmission, a computer device 502 is also provided in an embodiment of this specification, wherein the above-mentioned method is run on the computer device 502. The computer device 502 may include one or more processors 504, such as one or more central processing units (CPUs) or graphics processing units (GPUs), and each processing unit may implement one or more hardware threads. The computer device 502 may also include any memory 506, which is used to store any kind of information such as code, settings, data, etc. In a specific implementation, the computer program on the memory 506 and which can be run on the processor 504, when the computer program is run by the processor 504, can execute instructions according to the above-mentioned method. Non-limitingly, for example, the memory 506 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent a fixed or removable component of the computer device 502. In one embodiment, when the processor 504 executes the associated instructions stored in any memory or combination of memories, the computer device 502 can perform any operation of the associated instructions. The computer device 502 also includes one or more drive mechanisms 508 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.
[0136] The computer device 502 may also include an input / output module 510 (I / O) for receiving various inputs (via input devices 512) and for providing various outputs (via output devices 514). A specific output mechanism may include a presentation device 516 and an associated graphical user interface 518 (GUI). In other embodiments, the input / output module 510 (I / O), input device 512, and output device 514 may not be included, and the computer device 502 may be used as a computer device in a network. The computer device 502 may also include one or more network interfaces 520 for exchanging data with other devices via one or more communication links 522. One or more communication buses 524 couple the components described above together.
[0137] The communication link 522 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 522 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
[0138] Corresponds to Figure 4The method in the embodiment of the present specification also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are executed.
[0139] The embodiment of the present specification also provides a computer-readable instruction, wherein when the processor executes the instruction, the program therein causes the processor to execute the following Figure 4 The method shown.
[0140] The present specification also provides a computer program product. When the computer program product is executed by a processor of a computer device, the computer program product performs the following steps: Figure 4 The method shown.
[0141] The computer program product described in this specification is a software product that mainly implements the method described in this specification through a computer program.
[0142] It should be understood that in the various embodiments of this specification, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this specification.
[0143] It should also be understood that in the embodiments of this specification, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the embodiments of this specification generally indicates that the associated objects before and after are in an "or" relationship.
[0144] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of this specification can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of this specification.
[0145] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0146] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0147] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this specification.
[0148] In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0149] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of this specification is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0150] Specific embodiments are used in this specification to illustrate the principles and implementation methods of the embodiments of this specification. The description of the above embodiments is only used to help understand the methods and core ideas of the embodiments of this specification. At the same time, for those skilled in the art, according to the ideas of the embodiments of this specification, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the embodiments of this specification.
Claims
1. A CAN communication system using power network carrier transmission, characterized in that: include: CAN module and a power supply network connected to the CAN module; The CAN module includes a CAN transceiver, a CAN controller, a transmitting circuit and a receiving circuit; The CAN transceiver is connected to the CAN controller, receives the logic signal sent by the CAN controller, and converts the logic signal into a message sending signal in a physical form; the CAN transceiver is connected to the sending circuit, and sends the message sending signal to the sending circuit; The sending circuit receives the amplified target carrier signal, modulates the amplified target carrier signal using the message sending signal, and then sends the modulated signal to the power supply network; The receiving circuit receives a modulated signal sent by a power supply network; the receiving circuit receives an amplified target carrier signal, multiplies the modulated signal by the amplified target carrier signal, and then demodulates the signal to obtain a message receiving signal; the receiving circuit is connected to the CAN transceiver, and sends the message receiving signal to the CAN transceiver; When there are both a message sending signal and a message receiving signal at the same time, the CAN transceiver sends the message sending signal or receives the message receiving signal according to the priority of the signal; the CAN transceiver converts the physical form of the message receiving signal into a logical signal and sends it to the CAN controller.
2. The communication system according to claim 1, characterized in that The transmitting circuit comprises: a modulator and a first coupler; The CAN transceiver is connected to the modulator to send the message sending signal to the modulator; The modulator receives the amplified target carrier signal, and the message sending signal modulates the amplified target carrier signal and then sends it to the first coupler; The first coupler couples the modulated signal to a power supply network.
3. The communication system according to claim 1, characterized in that: The receiving circuit includes a second coupler, a frequency selector and a detection processing module; The second coupler is connected to the power supply network to couple the modulated signal sent by the power supply network to the frequency selector; The frequency selector selects a target modulation signal having the same frequency as the amplified target carrier signal from the modulation signal, and the frequency selector is connected to the detection processing module to send the target modulation signal to the detection processing module; The detection processing module multiplies the target modulation signal with the amplified target carrier signal and then demodulates to obtain a message receiving signal; the detection processing module is connected to the CAN transceiver and sends the message receiving signal to the CAN transceiver.
4. The communication system according to claim 3, characterized in that: The detection processing module includes a filter, a signal amplifier, a detector, a low-frequency amplifier and a shaper; The frequency selector is connected to the filter to send the target modulation signal to the filter; After filtering the target modulated signal, the filter sends the obtained filtered signal to the signal amplifier; The signal amplifier amplifies the filtered signal and sends it to the detector; The detector multiplies the amplified filtered signal by the amplified target carrier signal and then performs demodulation, and sends the obtained demodulated signal to the low-frequency amplifier; The low-frequency amplifier performs low-frequency amplification on the demodulated signal and sends the obtained amplified low-frequency signal to the shaper; The shaper shapes the amplified low-frequency signal to obtain a message receiving signal; the shaper is connected to the CAN transceiver to send the message receiving signal to the CAN transceiver.
5. The communication system according to claim 3, characterized in that: The frequency selector selects a plurality of selected modulation signals of different frequencies from the modulation signal; Each selected modulation signal corresponds to a detection processing module, and multiple detection processing modules are arranged in parallel; Each detection processing module receives an amplified high-frequency carrier signal having the same frequency as the corresponding selected modulation signal, multiplies the selected modulation signal by the amplified high-frequency carrier signal, and then demodulates the signal to obtain a corresponding message reception signal; The amplified target carrier signal is an amplified high-frequency carrier signal, and among the multiple selected modulation signals of different frequencies, the selected modulation signal with the same frequency as the amplified target carrier signal is the target modulation signal.
6. The communication system according to claim 5, characterized in that: include: When a message sending signal and multiple message receiving signals exist at the same time, the CAN transceiver sends the message sending signal or receives one message receiving signal according to the priority of the signals.
7. The communication system according to claim 1, characterized in that: The CAN transceiver includes a CAN high line and a CAN low line, the CAN high line is connected to a corresponding transmitting circuit and a receiving circuit, and the CAN low line is connected to a corresponding transmitting circuit and a receiving circuit; The CAN high line is connected to the live line of the power supply network through the corresponding sending circuit and receiving circuit, and the CAN low line is connected to the ground line of the power supply network through the corresponding sending circuit and receiving circuit.
8. The communication system according to claim 7, characterized in that: The live wire and the ground wire of the power supply network are respectively provided with wave arresters; The sending circuit and receiving circuit corresponding to the CAN high line are connected to the live wire of the power supply network through the wave blocker at the live wire end, and the sending circuit and receiving circuit corresponding to the CAN low line are connected to the ground wire of the power supply network through the wave blocker at the ground wire end.
9. The communication system according to claim 1, characterized in that: The connection line between the power supply network and the CAN module is a shielded line.
10. The communication system according to claim 1, characterized in that: A shielding layer is arranged on the power supply network, and a grounding point of the shielding layer is connected to a ground wire outside the power supply network.
11. The communication system according to claim 1, characterized in that: The CAN module is provided with one or more, and a plurality of CAN modules are provided in parallel.
12. A CAN communication method using power network carrier transmission, characterized in that: A communication system according to any one of claims 1 to 11, comprising: The CAN transceiver receives the logic signal sent by the CAN controller, converts the logic signal into a message sending signal in a physical form, and sends the message sending signal to the sending circuit; The sending circuit modulates the amplified target carrier signal using the message sending signal, and couples the modulated signal to the power supply network; The modulated signal on the power network is coupled to the receiving circuit, and the receiving circuit multiplies the modulated signal with the amplified target carrier signal and then demodulates it to obtain a message receiving signal, and sends the message receiving signal to the CAN transceiver; When a message sending signal and a message receiving signal exist at the same time, the CAN transceiver sends the message sending signal or receives the message receiving signal according to the priority of the signals; The CAN transceiver converts the physical form of the message reception signal into a logical signal and sends it to the CAN controller.
13. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that: When the computer program is executed by the processor, the method according to claim 12 is performed.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor of a computer device, the method according to claim 12 is performed.
15. A computer program product, characterized in that When the computer program product is executed by a processor of a computer device, the instructions of the method according to claim 12 are executed.
16. A vehicle, characterized in that: The vehicle is provided with the communication system according to any one of claims 1-11.
Citation Information
Patent Citations
Carrier communication system and data-processing method
CN105450257A
Power line carrier transmission system and method thereof
CN112769459A
Vehicle controller communication circuit and vehicle controller using same
CN116639073A
Automobile data communication method, data processing device, conversion device and vehicle
CN117880308A
