A LIN communication box

By designing a multi-functional LIN communication box and using the received LIN messages and key adjustment functions, the problem of inconsistent synchronization signal output and signal settings is solved, the versatility and functional diversity of different projects are achieved, and software integration is simplified test.

CN115480498BActive Publication Date: 2025-01-21CHANGZHOU XINGYU AUTOMOTIVE LIGHTING SYST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110601938.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-31
Publication Date
2025-01-21
Estimated Expiration
2041-05-31

AI Technical Summary

Technical Problem

During the development of equipment such as lamps, it is difficult for the existing technology to achieve synchronous LIN communication signal output, which leads to difficulty in software integration testing, and different signal settings for different projects, resulting in high repetition of program writing and increasing labor and material costs.

Method used

Design a multi-functional LIN communication box, which can realize the output of synchronous hard-wired signals through the received LIN messages, and adjust the LIN signal to be sent by pressing the button, so as to realize manual changes of the sent message signals and synchronous hard-wired signals. It is suitable for Different projects.

Benefits of technology

It realizes a common LIN communication box between different projects, reduces the duplication of writing programs, increases the diversity and versatility of functions, and simplifies the software integration testing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115480498B_ABST
    Figure CN115480498B_ABST
Patent Text Reader

Abstract

The present invention provides a LIN communication box, which relates to the field of electronic technology. The main purpose is to realize the output of synchronous hard-wire signals through received LIN messages; at the same time, the LIN signal to be sent can be adjusted by pressing a button to realize manual change of the message signal to be sent and the synchronous hard-wire signal. A communication box can be used between different projects to reduce the repetitiveness of program writing and increase the functions of different modes. The LIN communication box includes: a panel; a microprocessor, which is arranged inside the panel and is respectively connected to the first button, the second button, the first button array, the second button array, and the display screen on the panel; a voltage conversion circuit, which is arranged inside the panel and is used to provide power to the microprocessor; a signal transceiver, which is arranged inside the panel and is used to receive and transmit LIN signals; an output signal controller, which is arranged inside the panel and is connected to the microprocessor and is used to output the level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of electronic technology, and in particular to a LIN communication box. Background Art

[0002] At present, the LIN (Local Interconnect Network) bus is a low-cost single-line serial communication network used to implement distributed electronic control systems in automobiles. As an auxiliary network or self-network of the CAN (Controller Area Network) bus, the LIN bus is specifically used for bottom-end systems with low broadband and real-time requirements. The electrical interface of the nodes of the LIN bus network is simple and can be implemented at a low cost.

[0003] As more and more lamps are developed based on LIN communication functions, in actual testing, the design function scheme will have different types of redundant signals, and there will always be synchronization. Manual operation is difficult to meet the synchronization conditions, making it difficult to achieve comprehensive software integration testing.

[0004] The signals of the projects are different. If the software is set to send fixed signals, it cannot be universal, but increases manpower and material resources. Therefore, designing a multifunctional LIN communication box is an urgent problem to be solved. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a LIN communication box, which can realize the output of synchronous hard-wire signals through received LIN messages; it can also adjust the LIN signal to be sent by pressing buttons to realize manual change of the message signal to be sent and the synchronous hard-wire signal. One communication box can be used for different projects, thereby reducing the repetitiveness of program writing and increasing the functions of different modes.

[0006] The technical solution adopted by the present invention is as follows:

[0007] An embodiment of the present invention provides a LIN communication box, comprising:

[0008] A panel; a microprocessor, arranged inside the panel and respectively connected to a first button, a first button array, a second button, a second button array and a display screen on the panel; a voltage conversion circuit, arranged inside the panel and used to provide power to the microprocessor; a signal transceiver, arranged inside the panel and used to receive and transmit LIN signals; an output signal controller, arranged inside the panel and connected to the microprocessor and used for output level conversion.

[0009] According to one embodiment of the present invention, the LIN communication box comprises: the first button is a master / slave switch button, the master / slave switch button is connected to a pin of the microprocessor, and an input level is input so that the microprocessor can determine the current mode;

[0010] The second button is a message sending / stop button, which is connected to the microprocessor. The message sending / stop button is connected to another pin of the microprocessor. When the button is released, the message sending stops, and when the button is pressed and in host mode, the message is sent.

