Lin interaction system and vehicle
By introducing a backup controller core into the vehicle domain controller, the main controller can achieve low-power sleep mode and wake up when necessary, thus solving the problem of high static current in the vehicle controller under locked and armed state and reducing the loss of the vehicle battery.
Patent Information
- Application Number
- CN202411174151.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-08-26
AI Technical Summary
The existing body controller cannot enter a low-power sleep mode when the vehicle is locked and armed, resulting in a large static current and unnecessary damage to the vehicle battery.
The system uses the backup controller core built into the vehicle domain controller. After the main controller goes into sleep mode, it interacts with the anti-theft sub-nodes via the LIN2 bus and wakes up the main controller when the anti-theft sub-node requests an alarm, thus achieving low-power sleep mode for the main controller.
While ensuring normal interaction and alarm response with the anti-theft sub-node, the static current of the vehicle domain controller was reduced, thereby reducing the loss of the vehicle battery power.
Smart Images

Figure CN118977676B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of vehicle anti-theft technology, in particular to a LIN interaction system and a vehicle. BACKGROUND
[0002] The vehicle model exported to Europe has an additional anti-theft interaction requirement, that is, the main node (body controller) needs to interact with three anti-theft sub-nodes (backup battery alarm, internal motion sensor and tilt sensor) through the LIN bus. In the state of vehicle lock protection, the body controller commands the three sensors to enter the protection state, and monitors whether the vehicle is illegally intruded. If there is illegal intrusion, the body controller can respond to the alarm request of any one of the three anti-theft sub-nodes to wake up the vehicle to trigger the alarm.
[0003] However, in the existing body controller scheme, in order to ensure normal interaction with the three anti-theft sub-nodes, the body controller cannot enter a low-power sleep mode after the lock protection, and the static current is large, thereby causing unnecessary loss to the vehicle battery.
[0004] It should be noted that the information disclosed in the background section of the present application is only intended to deepen the understanding of the general background of the present application, and should not be regarded as acknowledging or implying in any form that the information constitutes prior art known to those skilled in the art. SUMMARY
[0005] The purpose of the present application is to provide a LIN interaction system and a vehicle, which realizes the interaction logic of the main controller after sleep by using the backup controller core of the body domain controller, can effectively reduce the static current of the body domain controller on the premise of ensuring normal interaction with the anti-theft sub-node and responding to the alarm request of the anti-theft sub-node, thereby reducing the unnecessary loss of the vehicle battery.
[0006] To achieve the above purpose, the present application provides a LIN interaction system, which comprises a body domain controller and an anti-theft sub-node, the body domain controller and the anti-theft sub-node are connected through a LIN2 bus, and the LIN2 bus can be independently put into sleep and wake up; the body domain controller comprises a main controller and a backup controller core, the main controller is configured to control the anti-theft sub-node to be in a protection state when the vehicle is in a lock protection state; the backup controller core is configured to be in an enabled state when the vehicle is in a lock protection state, the anti-theft sub-node is in a protection state and the main controller is in a sleep state, and to interact with the anti-theft sub-node through the LIN2 bus, and to wake up the main controller when the anti-theft sub-node requests an alarm, so that the main controller can trigger an anti-theft alarm.
[0007] Optionally, the anti-theft sub-node is an internal motion sensor or a tilt sensor, and the anti-theft sub-node is configured to, when the anti-theft sub-node is in an armed state and the LIN2 bus is in a sleep state, send an active wake-up signal to wake up the LIN2 bus if it is detected that the vehicle is illegally intruded.
[0008] Optionally, the main controller is further configured to, when the main controller is in a wake-up state, set a first preset wake-up signal to true after the LIN2 bus is woken up by the anti-theft sub-node or the main controller is woken up by the backup controller core, and set the first preset wake-up signal to 0 after a second preset time period.
[0009] Optionally, the anti-theft sub-node is a backup battery alarm, and the backup controller core is further configured to, when the anti-theft sub-node is in an armed state and the main controller is in a sleep state, switch a LIN scheduling table to a polling scheduling table, and send a polling signal to the anti-theft sub-node to detect whether the anti-theft sub-node has an alarm request.
[0010] Optionally, the backup controller core is configured to, before sending the polling signal to the anti-theft sub-node, send a wake-up signal to wake up the LIN2 bus, and after sending the polling signal to the anti-theft sub-node, send a sleep signal to make the LIN2 bus in a sleep state.
[0011] Optionally, the backup controller core is further configured to, after sending the polling signal to the anti-theft sub-node according to a first preset polling rate, if the anti-theft sub-node does not return a response signal of no alarm request within a third preset time period, increase the polling rate to a second preset polling rate, and continue to send the polling signal to the anti-theft sub-node according to the second preset polling rate.
[0012] Optionally, the backup controller core is further configured to, after continuing to send the polling signal to the anti-theft sub-node according to the second preset polling rate, if the anti-theft sub-node still does not return the response signal of no alarm request within the third preset time period, wake up the main controller.
[0013] Optionally, the main controller is further configured to, after being woken up by the backup controller core, set a second preset wake-up signal to true after a fourth preset time period, and set the second preset wake-up signal to 0 after a fifth preset time period.
[0014] Optionally, the backup controller core is further configured to, after sending the polling signal to the anti-theft sub-node according to the second preset polling rate again, if the anti-theft sub-node returns the response signal without requesting alarm within the third preset time length, reduce the polling rate to the first preset polling rate, and continue to send the polling signal to the anti-theft sub-node according to the first preset polling rate.
[0015] Optionally, the backup controller core is further configured to, after sending the polling signal to the anti-theft sub-node according to the first preset polling rate, if the anti-theft sub-node returns the response signal without requesting alarm within the third preset time length, continue to send the polling signal to the anti-theft sub-node according to the first preset polling rate.
[0016] Optionally, the main controller is further configured to, when the main controller itself is in the wake-up state and the anti-theft sub-node is in the armed state, switch the LIN schedule table to an anti-theft request state schedule table to detect whether the anti-theft sub-node actively issues an alarm request.
[0017] Optionally, the main controller is further configured to, when the anti-theft sub-node is not in the armed state, switch the LIN schedule table to a sleep schedule table, and send a sleep signal according to the sleep schedule table, so that the LIN2 bus is in a sleep state.
[0018] Optionally, the backup controller core is further configured to, when the anti-theft sub-node is not in the armed state and the main controller is in the sleep state, exit the enabled state.
[0019] Optionally, the backup controller core is further configured to, when entering or exiting the enabled state, send a polling signal to the anti-theft sub-node.
[0020] To achieve the above object, the application further provides a vehicle, wherein the vehicle comprises the LIN interaction system according to any one of the above.
[0021] Compared with the prior art, the LIN interaction system and the vehicle provided by the application have the following beneficial effects:
[0022] The LIN interaction system provided by the application comprises a vehicle body domain controller and an anti-theft sub-node, the vehicle body domain controller and the anti-theft sub-node are connected through a LIN2 bus in communication, the LIN2 bus can independently enter a sleep state and a wake-up state; the vehicle body domain controller comprises a main controller and a backup controller core, the main controller is configured to control the anti-theft sub-node to enter a defense state when the whole vehicle is in a closed defense state; the backup controller core is configured to enter an enabled state when the whole vehicle is in the closed defense state, the anti-theft sub-node is in the defense state, and the main controller is in a sleep state, and the backup controller core interacts with the anti-theft sub-node through the LIN2 bus, and wakes up the main controller when the anti-theft sub-node requests an alarm, so that the main controller can trigger an anti-theft alarm. Therefore, the LIN interaction system provided by the application can switch to the backup controller core to continue running the interaction logic with the anti-theft sub-node after the main controller enters a low-power sleep mode, so as to effectively reduce the static current of the vehicle body domain controller under the premise of ensuring normal interaction with the anti-theft sub-node and responding to the alarm request of the anti-theft sub-node, thereby reducing unnecessary consumption of the battery power of the whole vehicle. In addition, the LIN interaction system provided by the application can realize that the main controller can enter a low-power sleep state after meeting the sleep condition even if there is data interaction on the LIN2 bus, thereby further reducing the static current of the vehicle body domain controller.
[0023] Since the vehicle provided by the application and the LIN interaction system provided by the application belong to the same inventive concept, the vehicle provided by the application at least has all the beneficial effects of the LIN interaction system provided by the application, and the beneficial effects of the vehicle provided by the application will not be described again. BRIEF DESCRIPTION OF DRAWINGS
[0024] Figure 1 The block structure schematic diagram of the LIN interaction system and the vehicle provided by an embodiment of the application is shown in the figure.
[0025] Figure 2 The working flowchart of the LIN interaction system provided by an embodiment of the application is shown in the figure.
[0026] In the figure, the reference signs are as follows:
[0027] Vehicle body domain controller-100; main controller-110; backup controller core-120; anti-theft sub-node 200; LIN2 bus-300. DETAILED DESCRIPTION
[0028] The LIN interaction system and vehicle according to the present application will be further described below in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present application will be more apparent from the following description. It should be noted that the drawings are very simplified and all use non-precise proportions, only to facilitate, clear and assist the purpose of the present application. In order to make the purpose, features and advantages of the present application more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structure, proportion, size and the like shown in the drawings attached to the present specification are only used to cooperate with the content disclosed in the specification, for those skilled in the art to understand and read, and are not used to limit the implementation of the present application. Any modification of structure, change of proportion relationship or adjustment of size, as long as it is the same or similar to the effect and purpose that can be achieved by the present application, should still fall within the scope of the technology disclosed by the present application.
[0029] It should be noted that in this paper, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or equipment. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or equipment including the element. The singular form "one", "a" and "the" includes plural objects, the term "or" is generally used in the meaning of "and / or", the term "several" is generally used in the meaning of "at least one", the term "at least two" is generally used in the meaning of "two or more", and in addition, the terms "first", "second", "third" are only for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
[0030] Further, in the description of the specification, the description with reference to the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific feature, structure, material or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. The illustrative expressions in the specification do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any suitable manner in one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples without contradiction.
[0031] The core idea of the present application is to provide a LIN interaction system and vehicle, by using the standby controller core of the body domain controller to realize the interaction logic after the main controller is in sleep state, which can effectively reduce the static current of the body domain controller under the premise of ensuring the normal interaction with the anti-theft sub-node and responding to the alarm request of the anti-theft sub-node, thereby reducing the unnecessary loss of the battery power of the whole vehicle.
[0032] It should be noted that the vehicle provided by the present application includes passenger vehicles such as sport utility vehicles (SUVs), buses, trucks, and various commercial vehicles, and includes hybrid vehicles, electric vehicles, plug-in hybrid electric vehicles, fuel cell vehicles, and other alternative fuel vehicles (such as fuel obtained from resources other than oil).
[0033] To achieve the above idea, the present application provides a body domain controller 100, please refer to Figure 1 , which is a block structure schematic diagram of the LIN interaction system and vehicle provided by an embodiment of the present application. As Figure 1 shown, the LIN interaction system provided by the present application includes a body domain controller 100 and an anti-theft sub-node 200, the body domain controller 100 and the anti-theft sub-node 200 are connected in communication through a LIN2 bus 300, the LIN2 bus 300 can be independently put into sleep and wake up; the body domain controller 100 includes a main controller 110 and a standby controller core (SCR) 120, the main controller (BGM) 110 is configured to control the anti-theft sub-node 200 to be in the armed state when the whole vehicle is in the closed armed state; the standby controller core 120 is configured to be in the enabled state when the whole vehicle is in the closed armed state, the anti-theft sub-node 200 is in the armed state, and the main controller is in the sleep state, and to interact with the anti-theft sub-node 200 through the LIN2 bus 300, and to wake up the main controller 110 when the anti-theft sub-node 200 requests alarm, so that the main controller 110 can trigger the anti-theft alarm.
[0034] Thus, the LIN interaction system provided by the present application can switch to the backup controller core 120 to continue running the interaction logic between the vehicle body domain controller 100 and the anti-theft sub-node 200 after the main controller 110 enters the low-power sleep mode, i.e., the backup controller core 120 of the vehicle body domain controller 100 is used to implement the interaction logic after the main controller 110 sleeps, so that the static current of the vehicle body domain controller 100 can be effectively reduced under the premise of ensuring normal interaction with the anti-theft sub-node 200 and responding to the alarm request of the anti-theft sub-node 200, thereby reducing unnecessary loss of the vehicle battery power. In addition, the LIN interaction system provided by the present application can be designed to be independently sleepable and wakeable, so that even if there is data interaction on the LIN2 bus 300, the main controller 110 can enter a low-power sleep state after meeting the sleep conditions, thereby further reducing the static current of the vehicle body domain controller 100.
[0035] It should be noted that, as understood by those skilled in the art, the anti-theft sub-node 200 can be, but is not limited to, a backup battery alarm (BBS), an internal motion sensor (IMS), an inclination sensor (IS), etc. In addition, it should be noted that, as understood by those skilled in the art, the anti-theft sub-node 200 in the guarded state can monitor whether the vehicle is intruded in real time. In addition, it should be noted that, as understood by those skilled in the art, the present application does not limit the specific number of the anti-theft sub-node 200, and the number of the anti-theft sub-node 200 can be one, two, three or more.
[0036] In some exemplary embodiments, the backup controller core 120 is further configured to exit the enabled state when the anti-theft sub-node 200 is not in the guarded state and the main controller 110 is in the sleep state. Thus, by controlling the backup controller core 120 to exit the enabled state when the anti-theft sub-node 200 (including a backup battery alarm, an internal motion sensor, an inclination sensor, etc.) is not in the guarded state and the main controller 110 is in the sleep state, the static current of the vehicle body domain controller 100 can be further reduced.
[0037] In some demonstrative embodiments, the anti-theft sub-node 200 is an internal motion sensor or a tilt sensor, and the anti-theft sub-node 200 (internal motion sensor / tilt sensor) is configured to send an active wake-up signal to wake up the LIN2 bus 300, if it is detected that the vehicle is illegally intruded, while the anti-theft sub-node 200 is in an armed state and the LIN2 bus 300 is in a sleep state. The backup controller core 120 is further configured to wake up the main controller 110 according to the active wake-up signal sent by the anti-theft sub-node 200 (internal motion sensor / tilt sensor), while the main controller 110 is in a sleep state.
[0038] In particular, reference is made to Figure 2 which is a workflow diagram of a LIN interaction system according to an embodiment of the application. As shown in Figure 2 if it is detected that the vehicle is illegally intruded (i.e., the internal motion sensor / tilt sensor has an alarm request), the internal motion sensor / tilt sensor sends a low level active wake-up signal, thereby waking up the LIN2 bus 300 which is in a sleep state. After the LIN2 bus 300 is woken up, it transmits the low level active wake-up signal to the backup controller core 120, which can wake up the main controller 110 in response to the low level active wake-up signal. The main controller 110 is woken up and triggers an anti-theft alarm.
[0039] In some demonstrative embodiments, the main controller 110 is further configured to set a first predetermined wake-up signal to true after the LIN2 bus 300 is woken up by the anti-theft sub-node 200 (internal motion sensor / tilt sensor) or after it is woken up by the backup controller core 120, while the main controller 110 is in a wake-up state, and to set the first predetermined wake-up signal to zero after a second predetermined time period. Thereby, setting the first predetermined wake-up signal (ComArbnLIN2WakeUp) to true after the LIN2 bus 300 is woken up by the internal motion sensor / tilt sensor or after the main controller 110 is woken up by the backup controller core 120, and after a first predetermined time period, can ensure that the application layer of the main controller 110 has enough time to respond to the alarm request of the internal motion sensor / tilt sensor. Setting the first predetermined wake-up signal to zero after the first predetermined wake-up signal is set to true for the second predetermined time period can enable continuous triggering of the alarm.
[0040] Specifically, when the internal motion sensor / tilt sensor sends a low level active wake-up signal, if the main controller 110 is not in sleep state (in wake-up state), after the LIN2 bus 300 is woken up, the first preset wake-up signal is set to true (true) for a first preset time period, and after being set for a second preset time period (i.e. after being maintained for a second preset time period), the first preset wake-up signal is set to 0. When the internal motion sensor / tilt sensor sends a low level active wake-up signal, if the main controller 110 is in sleep state, after the main controller 110 is woken up in response to the low level active wake-up signal sent by the internal motion sensor / tilt sensor, the first preset wake-up signal is set to true (true) for a first preset time period, and after being set for a second preset time period (i.e. after being maintained for a second preset time period), the first preset wake-up signal is set to 0. It should be noted that, as can be understood by those skilled in the art, the present application does not limit the specific values of the first preset time period and the second preset time period, and the specific values of the first preset time period and the second preset time period can be set according to actual conditions, for example, the first preset time period can be set to 50 ms, and the second preset time period can be set to 50 ms.
[0041] Please continue to refer to Figure 2 As Figure 2 shown, in some exemplary embodiments, the anti-theft sub-node 200 is a backup battery alarm, and the backup controller core 120 is further configured to switch the LIN scheduling table to a polling scheduling table (SoundrPolling scheduling table) and send a polling signal to the anti-theft sub-node 200 (backup battery alarm) to detect whether the anti-theft sub-node 200 has an alarm request when the anti-theft sub-node 200 (backup battery alarm) is in an armed state and the main controller 110 is in a sleep state. Thus, by switching the LIN scheduling table to the polling scheduling table when the backup battery alarm is in the armed state and the main controller 110 is in the sleep state, the backup controller core 120 can periodically send a polling signal to the backup battery alarm to request an alarm according to the transmission period, transmission interval, and message transmission length of the message information defined by the polling scheduling table, so that the interaction logic between the backup controller core 120 and the backup battery alarm can be realized when the controller is in the sleep state. It should be noted that, as can be understood by those skilled in the art, the polling signal can be but is not limited to a frame header of 0x20.
[0042] Please continue to refer to Figure 2 As Figure 2As shown, in some exemplary embodiments, the backup controller core 120 is configured to send a wake-up signal to wake up the LIN2 bus 300 before sending a polling signal to the anti-theft sub-node 200 (backup battery alarm), and to send a sleep signal to put the LIN2 bus 300 into a sleep state after sending a polling signal to the anti-theft sub-node 200 (backup battery alarm). Thus, by sending a wake-up signal (which can be, but is not limited to, a dominant level) to wake up the LIN2 bus 300 before the backup controller core 120 sends a polling signal to the backup battery alarm, it can be ensured that the polling signal sent by the backup controller core 120 can be successfully transmitted to the backup battery alarm through the LIN2 bus 300. By sending a sleep signal (which can be, but is not limited to, a message frame with ID 0x3C) to put the LIN2 bus 300 into a sleep state after sending a polling signal to the backup battery alarm, unnecessary power loss to the vehicle battery can be further reduced. It should be noted that, as those skilled in the art will understand, after sending a polling signal to the backup battery alarm, the backup controller core 120 will send a sleep signal to the LIN2 bus 300 after a certain interval (greater than 5ms) to ensure that the LIN2 bus 300 is in a wake-up state for a sufficiently long time to enable interaction between the backup controller core 120 and the backup battery alarm.
[0043] Please continue to refer to this. Figure 2 ,like Figure 2 As shown, in some exemplary embodiments, the backup controller core 120 is further configured to, after sending a polling signal to the anti-theft sub-node 200 (backup battery alarm) at a first preset polling rate, if the anti-theft sub-node 200 (backup battery alarm) does not return a "No Reqd" response signal within a third preset time period, increase the polling rate to a second preset polling rate and continue sending polling signals to the anti-theft sub-node 200 (backup battery alarm) at the second preset polling rate. Thus, by increasing the polling rate after sending a polling signal to the backup battery alarm at the first preset polling rate and if the backup battery alarm does not respond with "No Reqd" within a third preset time period, the interaction rate between the backup controller core 120 and the backup battery alarm can be improved, thereby enabling timely alarm triggering when the vehicle is illegally intruded upon.
[0044] It should be noted that, as those skilled in the art will understand, the present invention does not limit the specific values of the first preset polling rate, the second preset polling rate, and the third preset duration. The specific values of the first preset polling rate, the second preset polling rate, and the third preset duration can be set according to actual needs. For example, the first preset polling rate can be 600ms / time, the second preset polling rate can be 300ms / time, and the third preset duration can be 5ms.
[0045] Please continue to refer to this. Figure 2 ,like Figure 2 As shown, in some exemplary embodiments, the backup controller core 120 is further configured to, after continuing to send polling signals to the anti-theft sub-node 200 (backup battery alarm) according to the second preset polling rate, if the anti-theft sub-node 200 (backup battery alarm) still does not return a "no alarm request" response signal within the third preset time period, then wake up the main controller 110. Since if the backup battery alarm still does not reply "no alarm request" within the third preset time period (e.g., 5ms) after the backup controller core 120 sends polling signals to the backup battery alarm at a faster second preset polling rate (e.g., 300ms / time), it indicates that the backup battery alarm has an alarm requirement. Therefore, by waking up the main controller 110 at this time, it can be further effectively ensured that the alarm can be triggered in a timely manner when the vehicle is illegally intruded.
[0046] Please continue to refer to this. Figure 2 ,like Figure 2 As shown, in some exemplary embodiments, the backup controller core 120 is further configured to, after sending a polling signal to the anti-theft sub-node 200 according to the second preset polling rate, if the anti-theft sub-node 200 (backup battery alarm) returns a "no alarm request" response signal within the third preset duration, reduce the polling rate to the first preset polling rate and continue sending polling signals to the anti-theft sub-node 200 (backup battery alarm) according to the first preset polling rate. Since if the backup battery alarm replies "no alarm request" within the third preset duration (e.g., 5ms) after the backup controller core 120 sends a polling signal to the backup battery alarm at a faster second preset polling rate (e.g., 300ms / time), it indicates that the backup battery alarm has no alarm requirement. Therefore, by reducing the polling rate back to the first preset polling rate at this time, the number of interactions can be reduced, thereby further reducing the quiescent current of the vehicle domain controller 100 while meeting the anti-theft interaction requirements.
[0047] Please continue to refer to this. Figure 2 ,like Figure 2As shown, in some exemplary embodiments, the backup controller core 120 is further configured to, after sending the polling signal to the anti-theft sub-node 200 (backup battery alarm) according to the first preset polling rate, if the anti-theft sub-node 200 (backup battery alarm) returns the response signal of not requesting alarm within the third preset time length, continue to send the polling signal to the anti-theft sub-node 200 (backup battery alarm) according to the first preset polling rate. Thus, by sending the polling signal to the backup battery alarm at the first preset polling rate (e.g. 600 ms / time) by the backup controller core 120, if the backup battery alarm returns the response signal of not requesting alarm within the third preset time length (e.g. 5 ms), continue to send the polling signal to the backup battery alarm according to the first preset polling rate (e.g. 600 ms / time), the static current of the body domain controller 100 can be further reduced under the premise of meeting the anti-theft interaction requirement.
[0048] In some exemplary embodiments, the main controller 110 is further configured to, after being woken up by the backup controller core 120, delay the fourth preset time length to set the second preset wake-up signal to true, and set the second preset wake-up signal to 0 after setting for the fifth preset time length. Thus, by waking up the main controller 110 in response to the alarm request of the backup battery alarm by the backup controller core 120, controlling the main controller 110 to delay the fourth preset time length to set the second preset wake-up signal (ActvnOfAlrmReqFromCmplxIf) to true, it can be ensured that the application layer of the main controller 110 has enough time to respond to the alarm request of the backup battery alarm. By setting the second preset wake-up signal to 0 after the time when the second preset wake-up signal is set to true reaches the fifth preset time length, the effect of continuously triggering the alarm can be achieved.
[0049] It should be noted that, as can be understood by those skilled in the art, the present application does not limit the specific values of the fourth preset time length and the fifth preset time length, and the specific values of the fourth preset time length and the fifth preset time length can be set according to actual conditions, for example, the fourth preset time length can be set to 50 ms, and the fifth preset time length can be set to 50 ms.
[0050] Please continue to refer to Figure 2 As Figure 2As shown, in some exemplary embodiments, the main controller 110 is further configured to switch the LIN scheduling table to the anti-theft request status scheduling table when it is in a wake-up state and the anti-theft sub-node 200 (backup battery alarm) is in an armed state, in order to detect whether the anti-theft sub-node 200 (backup battery alarm) actively sends an alarm request. Thus, by switching the LIN scheduling table to the anti-theft request status scheduling table (SnsrCmdAndSts scheduling table) when the main controller 110 is in a wake-up state and the backup battery alarm is in an armed state, the main controller 110 can periodically send messages to the backup battery alarm according to the message information sending period, sending interval, message sending length, and other information defined by the anti-theft request status scheduling table, in order to detect whether the backup battery alarm actively sends an alarm request.
[0051] Please continue to refer to this. Figure 2 ,like Figure 2 As shown, in some exemplary embodiments, the backup controller core 120 is further configured to send a polling signal to the anti-theft sub-node 200 (backup battery alarm) when entering or exiting the enabled state. Since switching from the main controller 110 to the backup controller core 120 (backup controller core 120 entering the enabled state) or switching from the backup controller core 120 back to the main controller 110 (backup controller core 120 exiting the enabled state) requires a certain amount of time (generally no more than 960ms), therefore, by configuring the backup controller core 120 to send a polling signal to the backup battery alarm when entering or exiting the enabled state, an alarm can be triggered promptly when the vehicle is illegally intruded upon.
[0052] Please continue to refer to this. Figure 2 ,like Figure 2 As shown, in some exemplary embodiments, the main controller 110 is further configured to switch the LIN scheduler to a sleep scheduler when the anti-theft sub-node 200 (backup battery alarm) is not in an armed state, and to send a sleep signal according to the sleep scheduler, so that the LIN2 bus 300 is in a sleep state. Therefore, by switching the LIN scheduler to a sleep scheduler and sending a sleep signal when the backup battery alarm is not in an armed state, so that the LIN2 bus 300 is in a sleep state, the quiescent current of the vehicle domain controller 100 can be further reduced.
[0053] Based on the same inventive concept, the application further provides a vehicle comprising the LIN interaction system according to any one of the preceding embodiments. Since the vehicle according to the application belongs to the same inventive concept as the LIN interaction system according to the application, the vehicle according to the application has at least all the beneficial effects of the LIN interaction system according to the application, and the beneficial effects of the vehicle according to the application can be referred to the description of the beneficial effects of the LIN interaction system according to the application, which will not be repeated here.
[0054] In summary, compared with the prior art, the LIN interaction system and the vehicle according to the application have the following beneficial effects:
[0055] According to the application, the body domain controller 100 is configured to include the main controller 110 and the backup controller core 120, so that after the main controller 110 enters the low-power sleep mode, the backup controller core 120 can be switched to continue running the interaction logic between the main controller 110 and the anti-theft sub-node 200 (i.e., the backup controller core 120 of the body domain controller 100 is used to realize the interaction logic after the main controller 110 sleeps), thereby effectively reducing the static current of the body domain controller 100 under the premise of ensuring normal interaction with the anti-theft sub-node 200 and responding to the alarm request of the anti-theft sub-node 200, thereby reducing unnecessary consumption of the battery power of the vehicle. In addition, according to the application, the LIN2 bus 300 is designed to be able to be independently put into sleep and wake up, so that even if there is data interaction on the LIN2 bus 300, the main controller 110 can enter the low-power sleep state after meeting the sleep condition, thereby further reducing the static current of the body domain controller 100.
[0056] It should be noted that the computer program code for carrying out operations of the present application can be written in one or more programming languages or combinations of languages including object oriented programming languages such as Java, Smalltalk, C++ as well as conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0057] It should be noted that the apparatus and method disclosed in the embodiments herein can also be implemented in other ways. The apparatus embodiments described above are merely exemplary, and the schematic flow chart and block diagram of the flow chart and block diagram show the possible architectural, functional and operational scenarios of the apparatus, method and computer program product according to the embodiments herein. In this regard, each block in the flow chart or block diagram can represent a module, a program segment or a portion of code which comprises one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the flow chart. For example, two blocks shown in succession can in fact be executed substantially concurrently or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow chart illustrations, and combinations of blocks in the block diagrams and / or flow chart illustrations, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
[0058] It should also be noted that the above description is merely illustrative of the application, and not in any way limiting the scope of the application, and any modifications, alterations, or equivalents of the application according to the above disclosure are intended to be included within the scope of the application. It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application cover modifications and variations of this application provided they come within the scope of the application and their equivalent technology.
Claims
1. A LIN interaction system, characterized by, The LIN interaction system comprises a vehicle body domain controller and an anti-theft sub-node, the vehicle body domain controller and the anti-theft sub-node are connected through a LIN2 bus, and the LIN2 bus can independently enter a sleep state and a wake-up state; The vehicle body domain controller comprises a main controller and a backup controller core, the main controller is configured to control the anti-theft sub-node to enter a defense state when the whole vehicle is in a closed defense state; The backup controller core is configured to enter an enabled state when the whole vehicle is in the closed defense state, the anti-theft sub-node is in the defense state, and the main controller is in a sleep state, interact with the anti-theft sub-node through the LIN2 bus, and wake up the main controller when the anti-theft sub-node requests an alarm, so that the main controller can trigger an anti-theft alarm; The anti-theft sub-node is an internal motion sensor or a tilt sensor, and the anti-theft sub-node is configured to send an active wake-up signal to wake up the LIN2 bus if illegal intrusion of the vehicle is monitored when the anti-theft sub-node is in the defense state and the LIN2 bus is in the sleep state; the backup controller core is further configured to wake up the main controller according to the active wake-up signal sent by the anti-theft sub-node when the main controller is in the sleep state; The main controller is further configured to set a first preset wake-up signal to true after the LIN2 bus is woken up by the anti-theft sub-node or the main controller is woken up by the backup controller core when the main controller is in a wake-up state, and set the first preset wake-up signal to 0 after a second preset time period.
2. The LIN interaction system according to claim 1, characterized in that, The anti-theft sub-node is a backup battery alarm, and the backup controller core is further configured to switch a LIN scheduling table to a polling scheduling table and send a polling signal to the anti-theft sub-node to detect whether the anti-theft sub-node has an alarm request when the anti-theft sub-node is in the defense state and the main controller is in the sleep state.
3. The LIN interaction system of claim 2, wherein, The backup controller core is configured to send a wake-up signal to wake up the LIN2 bus before sending the polling signal to the anti-theft sub-node, and send a sleep signal to make the LIN2 bus in the sleep state after sending the polling signal to the anti-theft sub-node.
4. The LIN interaction system of claim 2, wherein, The backup controller core is further configured to increase the polling rate to a second preset polling rate and continue to send the polling signal to the anti-theft sub-node according to the second preset polling rate if the anti-theft sub-node does not return a response signal of no alarm request within a third preset time period after the polling signal is sent to the anti-theft sub-node according to a first preset polling rate.
5. The LIN interaction system according to claim 4, characterized in that, The backup controller core is further configured to wake up the main controller if the anti-theft sub-node still does not return the response signal of no alarm request within the third preset time period after the polling signal is continuously sent to the anti-theft sub-node according to the second preset polling rate.
6. The LIN interaction system according to claim 5, characterized in that, The main controller is further configured to set a second preset wake-up signal to true after being woken up by the backup controller core, and set the second preset wake-up signal to 0 after a fifth preset time period.
7. The LIN interaction system of claim 4, wherein, The backup controller core is further configured to, after sending the polling signal to the anti-theft sub-node again according to the second preset polling rate, if the anti-theft sub-node returns a response signal without requesting alarm within the third preset time length, reduce the polling rate to the first preset polling rate, and continue to send the polling signal to the anti-theft sub-node according to the first preset polling rate.
8. The LIN interaction system of claim 4, wherein, The backup controller core is further configured to, after sending the polling signal to the anti-theft sub-node according to the first preset polling rate, if the anti-theft sub-node returns a response signal without requesting alarm within the third preset time length, continue to send the polling signal to the anti-theft sub-node according to the first preset polling rate.
9. The LIN interaction system of claim 2, wherein, The main controller is further configured to, when the main controller itself is in the wake-up state and the anti-theft sub-node is in the armed state, switch the LIN schedule table to an anti-theft request state schedule table to detect whether the anti-theft sub-node actively issues an alarm request.
10. The LIN interaction system of claim 2, wherein, The main controller is further configured to, when the anti-theft sub-node is not in the armed state, switch the LIN schedule table to a sleep schedule table, and send a sleep signal according to the sleep schedule table, so that the LIN2 bus is in a sleep state.
11. The LIN interaction system of claim 2, wherein, The backup controller core is further configured to, when the anti-theft sub-node is not in the armed state and the main controller is in the sleep state, exit the enabled state.
12. The LIN interaction system of claim 11, wherein, The backup controller core is further configured to, when entering or exiting the enabled state, send a polling signal to the anti-theft sub-node.
13. A vehicle characterized by comprising: A LIN interaction system comprising any one of claims 1 to 12. A LIN interaction system comprising any one of claims 1 to 12.
Citation Information
Patent Citations
Anti-theft warning system with low power consumption used for wireless vehicle
CN101734226A
Method and system for reducing static power consumption of automobile body controller
CN104691451A