Signal transmission system, method, vehicle, storage medium, and program product
By using the system of signal output module, main control chip and power module on the vehicle, the operating status of the on-board controller is monitored and controlled, and the wake-up signal transmission is optimized, which solves the problem of poor signal transmission flexibility of different on-board controllers on the vehicle and realizes More stable signal transmission.
Patent Information
- Application Number
- CN202410840313.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-11
AI Technical Summary
The signal transmission flexibility between different on-board controllers on the vehicle is poor, and it is easy for the wake-up signal transmission to be unstable due to the influence of other signals.
The system uses signal output modules, main control chips and power modules to output wake-up signals through the controller LAN protocol, monitor and control the operating status and signal transmission status of the on-board controller, and use level conversion and signal enhancement modules to optimize the transmission of wake-up signals. .
It improves the flexibility and stability of wake-up signal transmission, ensures that the on-board controller can stably operate according to the wake-up signal, and solves the problem of flexibility in signal transmission.
Smart Images

Figure CN118764550A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing, and in particular to a signal transmission system, method, vehicle, storage medium and program product. Background Art
[0002] With the increase of functional equipment on the vehicle, the corresponding on-board controllers are also increasing. At the same time, a large number of on-board controllers may be in working state, and a large number of signals will be transmitted between different on-board controllers. Different transmission signals may affect each other, resulting in poor flexibility in transmitting the wake-up signal for controlling the operation of the on-board controller due to the influence of other signals. Summary of the invention
[0003] Embodiments of the present invention provide a signal transmission system, method, vehicle, storage medium and program product to at least solve the technical problem of flexibility in signal transmission between different on-board controllers on a vehicle in the related art.
[0004] According to one aspect of an embodiment of the present invention, a signal transmission system is provided, comprising: a signal output module, used to output a wake-up signal based on a controller area network protocol, wherein the wake-up signal is used to control the operation of an on-board controller on a vehicle; a main control chip, connected to the signal output module, used to monitor and control the operating status of the on-board controller on the vehicle and the transmission status of the wake-up signal; a power supply module, connected to the signal output module and the main control chip, used to provide power to the signal output module, the main control chip and the on-board controller.
[0005] Further, the wake-up signal includes: a first wake-up signal, which is at a high level when the signal output module is working, and is in an open-drain state when the signal output module is in sleep mode; a second wake-up signal, which is at a low level when the signal output module is working, and is at a high level when the signal output module is in sleep mode, and the duration of the second wake-up signal is shorter than the duration of the first wake-up signal.
[0006] Furthermore, the above system also includes: a first level conversion module, connected to the signal output module, and used to level convert the second wake-up signal output by the signal output module to obtain a third wake-up signal; a signal enhancement module, connected to the first level module and the main control chip, and used to enhance the third wake-up signal to extend the duration of the converted third wake-up signal, and transmit the enhanced third wake-up signal to the main control chip; a first or logic module, connected to the signal enhancement module, the signal output module and the power module, and used to send a power wake-up signal to the power module to wake up the power module when receiving the first wake-up signal and / or the enhanced third wake-up signal.
[0007] Furthermore, the above system also includes: a second level conversion module, connected to the power module and the main control chip, for level-converting the first fault signal output by the power module to obtain the converted first fault signal, and level-converting the second fault signal output by the main control chip to obtain the converted second fault signal; a second or logic module, connected to the main control chip, the second level conversion module and the signal output module, for sending a timeout protection signal to the signal output module when receiving the converted first fault signal and / or the converted second fault signal, or the stop output signal sent by the main control chip; the signal output module is used to stop outputting the wake-up signal when the duration of receiving the timeout protection signal reaches a preset time threshold, and send a feedback signal to the main control chip, and the feedback signal is used to indicate that the signal output module has stopped running.
[0008] According to one aspect of an embodiment of the present invention, a signal transmission method is also provided, including: in response to detecting that a signal output module outputs a wake-up signal based on a controller local area network protocol, transmitting the wake-up signal to a main control chip and a power supply module, wherein the wake-up signal is used to control the operation of an on-board controller on a vehicle, the power supply module is used to provide power to the signal output module, the main control chip and the on-board controller, and the main control chip is used to monitor the operating status of the on-board controller on the vehicle; based on the main control chip, the wake-up signal is identified to obtain an identification result; based on the main control chip, the identification result and the target operating status of the on-board controller are analyzed to determine the transmission status of the wake-up signal; based on the main control chip, the wake-up signal and the on-board controller are controlled according to the transmission status.
[0009] Furthermore, the above method also includes: in response to detecting that the power supply module and / or the main control chip outputs a fault signal, or the main control chip outputs a stop output signal, generating a timeout protection signal based on the fault signal and / or the output stop signal; sending the timeout protection signal to the signal output module, and obtaining the sending time of the timeout protection signal; in response to the sending time reaching a preset time threshold and the signal output module does not stop outputting the wake-up signal, controlling the signal output module to stop running.
[0010] Furthermore, a timeout protection signal is generated based on the fault signal and / or the output stop signal, including: converting the fault signal from a low level to a high level based on a level conversion module to obtain a high level fault signal; and constructing the timeout protection signal based on the stop output signal and / or the high level fault signal.
[0011] According to another aspect of an embodiment of the present invention, a vehicle is further provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.
[0012] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0013] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0014] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0015] According to another aspect of the embodiments of the present invention, a computer program is further provided. When the computer program is executed by a processor, the methods in the embodiments of the present invention are implemented.
[0016] In an embodiment of the present invention, a signal transmission system including a signal output module, a main control chip and a power supply module is adopted. By utilizing the signal output module, a wake-up signal is output to the main control chip and the power supply module based on the controller local area network protocol. The power supply module can be controlled to provide power to different on-board controllers on the vehicle, and the operation of the main control chip can be controlled, so that the main control chip can monitor the operating status of the on-board controller on the vehicle and the transmission status of the wake-up signal, and further control the transmission process of the wake-up signal and the operating status of the on-board controller according to the operating status and the transmission status, so as to flexibly control the transmission of the wake-up signal for potential abnormal transmission of the wake-up signal during the transmission process, so as to control the on-board controller to stably operate according to the corresponding wake-up signal, thereby improving the flexibility and stability of the transmission of the wake-up signal, and further solving the technical problem of the flexibility of signal transmission between different on-board controllers on the vehicle in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0018] Figure 1 is a structural block diagram of a signal transmission system according to an embodiment of the present invention;
[0019] Figure 2 It is a structural block diagram of a CAN signal transmission system according to an embodiment of the present application;
[0020] Figure 3 It is a flowchart of a signal transmission method according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 the present invention 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, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] Example 1
[0024] According to an embodiment of the present invention, a system embodiment of signal transmission is provided. Figure 1 is a structural block diagram of a signal transmission system according to an embodiment of the present invention. Figure 1 As shown, the system includes:
[0025] The signal output module 102 is used to output a wake-up signal based on the controller area network protocol.
[0026] The wake-up signal is used to control the operation of an on-board controller on the vehicle.
[0027] The above-mentioned signal output module may refer to a module deployed on the vehicle for outputting a wake-up signal, and may include but is not limited to: CAN (Controller Area Network) signal output module, LIN (Local Interconnect Network) signal output module, FlexRay signal output module and other modules. The above-mentioned controller area network protocol may refer to a protocol for transmitting signals between different vehicle controllers, and may refer to a CAN protocol. To ensure the applicability of the signal output module, the protocols configured in the signal output module may also include but are not limited to: LIN protocol, MOST (Media Oriented Systems Transport) protocol and other protocols. The above-mentioned wake-up signal may refer to a signal used to control the operation of different on-board controllers on the vehicle, which may be output according to the pin characteristics of the signal output module. Taking the signal output module as a CAN signal output module as an example, the above-mentioned wake-up signal may include but is not limited to: a TX signal output according to the TX pin characteristics of the CAN signal output module, an RX signal output according to the TX pin characteristics, an INH signal output according to the INH pin characteristics, and other signals. The CAN signal output module may include several CAN signal transceivers and a CAN bus. The CAN signal output module may communicate with the main control chip through the UART serial port, and transmit the above-mentioned wake-up signal through the bus to communicate with other on-board controllers and external devices. The above-mentioned on-board controller may refer to the on-board controller that needs to be controlled and operated on the vehicle, for example, it may be a controller corresponding to equipment such as a vehicle air conditioner and a vehicle audio system.
[0028] In an optional scheme of the present embodiment, at least one signal output module may be configured in the signal transmission system, and a wake-up signal may be outputted to different on-board controllers on the vehicle through the signal output module, so that the on-board controller can immediately recover from a sleep state to a working state, thereby allowing the on-board controller to be in a sleep state when not working, thereby reducing resource consumption generated by maintaining continuous operation of the on-board controller. Furthermore, a corresponding signal transmission protocol may be configured for the above-mentioned signal output module, such as the above-mentioned controller local area network protocol, so that the signal transmission system can accurately control the communication sequence and communication time between different on-board controllers, thereby improving flexibility in signal transmission.
[0029] The main control chip 104 is connected to the signal output module and is used to monitor and control the operating state of the on-board controller and the transmission state of the wake-up signal on the vehicle.
[0030] The above-mentioned main control chip can be used as the above-mentioned vehicle-mounted controller. For example, if the main control chip is not working, and the main control chip is currently required to work to monitor other vehicle-mounted controllers on the vehicle, such as the operating status of the vehicle air conditioner and vehicle audio, the signal output module can send a wake-up signal to the main control chip to control the operation of the main control chip.
[0031] In an optional solution of this embodiment, in order to accurately control different on-board controllers on the vehicle, the above-mentioned main control chip can also be configured in the signal transmission system, and the main control chip can be connected to the above-mentioned signal output module to monitor and control the wake-up signal output by the signal output module and the on-board controller on the vehicle. If the main control chip is not currently working, but the main control chip is required to monitor other on-board controllers on the vehicle, then the main control chip can first receive the wake-up signal output by the signal output module for waking up the main control chip to start working, so as to monitor the operating status of different on-board controllers on the vehicle in real time, and then identify other wake-up signals, determine the relevant information of the on-board controller that needs to be controlled at present, such as determining the controller identification, controller type, control instructions and other information of the on-board controller, and determine the transmission status of these wake-up signals based on this information and the operating status of the on-board controller. For example, if after the signal output module outputs the wake-up signal, the operating status of the vehicle controller is consistent with the control instructions contained in the corresponding wake-up signal, and relevant information of the wake-up signal is stored in the log of the vehicle controller, then it can be considered that the wake-up signal is currently transmitted successfully; if the operating status of the vehicle controller is inconsistent with the control instructions contained in the corresponding wake-up signal, then it means that the wake-up signal may not be successfully transmitted to the vehicle controller, that is, the current transmission status of the wake-up signal is unsuccessful transmission.
[0032] After determining the transmission status of the wake-up signal, further signal control operations can be performed according to the transmission status. For example, if the transmission status of the wake-up signal does not indicate successful transmission of the wake-up signal, the main control chip can maintain the operating status of the vehicle controller, and store the relevant transmission information of the wake-up signal and the relevant operating information of the vehicle controller in a preset storage space for user viewing; if the transmission status is that the wake-up signal transmission is unsuccessful, the main control chip further analyzes the reasons for the unsuccessful transmission, for example, by detecting parameters such as the transmission time, transmission level, and transmission line of the wake-up signal, detecting the transmission line of the wake-up signal, etc., to determine whether the transmission time of the wake-up signal is less than a preset threshold, whether the transmission level is correct, whether the transmission line is correct, and other information, and then determine further control operations based on the analyzed information, such as sending a message of failed wake-up signal transmission to the signal output module, controlling the signal output module to resend the wake-up signal, and directly controlling the vehicle controller according to the information contained in the wake-up signal.
[0033] Based on this, in the signal transmission system, the main control chip monitors and controls the wake-up signal and the vehicle controller, which can achieve stable control of the vehicle operation, thereby avoiding the situation where the wake-up signal transmission error leads to the vehicle controller control error, thereby improving the stability and flexibility of the signal transmission.
[0034] The power module 106 is connected to the signal output module and the main control chip, and is used to provide power to the signal output module, the main control chip and the vehicle controller.
[0035] The above-mentioned power module may refer to a module used to provide power to different on-board controllers on a vehicle.
[0036] In an optional scheme of the present embodiment, in order to be able to reasonably control the startup and shutdown of different on-board controllers on the vehicle, a power module that can actively provide power can also be configured in the signal transmission system, and the power module can be connected to the above-mentioned signal output module and the main control chip to provide power to the main control chip and the signal output module in real time. At the same time, according to the control signal output by the main control chip, or the wake-up signal output by the signal output module and other signals, power is provided to different on-board controllers on the vehicle to achieve active control of the operation or sleep of the on-board controller, thereby improving the flexibility in controlling different on-board controllers on the vehicle, and then improving the flexibility in transmitting signals between different on-board controllers.
[0037] In an embodiment of the present invention, a signal transmission system including a signal output module, a main control chip and a power supply module is adopted. By utilizing the signal output module, a wake-up signal is output to the main control chip and the power supply module based on the controller local area network protocol. The power supply module can be controlled to provide power to different on-board controllers on the vehicle, and the operation of the main control chip can be controlled, so that the main control chip can monitor the operating status of the on-board controller on the vehicle and the transmission status of the wake-up signal, and further control the transmission process of the wake-up signal and the operating status of the on-board controller according to the operating status and the transmission status, so as to flexibly control the transmission of the wake-up signal for potential abnormal transmission of the wake-up signal during the transmission process, so as to control the on-board controller to stably operate according to the corresponding wake-up signal, thereby improving the flexibility and stability of the transmission of the wake-up signal, and further solving the technical problem of the flexibility of signal transmission between different on-board controllers on the vehicle in the related technology.
[0038] Further, the wake-up signal includes: a first wake-up signal, which is at a high level when the signal output module is working, and is in an open-drain state when the signal output module is dormant; a second wake-up signal, which is at a low level when the signal output module is working, and is at a high level when the signal output module is dormant, and the duration of the second wake-up signal is shorter than the duration of the first wake-up signal.
[0039] The above-mentioned first wake-up signal may refer to a high-level signal output by the signal output module, that is, the first wake-up signal will be at a high level when the signal output module is working normally, and at a low level when the signal output module is not working normally, for example, it may be the INH signal mentioned above. The above-mentioned second wake-up signal may refer to a low-level signal output by the signal output module, and may be a pulse signal, that is, the second wake-up signal will be at a low level when the signal output module is working normally, and at a high level when the signal output module is not working normally, for example, it may be the RX signal mentioned above. The above-mentioned duration may refer to the duration of the signal level. Generally, the duration of the second wake-up signal will be less than the duration of the first wake-up signal.
[0040] In an optional scheme of the present embodiment, the pin configurations of different signal output modules may be different. Taking the CAN signal output module as an example, some CAN signal output modules are configured with an INH pin, while some CAN signal output modules are not configured with an INH pin. The configuration costs of these two signal output modules are different. Based on this, in order to improve the applicability of the signal transmission system, it is possible to consider the situation where the wake-up signal includes both the first wake-up signal and the second wake-up signal mentioned above.
[0041] Furthermore, the above system also includes: a first level conversion module, connected to the signal output module, for level converting the second wake-up signal output by the signal output module to obtain a third wake-up signal; a signal enhancement module, connected to the first level module and the main control chip, for signal enhancement of the third wake-up signal to extend the duration of the converted third wake-up signal, and transmit the enhanced third wake-up signal to the main control chip; a first or logic module, connected to the signal enhancement module, the signal output module and the power supply module, for sending a power wake-up signal to the power supply module to wake up the power supply module when receiving the first wake-up signal and / or the enhanced third wake-up signal.
[0042] The first level conversion module may refer to a module for converting the second wake-up signal output by the signal output module from a low level to a high level when the signal output module is working normally. The signal enhancement module may refer to a module for extending the level duration of the second wake-up signal. The first or logic module may refer to a module for waking up the main control chip and the power module according to the wake-up signal output by the signal output module.
[0043] In an optional scheme of the present embodiment, considering that the second wake-up signal is at a low level and the level duration is short, the signal transmission system may not be able to directly wake up the above-mentioned main control chip or power module through the second wake-up module. Therefore, in order to avoid the situation where only the second wake-up signal can be output in the signal output module, for example, the INH pin is not configured in the CAN signal output module, and only the RX signal can be output, and the corresponding main control chip or power module cannot recognize the RX signal, the above-mentioned first level conversion module can also be configured in the above-mentioned signal transmission system, so that the signal transmission system can convert the second wake-up signal from a low level to a high level through the above-mentioned first level conversion module to obtain a third wake-up signal at a high level, and at the same time in the signal The above-mentioned signal enhancement module is configured in the signal transmission system so that the signal transmission system can extend the level duration of the second wake-up signal. It should be noted that the connection order between the above-mentioned first level conversion module and the signal enhancement module can be set by the user and is not limited here. For example, the first level conversion module can be connected to the signal output module first to level-convert the second wake-up signal output by the signal output module to obtain the above-mentioned third wake-up signal, and then the signal enhancement module can be connected to the first level conversion module, the main control chip and the power supply module to enhance the converted third wake-up signal, extend the duration of the third wake-up signal, and transmit the enhanced third wake-up signal to the main control chip and the power supply module.
[0044] In an optional scheme of the present embodiment, considering that the working module of the power module is relatively simple and only needs to provide power to other vehicle-mounted controllers, the power module does not actually need to be controlled by multiple wake-up signals at the same time. Based on this, the above-mentioned first or logic module can also be configured in the signal transmission system, and the first or logic module can be connected to the above-mentioned signal output module, signal enhancement module and power module. When the first or logic module receives the first wake-up signal or the enhanced third wake-up signal, or receives the first wake-up signal and the enhanced third wake-up signal at the same time, it directly sends a power wake-up signal to the power module to wake up the power module.
[0045] Furthermore, the above system also includes: a second level conversion module, connected to the power supply module and the main control chip, for level-converting the first fault signal output by the power supply module to obtain the converted first fault signal, and level-converting the second fault signal output by the main control chip to obtain the converted second fault signal; a second or logic module, connected to the main control chip, the second level conversion module and the signal output module, for sending a timeout protection signal to the signal output module when receiving the converted first fault signal and / or the converted second fault signal, or the stop output signal sent by the main control chip; a signal output module, for stopping outputting the wake-up signal when the duration of receiving the timeout protection signal reaches a preset time threshold, and sending a feedback signal to the main control chip, the feedback signal being used to indicate that the signal output module has stopped running.
[0046] The above-mentioned stop output signal can be a module used to control the signal output module to stop outputting the wake-up signal, and can be output by the TXD pin of the main control chip. When the main control chip is working, the stop output signal is at a high level.
[0047] In an optional solution of the present embodiment, in order to prevent the main control chip or the power module from failing, resulting in the transmission of erroneous data to other on-board controllers or the inability to accurately receive data, the fault signal pin of the main control chip and the fault signal pin of the power module can also be connected to the signal output module, so that when the main control chip or the power module fails, a corresponding fault signal can be sent to the signal output module to prompt the signal output module that it can no longer continue to work, thereby shutting down the main control chip or the power module to avoid the situation of sending and receiving erroneous data. Considering that the fault signal is generally a low-level signal, in order to ensure that the signal output module can smoothly detect the fault signal sent by the main control chip or the power module, a corresponding second level conversion module can also be configured in the signal transmission system, and the second level conversion module is connected to the power module and the main control chip to convert the fault signal output by the power module, i.e., the above-mentioned first fault signal, and the fault signal output by the main control chip, i.e., the above-mentioned second fault signal, to obtain a first fault signal at a high level or a second fault signal at a high level, i.e., the converted first fault signal or the converted second fault signal. At the same time, the above-mentioned second OR logic module is set in the signal transmission system, and the second OR logic module is connected to the main control chip, the second level conversion module and the signal output module. The second OR logic module sends a signal to stop working to the signal output module, that is, the above-mentioned timeout protection signal. Based on this, when receiving any one or more of the converted first fault signal and the second fault signal output by the second level conversion module, and the stop output signal output by the main control chip through the TXD pin, the second OR logic module can send the above-mentioned timeout protection signal to the signal output module to control the signal output module to stop working. Correspondingly, in order to avoid the occurrence of detection errors, when the signal output module receives the timeout protection signal, it can be determined that the duration of the timeout protection signal is greater than the preset time threshold. If it is greater than, it means that the current power supply module or the main control chip may have a situation of sending and receiving erroneous data. At this time, the signal output module can stop outputting the wake-up signal and send a feedback signal to the main control chip to prompt the signal output module to stop working.
[0048] Take the signal output module as an example, the signal output module is a CAN signal output module. Figure 2 is a structural block diagram of a CAN signal transmission system according to an embodiment of the present application, such as Figure 2As shown, the system may at least include: a CAN signal output module 102, a main control chip 104 and a power module 106. In addition, the system may also be configured with a first level conversion module 201, a signal enhancement module 202, a first or logic module 203, a second level conversion module 204, and a second or logic module 205. In addition to the main system modules, INH may refer to a first wake-up signal output by the signal output module, CAN_RX may refer to a second wake-up signal, RX may refer to a second wake-up signal output by the signal output module, OTH may refer to other wake-up signals, which may be sent by other signal output modules, Sign may refer to a power wake-up signal output by the first or logic module, TX may refer to a stop output signal sent by the main control chip through the TXD pin, ERRO1 may refer to a first fault signal output by the power module, ERRO2 may refer to a second fault signal output by the main control chip, CAN_TX may refer to a timeout protection signal output by the second or logic module, and POW may refer to the power output by the power module. The CAN signal output module 102 may also include a plurality of transceivers CAN1, CAN2, ...CANn, which may transmit the above-mentioned wake-up signal through a bus to communicate with other vehicle controllers and external devices.
[0049] Example 2
[0050] According to an embodiment of the present invention, corresponding to the above-mentioned signal transmission system, a signal transmission method embodiment is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0051] Figure 3 is a flow chart of a signal transmission method according to an embodiment of the present application. Figure 3 As shown, the method comprises the following steps:
[0052] Step S302 , in response to detecting that the signal output module outputs a wake-up signal based on the controller area network protocol, the wake-up signal is transmitted to the main control chip and the power module.
[0053] Among them, the wake-up signal is used to control the operation of the on-board controller on the vehicle, the power module is used to provide power to the signal output module, the main control chip and the on-board controller, and the main control chip is used to monitor the operating status of the on-board controller on the vehicle.
[0054] The above-mentioned signal output module may refer to a module deployed on the vehicle for outputting a wake-up signal. The above-mentioned controller area network protocol may refer to a protocol for transmitting signals between different vehicle controllers. The above-mentioned wake-up signal may refer to a wake-up signal output according to the pin characteristics of the signal output module. The above-mentioned main control chip may refer to a module for monitoring and controlling the vehicle controller on the vehicle. The above-mentioned power module may refer to a module for providing power to different vehicle controllers on the vehicle. The above-mentioned vehicle controller may refer to the vehicle controller on the vehicle that currently needs to be controlled and operated.
[0055] In an optional scheme of this embodiment, when it is detected that the signal output module outputs a wake-up signal based on the controller local area network protocol, the wake-up signal can be transmitted to the main control chip and the power module to wake up the main control chip and the power module, thereby controlling the power module to provide power for the above-mentioned vehicle-mounted controller, and controlling the main control chip to monitor and control the operating status of different vehicle-mounted controllers on the vehicle in real time.
[0056] Step S304: Identify the wake-up signal based on the main control chip to obtain an identification result.
[0057] In an optional scheme of this embodiment, after the main control chip receives the wake-up signal, it can also identify the wake-up signal and determine the relevant information of the vehicle controller that currently needs to be controlled contained in the wake-up instruction, such as determining the controller identification, controller type, control instructions and other information of the vehicle controller to obtain the above-mentioned identification result.
[0058] Step S306 , analyzing the recognition result and the target operating state of the vehicle controller based on the main control chip, and determining the transmission state of the wake-up signal.
[0059] After obtaining the recognition result, the main control chip can determine the target operating state of the vehicle controller from the operating states of different vehicle controllers according to the recognition result, and then determine the transmission state of the corresponding wake-up signal according to the recognition result and the target operating state of the vehicle controller. For example, if the operating state of the vehicle controller is consistent with the control instruction contained in the corresponding wake-up signal, and the relevant information of the wake-up signal is stored in the log of the vehicle controller, it can be considered that the wake-up signal is currently transmitted successfully; if after the signal output module outputs the wake-up signal, the operating state of the vehicle controller does not match the corresponding wake-up signal, it means that the wake-up signal may not be successfully transmitted to the vehicle controller, that is, the current transmission state of the wake-up signal is unsuccessful transmission.
[0060] Step S308, based on the main control chip, control the wake-up signal and the vehicle controller according to the transmission status.
[0061] After determining the transmission status of the wake-up signal, the main control chip can further control the wake-up signal and the vehicle controller according to the transmission status. For example, if the transmission status of the wake-up signal is not that the wake-up signal is successfully transmitted, the main control chip can maintain the operating status of the vehicle controller, and store the relevant transmission information of the wake-up signal and the relevant operating information of the vehicle controller in a preset storage space for the convenience of user viewing; if the transmission status is that the wake-up signal transmission is unsuccessful, the main control chip further analyzes the reasons for the unsuccessful transmission, such as by detecting the transmission time, transmission level, transmission line and other parameters of the wake-up signal, detecting the transmission line of the wake-up signal, etc., to determine whether the transmission time of the wake-up signal is less than the preset threshold, whether the transmission level is correct, whether the transmission line is correct, and other information, and then determine further control operations based on the analyzed information, such as sending a message that the wake-up signal transmission fails to the signal output module, controlling the signal output module to resend the wake-up signal, and directly controlling the vehicle controller according to the information contained in the wake-up signal.
[0062] Step S308, based on the main control chip, control the wake-up signal and the vehicle controller according to the transmission status.
[0063] After determining the transmission status of the wake-up signal, further signal control operations can be performed according to the transmission status. For example, if the transmission status of the wake-up signal does not indicate successful transmission of the wake-up signal, the main control chip can maintain the operating status of the vehicle controller, and store the relevant transmission information of the wake-up signal and the relevant operating information of the vehicle controller in a preset storage space for user viewing; if the transmission status is that the wake-up signal transmission is unsuccessful, the main control chip further analyzes the reasons for the unsuccessful transmission, for example, by detecting parameters such as the transmission time, transmission level, and transmission line of the wake-up signal, detecting the transmission line of the wake-up signal, etc., to determine whether the transmission time of the wake-up signal is less than a preset threshold, whether the transmission level is correct, whether the transmission line is correct, and other information, and then determine further control operations based on the analyzed information, such as sending a message of failed wake-up signal transmission to the signal output module, controlling the signal output module to resend the wake-up signal, and directly controlling the vehicle controller according to the information contained in the wake-up signal.
[0064] Furthermore, the above method also includes: in response to detecting that the power supply module and / or the main control chip outputs a fault signal, or the main control chip outputs a stop output signal, generating a timeout protection signal based on the fault signal and / or the output stop signal; sending the timeout protection signal to the signal output module, and obtaining the sending time of the timeout protection signal; in response to the sending time reaching a preset time threshold, and the signal output module has not stopped outputting the wake-up signal, controlling the signal output module to stop running.
[0065] In an optional scheme of this embodiment, the above-mentioned stop output signal can be a module for controlling the signal output module to stop outputting the wake-up signal, and can be output by the TXD pin of the main control chip. When the main control chip is working, the stop output signal is at a high level.
[0066] In an optional solution of this embodiment, in order to prevent the main control chip or power module from failing, resulting in the transmission of erroneous data to other on-board controllers or the inability to accurately receive data, the fault signal pin of the main control chip and the fault signal pin of the power module can also be connected to the signal output module, so that when the main control chip or the power module fails, a corresponding fault signal can be sent to the signal output module to prompt the signal output module that it can no longer continue to work, thereby shutting down the main control chip or the power module to avoid the situation of sending and receiving erroneous data. Considering that multiple fault signals are sent to the signal transmission module at the same time, it may cause the signal transmission module to be abnormal. Therefore, according to the logic of OR, when any one or more of the fault signals output by the power module, the fault signal output by the main control chip, and the stop output signal output by the main control chip are detected, the above-mentioned timeout protection signal can be generated according to the fault signal, or the output stop signal, or the fault signal and the output stop signal are simultaneously used. Then the timeout protection signal is sent to the signal output module, and the sending time of the timeout protection signal is obtained. If the sending time reaches the preset time threshold, and the signal output module does not currently stop outputting the wake-up signal, the signal output module can be controlled to stop running.
[0067] Furthermore, a timeout protection signal is generated based on a fault signal and / or an output stop signal, including: converting the fault signal from a low level to a high level based on a level conversion module to obtain a high level fault signal; and constructing a timeout protection signal based on the stop output signal and / or the high level fault signal.
[0068] In an optional scheme of the present embodiment, considering that fault signals are generally low-level signals, in order to ensure that the signal output module can smoothly detect the fault signal sent by the main control chip or the power supply module, after detecting the fault signal, the above-mentioned level conversion module can be used to convert the fault signal from a low level to a high level to obtain the above-mentioned high-level fault signal, and then the above-mentioned timeout protection signal can be constructed according to the above-mentioned stop output signal or the high-level fault signal, or according to both the above-mentioned stop output signal and the high-level signal.
[0069] Example 3
[0070] An embodiment of the present application further provides a vehicle, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.
[0071] Example 4
[0072] An embodiment of the present application further provides a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0073] Example 5
[0074] An embodiment of the present application further provides a computer program product, including a computer program, which implements the methods in various embodiments of the present invention when executed by a processor.
[0075] Example 6
[0076] An embodiment of the present application further provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0077] Example 7
[0078] The embodiments of the present application further provide a computer program, which implements the methods in the above-mentioned embodiments of the present invention when executed by a processor.
[0079] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0080] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0081] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0082] 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0083] In addition, each functional unit in each embodiment of the present invention 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-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0084] 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 present invention, in essence, 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 for 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 the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0085] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A signal transmission system, characterized in that: include: A signal output module, used to output a wake-up signal based on a controller area network protocol, wherein the wake-up signal is used to control the operation of an onboard controller on the vehicle; A main control chip, connected to the signal output module, for monitoring and controlling the operating state of the vehicle-mounted controller and the transmission state of the wake-up signal; A power supply module is connected to the signal output module and the main control chip, and is used to provide power to the signal output module, the main control chip and the vehicle controller.
2. The signal transmission system according to claim 1, characterized in that: The wake-up signal includes: a first wake-up signal, wherein the first wake-up signal is at a high level when the signal output module is working, and the first wake-up signal is in an open-drain state when the signal output module is dormant; A second wake-up signal, wherein the second wake-up signal is at a low level when the signal output module is working, and the second wake-up signal is at a high level when the signal output module is dormant, and the duration of the second wake-up signal is shorter than the duration of the first wake-up signal.
3. The signal transmission system according to claim 1, characterized in that: The system further comprises: A first level conversion module, connected to the signal output module, and configured to perform level conversion on the second wake-up signal output by the signal output module to obtain a third wake-up signal; A signal enhancement module, connected to the first level module and the main control chip, for enhancing the third wake-up signal to extend the duration of the converted third wake-up signal, and transmitting the enhanced third wake-up signal to the main control chip; The first or logic module is connected to the signal enhancement module, the signal output module and the power module, and is used to send a power wake-up signal to the power module to wake up the power module when receiving the first wake-up signal and / or the enhanced third wake-up signal.
4. The signal transmission system according to claim 1, characterized in that: The system further comprises: A second level conversion module is connected to the power module and the main control chip, and is used to perform level conversion on the first fault signal output by the power module to obtain the converted first fault signal, and to perform level conversion on the second fault signal output by the main control chip to obtain the converted second fault signal; A second OR logic module is connected to the main control chip, the second level conversion module and the signal output module, and is used to send a timeout protection signal to the signal output module when receiving the converted first fault signal and / or the converted second fault signal, or a stop output signal sent by the main control chip; The signal output module is used to stop outputting the wake-up signal when the duration of receiving the timeout protection signal reaches a preset time threshold, and send a feedback signal to the main control chip, wherein the feedback signal is used to indicate that the signal output module stops running.
5. A signal transmission method, characterized in that: The method comprises: In response to detecting that the signal output module outputs a wake-up signal based on the controller area network protocol, the wake-up signal is transmitted to the main control chip and the power module, wherein the wake-up signal is used to control the operation of the on-board controller on the vehicle, the power module is used to provide power to the signal output module, the main control chip and the on-board controller, and the main control chip is used to monitor the operation status of the on-board controller on the vehicle; Identify the wake-up signal based on the main control chip to obtain an identification result; Analyzing the recognition result and the operating state of the vehicle controller based on the main control chip to determine the transmission state of the wake-up signal; Based on the main control chip, the wake-up signal and the vehicle controller are controlled according to the transmission state.
6. The method according to claim 5, characterized in that The method further comprises: In response to detecting that the power module and / or the main control chip outputs a fault signal, or the main control chip outputs an output stop signal, generating a timeout protection signal based on the fault signal and / or the output stop signal; Sending the timeout protection signal to the signal output module, and obtaining the sending time of sending the timeout protection signal; In response to the sending time reaching a preset time threshold and the signal output module does not stop outputting the wake-up signal, the signal output module is controlled to stop running.
7. The method according to claim 6, characterized in that Generating a timeout protection signal based on the fault signal and / or the output stop signal comprises: Convert the fault signal from a low level to a high level based on a level conversion module to obtain a high level fault signal; The timeout protection signal is constructed based on the stop output signal and / or the high level fault signal.
8. A vehicle, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 5 to 7 when running.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the method according to any one of claims 5 to 7.
10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 5 to 7.