[0011] According to an embodiment of the present invention, the LIN communication box further comprises: a second button array, wherein the second button array comprises five buttons, and the corresponding functions are: adjusting the up, down, left, and right positions of the message data displayed on the display screen and determining the data;

[0012] The buttons in the second button are respectively connected to different pins of the microprocessor, and the monitored message signal is determined by adjusting the up, down, left, right and confirm buttons.

[0013] According to one embodiment of the present invention, the LIN communication box further includes: a second button array, the second button array includes eight buttons, and the corresponding functions are: data increase, data decrease, data clear, data setting determination, time increase, time decrease, time clear and time setting determination; the buttons in the second button array are respectively connected to different pins of the microprocessor, and the input jump level is used for the microprocessor to determine the setting value of the frame ID number, different byte data and message sending cycle.

[0014] According to one embodiment of the present invention, the LIN communication box comprises: the output signal controller converts the synchronous hard-line signal level output by the microprocessor into a level detectable by an external ECU.

[0015] According to an embodiment of the present invention, the LIN communication box comprises: the display screen is connected to a liquid crystal display circuit for displaying adjustment data of the key array controlled by a microprocessor.

[0016] According to an embodiment of the present invention, the LIN communication box further includes: a power indicator light, wherein the power indicator light is made of a light-transmitting PV material and the presentation area is lit.

[0017] According to an embodiment of the present invention, in the LIN communication box, the voltage converter is a stable voltage conversion output chip for supplying 5V power to the microprocessor.

[0018] Beneficial effects of the present invention:

[0019] The output of synchronous hard-wire signals can be achieved through the received LIN messages; the LIN signals to be sent can also be adjusted by buttons to manually change the message signals to be sent and the synchronous hard-wire signals. A communication box can be used between different projects to reduce the repetitiveness of program writing and increase the functions of different modes. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A slave mode LIN communication box provided by an embodiment of the present invention is shown;

[0021] Figure 2 Another host mode LIN communication box provided by an embodiment of the present invention is shown;

[0022] Figure 3 An external planar structural diagram of a LIN communication box provided by an embodiment of the present invention is shown;

[0023] Figure 4 The figure shows the internal plan structure of a LIN communication box provided by an embodiment of the present invention;

[0024] Figure 5 A working diagram of a LIN communication box provided by an embodiment of the present invention is shown; DETAILED DESCRIPTION

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

[0026] The embodiment of the present invention provides a slave mode LIN communication box, such as Figure 1 As shown, including:

[0027] Panel 11;

[0028] The microprocessor 12 is disposed inside the panel 11 and is respectively connected to the first button 13, the first button array 14, the second button 19, the second button array 110 and the display screen 15 on the panel 11;

[0029] In the embodiment of the present invention, the display screen can be selected as the 1602A3.3V model. The 1602A3.3V model display screen has the advantages of small size, low power consumption, ultra-thin and light, rich display content, and easy use. However, it should be noted that this statement is not intended to limit the LCD display screen to only the 1602A3.3V model.

[0030] The microcontroller 12 uses a 64-pin chip of KEA128, which has the characteristics of extremely low power consumption, 2.7-5.5 volt (v) power supply, excellent EMC / ESD robustness, etc. At the same time, the microprocessor needs to have a sufficient number of pins to connect with the first button, the first button array and the display screen on the panel, and can quickly process the received button signal and LIN signal, and display the adjusted data in real time.

[0031] The meaning of the data displayed on the display screen in the embodiment of the present invention is as follows, exemplarily: the first 6 characters of the first line of data displayed on the LCD screen represent the cycle time, 0000ms means that the message and hard-line level are sent all the time, and 0200ms means that the message and hard-line level are sent periodically in the form of 200ms high and 200ms low. The last 3 characters of the first line represent the ID number of the message, which is hexadecimal. The 16 characters of the second line represent the 8 bytes of data of the message, which is also hexadecimal. At the same time, the microprocessor converts the processed output voltage signal into a voltage signal used by the external ECU through the control signal output device, which meets the acquisition circuit voltage of the external ECU, and improves the diversity and versatility of the functions of the LIN communication box.

[0032] A voltage conversion circuit 16 is disposed inside the panel 11 and is used to provide power to the microprocessor 12;

