Control device of electronic controller
By using a communication module and protocol converter to convert data signals of different encoding formats into encoding formats allowed by the electronic controller, the problem of difficult software upgrades caused by the lack of LIN and CAN interfaces in the ECU is solved, and cost-effective control is achieved.
Patent Information
- Application Number
- CN202423121086.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2034-12-17
AI Technical Summary
In existing technologies, the lack of hardware interfaces such as LIN and CAN in electronic controllers (ECUs) makes software upgrades difficult and increases the difficulty and cost of hardware design.
A communication module and a protocol converter are used to convert data signals of different encoding formats into encoding formats that the electronic controller can receive, thereby enabling control of the electronic controller.
Without increasing the difficulty and cost of hardware design, software upgrades and control of the electronic controller were achieved, thus reducing costs.
Smart Images

Figure CN223552025U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of electronic controller (ECU) technology, and in particular to a control device for an electronic controller. Background Technology
[0002] With the continuous development of automotive intelligence, the complexity of automotive software and hardware is increasing, and development cycles are becoming shorter. This can lead to functional defects being discovered only after the product has entered mass production and use. Therefore, fixing these defects through software upgrades has become crucial.
[0003] Meanwhile, the automotive industry is currently in a state of intense competition, and cost reduction is a powerful way to improve competitiveness. Therefore, it is necessary to minimize hardware design to reduce costs. This has resulted in many electronic control units (ECUs) lacking hardware interfaces such as LIN and CAN, and thus not supporting software rewriting and upgrades after mass production. To solve this problem, a dedicated communication interface circuit needs to be designed for the ECU, which increases the difficulty and cost of hardware design. Utility Model Content
[0004] In order to overcome the shortcomings of the existing technology, the purpose of this utility model is to provide a control device for an electronic controller, which does not require the design of a dedicated communication interface circuit for the electronic controller ECU when the electronic controller ECU does not have hardware interfaces such as LIN or CAN, thereby avoiding the increase in hardware design difficulty and cost.
[0005] To solve the above problems, this utility model is implemented according to the following solution:
[0006] A control device for an electronic controller is provided, including a communication module and a protocol converter; the protocol converter is connected to the communication module and the electronic controller.
[0007] The communication module is used to receive the data signal to be converted;
[0008] The protocol converter is used for:
[0009] The data signal to be converted is converted into a communication data signal in a target encoding format, and the communication data signal is sent to the electronic controller to control the electronic controller; the target encoding format is an encoding format that the electronic controller is allowed to receive.
[0010] The system receives feedback signals from the electronic controller to obtain control results.
[0011] Compared with the prior art, the beneficial effects of the control device of the electronic controller of this utility model are as follows: By converting the data signals to be converted in different encoding formats into a unified target encoding format through a protocol converter, the data signals to be converted from different hardware interfaces of the communication module can be converted into an encoding format that the electronic controller can receive, even when the electronic controller ECU does not have a dedicated communication interface circuit. That is, it is not necessary to set the electronic controller to receive signals output from different hardware interfaces to control the electronic controller.
[0012] Optionally, the communication module includes a host computer and an analyzer; the analyzer is connected to the host computer and the protocol converter.
[0013] Optionally, the communication module includes a host computer; the host computer is connected to a protocol converter.
[0014] Optionally, the communication module includes a test diagnostic instrument; the test diagnostic instrument is connected to the protocol converter.
[0015] Optionally, the protocol converter includes a signal input unit, a main control unit, and a signal output unit;
[0016] The main control unit is connected to the signal input unit and the signal output unit; the signal input unit is connected to the communication module; and the signal output unit is connected to the electronic controller.
[0017] The main control unit is used for:
[0018] Convert the data signal to be converted into a communication data signal;
[0019] The feedback signal is received to obtain the control result.
[0020] Optionally, the signal input unit includes a serial port circuit, a LIN interface circuit, a CAN interface circuit, an Ethernet interface circuit, and a USB interface circuit.
[0021] The communication module is connected to the serial port circuit, the LIN interface circuit, the CAN interface circuit, the Ethernet interface circuit, and the USB interface circuit.
[0022] The main control unit is connected to the serial port circuit, the LIN interface circuit, the CAN interface circuit, the Ethernet interface circuit, and the USB interface circuit.
[0023] Optionally, the protocol converter further includes a power supply unit; the power supply unit is connected to the signal input unit, the main control unit, and the signal output unit.
[0024] Optionally, the protocol converter further includes a human-machine interaction unit; the human-machine interaction unit is connected to the main control unit and the power supply unit; the human-machine interaction unit is used to display the control results. Attached Figure Description
[0025] Figure 1 This is a schematic diagram of Embodiment 1 of the present utility model. Figure 1 ;
[0026] Figure 2 This is a schematic diagram of Embodiment 1 of the present utility model. Figure 2 ;
[0027] Figure 3 This is a block diagram of the protocol converter in Embodiments 1 to 3 of this utility model;
[0028] Figure 4 These are schematic diagrams of the serial port circuits in Embodiments 1 to 3 of this utility model;
[0029] Figure 5 This is a schematic diagram of the LIN interface circuit in Embodiments 1 to 3 of this utility model;
[0030] Figure 6 These are schematic diagrams of the CAN interface circuits in Embodiments 1 to 3 of this utility model;
[0031] Figure 7 These are schematic diagrams of the Ethernet interface circuits in Embodiments 1 to 3 of this utility model;
[0032] Figure 8 This is a schematic diagram of the USB interface circuit in Embodiments 1 to 3 of this utility model;
[0033] Figure 9 This is a schematic diagram of the main control unit in Embodiments 1 to 3 of this utility model. Figure 1 ;
[0034] Figure 10 This is a schematic diagram of the main control unit in Embodiments 1 to 3 of this utility model. Figure 2 ;
[0035] Figure 11 This is a schematic diagram of the main control unit in Embodiments 1 to 3 of this utility model. Figure 3 ;
[0036] Figure 12 This is a schematic diagram of the signal output unit in Embodiments 1 to 3 of this utility model. Figure 1 ;
[0037] Figure 13 This is a schematic diagram of the signal output unit in Embodiments 1 to 3 of this utility model. Figure 2 ;
[0038] Figure 14 This is a schematic diagram of the signal output unit in Embodiments 1 to 3 of this utility model. Figure 3 ;
[0039] Figure 15 This is a schematic diagram of the power supply unit in Embodiments 1 to 3 of this utility model. Figure 1 ;
[0040] Figure 16 This is a schematic diagram of the power supply unit in Embodiments 1 to 3 of this utility model. Figure 2 ;
[0041] Figure 17 These are schematic diagrams of the human-computer interaction units in Embodiments 1 to 3 of this utility model;
[0042] Figure 18 This is a schematic diagram of Embodiment 2 of the present invention;
[0043] Figure 19 This is a schematic diagram of Embodiment 3 of the present invention.
[0044] The attached diagram shows the following labels: 1. Communication module; 101. Host computer; 102. Analyzer; 103. Test and diagnostic instrument; 2. Protocol converter; 201. Signal input unit; 2011. Serial port circuit; 2012. LIN interface circuit; 2013. CAN interface circuit; 2014. Ethernet interface circuit; 2015. USB interface circuit; 202. Main control unit; 203. Signal output unit; 204. Power supply unit; 205. Human-machine interaction unit; 3. Electronic controller. Detailed Implementation
[0045] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0046] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0047] Example 1
[0048] See Figure 1-2 As shown, this utility model provides a control device for an electronic controller, including a communication module 1 and a protocol converter 2, wherein the protocol converter 2 is connected to the communication module 1 and the electronic controller 3.
[0049] In this embodiment, the communication module 1 includes a host computer 101 and an analyzer 102. The analyzer 102 is connected to the host computer 101 and the protocol converter 2. The host computer 101 sends a signal encoded in USB format to the analyzer 102. The analyzer 102 converts the signal encoded in USB format into a signal encoded in LIN / CAN format and sends it to the protocol converter 2, so that the protocol converter 2 converts the signal encoded in LIN / CAN format into a communication data signal in the target encoding format of 2 / 4 / 8 / 16FSK. The analyzer 102 is a general CAN / LIN analyzer such as Vector or DOMOS.
[0050] After receiving the communication data signal in the target encoding format, the electronic controller 3 performs software flashing to enable control of the electronic controller 3. The electronic controller 3 sends the control result as a feedback signal in the 2 / 4 / 8 / 16FSK target encoding format to the protocol converter 2. The protocol converter 2 converts the 2 / 4 / 8 / 16FSK target encoding format feedback signal into a LIN / CAN encoding format signal and sends it to the analyzer 102. The analyzer 102 then converts the LIN / CAN encoding format signal into a USB encoding format feedback signal and sends it to the host computer 101. This allows the operator to view the control result through the host computer 101, which indicates whether the software flashing of the electronic controller 3 was successful.
[0051] The communication module 1 is used to receive the data signal to be converted from the program to be flashed selected by the staff, and send the data signal to be converted to the protocol converter 2, so that the protocol converter 2 can convert the data signal to be converted in different encoding formats into the communication data signal in the target encoding format. The encoding format of the data signal to be converted includes, but is not limited to, serial port SP encoding format, LIN encoding format, CAN encoding format, Ethernet encoding format and USB encoding format. These encoding formats are the encoding formats of the general bus interface built into the host computer 101 or the test and diagnostic instrument 103 used by the staff to control the electronic controller 3 (software flashing). The target encoding format includes the 2 / 4 / 8 / 16FSK encoding formats that the electronic controller 3 is allowed to receive, so that the staff can control the electronic controller 3 (software flashing) through the UDS (Unified Diagnostic Service) standard protocol using the host computer 101 or the test and diagnostic instrument 103. For the specific process of controlling the electronic controller 3, please refer to the prior art.
[0052] See Figure 3 As shown, the protocol converter 2 includes a signal input unit 201, a main control unit 202, a signal output unit 203, a power supply unit 204, and a human-machine interaction unit 205; the main control unit 202 is connected to the signal input unit 201, the signal output unit 203, the power supply unit 204, and the human-machine interaction unit 205; the signal input unit 201 is connected to the power supply unit 204 and the communication module 1; the signal output unit 203 is connected to the power supply unit 204 and the electronic controller 3; and the human-machine interaction module is connected to the power supply unit 204.
[0053] The signal input unit 201 is used to receive the data signal to be converted from the communication module 1, which is encoded in serial port SP / LIN / CAN / Ethernet / USB format. The main control unit 202 is used to convert the data signal to be converted into a communication data signal in 2 / 4 / 8 / 16FSK target encoding format, and send it to the electronic controller 3 through the signal output unit 203 to realize the control of the electronic controller 3 (software flashing).
[0054] The signal output unit 203 is also used to receive feedback signals in 2 / 4 / 8 / 16FSK target encoding format sent by the electronic controller 3. The feedback signals include control results, so that the main control unit 202 converts the 2 / 4 / 8 / 16FSK target encoding format feedback signals into feedback signals in serial port SP / LIN / CAN / Ethernet / USB encoding format, and allows the human-machine interaction unit 205 to allow the staff to view the control results. The control results can also be sent to the communication module 1 through the signal input unit 201 for the staff to view the control results.
[0055] The signal input unit 201 includes a serial port circuit 2011, a LIN interface circuit 2012, a CAN interface circuit 2013, an Ethernet interface circuit 2014, and a USB interface circuit 2015; the communication module 1 is connected to the serial port circuit 2011, the LIN interface circuit 2012, the CAN interface circuit 2013, the Ethernet interface circuit 2014, and the USB interface circuit 2015; the main control unit 202 is connected to the serial port circuit 2011, the LIN interface circuit 2012, the CAN interface circuit 2013, the Ethernet interface circuit 2014, and the USB interface circuit 2015.
[0056] See Figure 4The diagram shows a serial port circuit 2011. The serial port circuit 2011 is connected to the communication module 1, the main control unit 202, and the power supply unit 204. The protocol converter 2 receives the serial port SP encoding format data signal to be converted sent by the communication module 1 through the serial port circuit 2011, and sends it to the main control unit 202 so that the main control unit 202 converts it into a communication data signal in the 2 / 4 / 8 / 16FSK target encoding format. The serial port circuit 2011 can also send the feedback signal sent by the electronic controller 3 to the communication module 1.
[0057] See Figure 5 The diagram shows a schematic of the LIN interface circuit 2012. The LIN interface circuit 2012 is connected to the communication module 1, the main control unit 202, and the power supply unit 204. The protocol converter 2 receives the data signal to be converted in LIN encoding format through the LIN interface circuit 2012 and sends it to the main control unit 202 so that the main control unit 202 converts it into a communication data signal in 2 / 4 / 8 / 16FSK target encoding format. The LIN interface circuit 2012 can also send the feedback signal sent by the electronic controller 3 to the communication module 1.
[0058] See Figure 6 The diagram shows a schematic of the CAN interface circuit 2013. The CAN interface circuit 2013 is connected to the communication module 1, the main control unit 202, and the power supply unit 204. The protocol converter 2 receives the data signal to be converted in CAN encoding format through the CAN interface circuit 2013 and sends it to the main control unit 202 so that the main control unit 202 converts it into a communication data signal in the 2 / 4 / 8 / 16FSK target encoding format. The CAN interface circuit 2013 can also send the feedback signal sent by the electronic controller 3 to the communication module 1.
[0059] See Figure 7 The diagram shows the Ethernet interface circuit 2014. The Ethernet interface circuit 2014 is connected to the communication module 1, the main control unit 202, and the power supply unit 204. The protocol converter 2 receives the data signal to be converted in Ethernet encoding format through the Ethernet interface circuit 2014 and sends it to the main control unit 202 so that the main control unit 202 converts it into a communication data signal in 2 / 4 / 8 / 16FSK target encoding format. The feedback signal sent by the electronic controller 3 can also be sent to the communication module 1 through the Ethernet interface circuit 2014.
[0060] See Figure 8The diagram shows a schematic of the USB interface circuit 2015. The USB interface circuit 2015 is connected to the communication module 1, the main control unit 202, and the power supply unit 204. The protocol converter 2 receives the data signal to be converted in USB encoding format through the USB interface circuit 2015 and sends it to the main control unit 202 so that the main control unit 202 converts it into a communication data signal in 2 / 4 / 8 / 16FSK target encoding format. The feedback signal sent by the electronic controller 3 can also be sent to the communication module 1 through the USB interface circuit 2015.
[0061] See Figure 9-11 The diagram shown is a schematic of the main control unit 202. The main control unit 202 is connected to the serial port circuit 2011, the LIN interface circuit 2012, the CAN interface circuit 2013, the Ethernet interface circuit 2014, the USB interface circuit 2015, the signal output unit 203, the power supply unit 204, and the human-machine interaction unit 205.
[0062] See Figure 12-14 The diagram shows a schematic of the signal output unit 203. The signal output unit 203 is connected to the main control unit 202, the power supply unit 204, and the electronic controller 3. The protocol converter 2 communicates with the electronic controller 3 through the signal output unit 203.
[0063] See Figure 15-16 The diagram shows a power supply unit 204. The power supply unit 204 is connected to the serial port circuit 2011, LIN interface circuit 2012, CAN interface circuit 2013, Ethernet interface circuit 2014, USB interface circuit 2015, main control unit 202, signal output unit 203, and human-machine interaction unit 205, and provides working power to the serial port circuit 2011, LIN interface circuit 2012, CAN interface circuit 2013, Ethernet interface circuit 2014, USB interface circuit 2015, main control unit 202, signal output unit 203, and human-machine interaction unit 205.
[0064] See Figure 17 The diagram shows the human-machine interaction unit 205. The human-machine interaction unit 205 is connected to the main control unit 202 and the power supply unit 204. The protocol converter 2 displays the control results through the human-machine interaction unit 205.
[0065] This invention uses a protocol converter 2 to convert data signals of different encoding formats into a unified target encoding format. In the absence of a dedicated communication interface circuit, the electronic controller 3 can convert the data signals output from different hardware interfaces of the communication module 1 into an encoding format that the electronic controller can receive. That is, it is not necessary to configure the electronic controller 3 to receive signals output from different hardware interfaces, and the electronic controller 3 can still be controlled.
[0066] Example 2
[0067] See Figure 18 The diagram shown is a schematic diagram of Embodiment 2 of the present invention. The only difference between this embodiment and Embodiment 1 is the structure of the communication module 1. The protocol converter 2 in this embodiment has the same structure as the protocol converter 2 in Embodiment 1.
[0068] In this embodiment, the communication module 1 includes a host computer 101, which is connected to the protocol converter 2. In this embodiment, the host computer 101 sends a signal encoded in serial port SP / USB / Ethernet format to the protocol converter 2, so that the protocol converter 2 converts the signal encoded in serial port SP / USB / Ethernet format into a communication data signal in 2 / 4 / 8 / 16FSK target encoding format.
[0069] After receiving the communication data signal in the target encoding format, the electronic controller 3 performs software flashing to enable control of the electronic controller 3. The electronic controller 3 sends the control result as a feedback signal in the 2 / 4 / 8 / 16FSK target encoding format to the protocol converter 2. The protocol converter 2 converts the 2 / 4 / 8 / 16FSK target encoding format feedback signal into a serial port SP / USB / Ethernet signal and sends it to the host computer 101 so that the staff can view the control result through the host computer 101. This control result is used to indicate whether the software flashing of the electronic controller 3 was successful.
[0070] Example 3
[0071] See Figure 19 The diagram shown is a schematic diagram of Embodiment 3 of the present invention. The only difference between this embodiment and Embodiment 1 is the structure of the communication module 1. The protocol converter 2 in this embodiment has the same structure as the protocol converter 2 in Embodiment 1.
[0072] In this embodiment, the communication module 1 includes a test diagnostic instrument 103, which is connected to the protocol converter 2. In this embodiment, the test diagnostic instrument 103 sends a signal with a LIN / CAN / Ethernet encoding format to the protocol converter 2, so that the protocol converter 2 converts the signal with the LIN / CAN / Ethernet encoding format into a communication data signal with a 2 / 4 / 8 / 16FSK target encoding format.
[0073] After receiving the communication data signal in the target encoding format, the electronic controller 3 performs software flashing to enable control of the electronic controller 3. The electronic controller 3 sends the control result as a feedback signal in the 2 / 4 / 8 / 16FSK target encoding format to the protocol converter 2. The protocol converter 2 converts the 2 / 4 / 8 / 16FSK target encoding format feedback signal into a signal with the encoding format LIN / CAN / Ethernet and sends it to the test diagnostic instrument 103 so that the staff can view the control result through the test diagnostic instrument 103. This control result is used to indicate whether the software flashing of the electronic controller 3 was successful.
[0074] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A control device for an electronic controller, characterized in that, It includes a communication module and a protocol converter; the protocol converter is connected to the communication module and the electronic controller; The communication module is used to receive the data signal to be converted; The protocol converter is used for: The data signal to be converted is converted into a communication data signal in a target encoding format, and the communication data signal is sent to the electronic controller to control the electronic controller; the target encoding format is an encoding format that the electronic controller is allowed to receive. The system receives feedback signals from the electronic controller to obtain control results.
2. The control device for an electronic controller according to claim 1, characterized in that, The communication module includes a host computer and an analyzer; the analyzer is connected to the host computer and the protocol converter.
3. The control device for an electronic controller according to claim 1, characterized in that, The communication module includes a host computer; the host computer is connected to a protocol converter.
4. The control device for an electronic controller according to claim 1, characterized in that, The communication module includes a test diagnostic instrument; the test diagnostic instrument is connected to the protocol converter.
5. The control device for an electronic controller according to claim 1, characterized in that, The protocol converter includes a signal input unit, a main control unit, and a signal output unit; The main control unit is connected to the signal input unit and the signal output unit; the signal input unit is connected to the communication module; and the signal output unit is connected to the controller. The main control unit is used for: Convert the data signal to be converted into a communication data signal; The feedback signal is received to obtain the control result.
6. The control device for an electronic controller according to claim 5, characterized in that, The signal input unit includes a serial port circuit, a LIN interface circuit, a CAN interface circuit, an Ethernet interface circuit, and a USB interface circuit. The communication module is connected to the serial port circuit, the LIN interface circuit, the CAN interface circuit, the Ethernet interface circuit, and the USB interface circuit. The main control unit is connected to the serial port circuit, the LIN interface circuit, the CAN interface circuit, the Ethernet interface circuit, and the USB interface circuit.
7. The control device for an electronic controller according to claim 5, characterized in that, The protocol converter also includes a power supply unit; the power supply unit is connected to the signal input unit, the main control unit, and the signal output unit.
8. The control device for an electronic controller according to claim 7, characterized in that, The protocol converter further includes a human-machine interaction unit; the human-machine interaction unit is connected to the main control unit and the power supply unit; the human-machine interaction unit is used to display the control results.