[0033] In practical applications, the voltage value used by the microprocessor is fixed, for example: 5V, while the actual power supply voltage is uncertain. Therefore, when setting up the LIN communication box, a voltage conversion circuit needs to be added so that the LIN communication box can be applied in various occasions.

[0034] A signal transceiver 17, disposed inside the panel 11, for receiving and transmitting LIN signals;

[0035] In the embodiment of the present invention, the signal transceiver can be selected as TJA1028 model, which has strong electrostatic discharge performance, can withstand high voltage on the LIN bus, and has sleep and wake-up functions. It should be noted that this statement is not intended to limit the signal transceiver to only TJA1028 model.

[0036] The output signal controller 18 is disposed inside the panel 11 and connected to the microprocessor 12 for output level conversion.

[0037] The first key array 14, such as Figure 3 As shown, the first button array 14 includes five buttons, and the corresponding functions are: adjusting the up, down, left, and right positions of the message data displayed on the display screen and confirming the data;

[0038] The buttons in the first button array 14 are respectively connected to different pins of the microprocessor 12, and the monitored message signal is determined by adjusting the up, down, left, right and confirm buttons.

[0039] In the embodiment of the present invention, Figure 5 As shown, when VCC and GND are connected to the positive and negative power supply respectively, the communication box enters the slave mode by default and enables the LIN receive interrupt. When there is data on the LIN bus, the microprocessor enters the interrupt, parses each frame of the LIN message, and displays it on the display screen. The monitored message signal bit is determined by pressing the up, down, left, right and confirm buttons. If the monitored message data is a non-zero value, a synchronous hard-line high level is output to the level output electrical port of the LIN communication box, otherwise a synchronous hard-line low level is output.

[0040] At present, for the synchronous design function scheme, it is necessary to write test programs for different signal transmissions. Different projects may have different signal transmission methods, resulting in different corresponding test programs, difficult operation, and a large waste of manpower and material resources. In the embodiment of the present invention, the LIN communication box microprocessor may include but is not limited to the following functions: the level signal adjusted by each button, the data on the LIN transceiver Rx line to realize the display function on the display screen, the output LIN message and the synchronous hard line level function, which improves the functional diversity and versatility of the LIN communication box, and is not specifically limited.

[0041] The embodiment of the present invention also provides a host mode LIN communication box, such as Figure 2 As shown, it includes: a panel; a microprocessor, which is arranged inside the panel and is respectively connected to the first button, the first button array, the second button, the second button array, and the display screen on the panel; a voltage conversion circuit, which is arranged inside the panel and is used to provide power to the microprocessor; a signal transceiver, which is arranged inside the panel and is used to receive and transmit LIN signals; an output signal controller, which is arranged inside the panel and is connected to the microprocessor and is used to convert the output level. The embodiment of the present invention receives and processes signal data through the microprocessor, and displays the processed data on the liquid crystal display screen, so that the user can know the data currently being operated. At the same time, the microprocessor outputs the processed output voltage signal through the control signal output device, thereby improving the diversity and versatility of the functions of the LIN communication box.

[0042] Further, such as Figure 2 As shown, the LIN communication box also includes:

[0043] The first button 13 is a master / slave switch button, which is connected to a pin of the microprocessor 12 and inputs a level so that the microprocessor 12 can determine the current mode;

[0044] The second button 19 is a message sending / stop button, which is connected to the microprocessor 12. The message sending / stop button is connected to another pin of the microprocessor 12. When the button is released, the message sending stops, and when the button is pressed and in the host mode, the message is sent.

[0045] In the embodiment of the present invention, it can be set that when the first button is released, a high level is input, and it is in slave mode at this time; when the first button is pressed, a low level is input, and it is in master mode at this time, and vice versa is also possible, and the specific details are not limited. For the convenience of description in the embodiment of the present invention, it is set that pressing the first button is the master mode, and releasing the first button is the slave mode.

[0046] Further, such as Figure 2 As shown, the LIN communication box also includes:

[0047] The second key array 110, such as Figure 3 As shown, the second button array 110 includes eight buttons, and the corresponding functions are: data increase, data decrease, data clear, data setting confirmation, time increase, time decrease, time clear and time setting confirmation;

[0048] The buttons in the second button array 110 are respectively connected to different pins of the microprocessor 12, and input transition levels for the microprocessor 12 to determine the setting values ​​of the frame ID number, different byte data and message sending cycle.

[0049] The output signal controller 17 converts the synchronous hard-wire signal level output by the microprocessor 12 into a level detectable by an external ECU.

[0050] The display screen 15 is connected to the liquid crystal display circuit 111 and is used to display the adjustment data of the key array 110 controlled by the microprocessor 12 .

[0051] The power indicator light 112 is made of a light-transmitting PV material, and the display area is lit. In the embodiment of the present invention, the power indicator light is used to indicate whether the power supply is normal, thereby reminding the user of the status of the LIN communication box.

[0052] The voltage conversion circuit 16 is a stable voltage conversion output chip for supplying 5V power to the microprocessor.

[0053] like Figure 5As shown, in an embodiment of the present invention, after the power supply is connected, when the first button is pressed, the communication box is in the host mode, and the frame ID number, frame data and frame period sending time are set by adjusting the six buttons of data increase, data decrease, data clear, data setting determination, time increase, time decrease, time clear and time setting determination, and then the monitored message signal bit is determined by the up, down, left, right and determination buttons, and then the send button is pressed. The microprocessor outputs the LIN signal and the synchronous hard line signal according to the received key level signal. During the message sending process, the sending cycle of a certain signal can be modified. The functions of different buttons are as follows, exemplarily: the data setting determination button is used to determine the currently adjusted data. The data increase button is pressed once, and the data increases by 1. Similarly, the data decrease button is pressed once, and the data decreases by 1. After the data clear button is pressed, the data value of the current bit is cleared to 0. The button function of the time adjustment is similar to the button function of the data adjustment, except that the time adjustment button controls the frame period sending time, and the data adjustment button controls the frame ID number and frame data value. Compared with the traditional LIN communication box, the functions of the same phase are more diversified, which improves the universality of use.

[0054] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0055] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A LIN communication box, characterized in that: include: panel; A microprocessor is disposed inside the panel and is respectively connected to the first button, the first button array, the second button, the second button array and the display screen on the panel; A voltage conversion circuit is disposed inside the panel and is used to provide power to the microprocessor; A signal transceiver, disposed inside the panel, for receiving and transmitting LIN signals; An output signal controller, arranged inside the panel and connected to the microprocessor, for output level conversion; The first button is a host / slave switching button, which is connected to a pin of the microprocessor and inputs a level so that the microprocessor can determine the current mode; the second button is a message sending / stop button, which is connected to the microprocessor and connected to another pin of the microprocessor. When the button is released, the message sending stops, and when the button is pressed and in host mode, the message is sent.

2. The LIN communication box according to claim 1, characterized in that: Also includes: A first button array, wherein the first button array includes five buttons, and the corresponding functions are: adjusting the up, down, left, and right positions of the message data displayed on the display screen and confirming the data; The buttons in the first button are respectively connected to different pins of the microprocessor, and the monitored message signal is determined by adjusting the up, down, left, right and confirm buttons.

3. The LIN communication box according to claim 1, characterized in that: Also includes: The second key array comprises eight keys, and the corresponding functions are: data increase, data decrease, data clear, data setting confirmation, time increase, time decrease, time clear and time setting confirmation; the keys in the second key array are respectively connected to different pins of the microprocessor, and the input jump level is used for the microprocessor to determine the setting value of the frame ID number, different byte data and message sending cycle.

4. The LIN communication box according to claim 1, characterized in that: The output signal controller converts the synchronous hard-wire signal level output by the microprocessor into a level detectable by an external ECU.

5. The LIN communication box according to claim 2, characterized in that: The display screen is connected to a liquid crystal display circuit and is used to display the adjustment data of the key array controlled by a microprocessor.

6. The LIN communication box according to any one of claims 1 to 5, characterized in that: Also includes: The power indicator light is made of a light-transmitting PV material, and the presentation area is lit.

7. The LIN communication box according to claim 5, characterized in that: The voltage conversion circuit is a stable voltage conversion output chip, which provides 5V power for the microprocessor.

Citation Information

Patent Citations

  • Communication method for electronic micro-controller of automobile based on CAN-LIN network

    CN106184069A

  • Car lamp control system based on CAN-LIN network

    CN106218548A