Vehicle-mounted device
By setting the second memory in the on-board device and automatically switching with the first memory, the security problem of advanced driving assistance system when memory read failure is solved, and the reliability and driving safety of the system are improved.
Patent Information
- Application Number
- CN202311549328.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2025-05-20
AI Technical Summary
Advanced driving assistance systems cannot be used normally when memory read fails, affecting driving safety.
An in-vehicle device is designed, including a first memory and a second memory, and the memory switching is realized through a platform path controller and a switching unit. When the first memory cannot be read, it automatically switches to the second memory to complete the power-on.
When the first memory read fails, the normal startup of the on-board device can be achieved through the second memory, which improves the reliability of the system and driving safety.
Smart Images

Figure CN120020734A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a vehicle-mounted device, and particularly to a vehicle-mounted device with redundant memory. Background Art
[0002] Advanced Driver Assistance System (ADAS) is a control system that actively maintains overall safety functions. It uses various sensors such as radars and cameras installed on the vehicle to collect data on the surrounding environment of the vehicle, and conducts identification, detection, and tracking of static and dynamic objects. Combining with navigation map data, it performs system operations and analysis to make behavioral decisions, so as to pre-warn the driver of possible dangers and directly control the vehicle to avoid collisions in necessary situations, which can effectively improve driving safety and comfort.
[0003] Generally, the software of the advanced driver assistance system is installed on the center console or in-vehicle computer of the vehicle. When the center console or the computing device is powered on, it is necessary to read the memory. During the reading process, the memory reading may occasionally fail, which will cause the advanced driver assistance system of the entire vehicle body to be unusable, resulting in a decline in the customer's usage quality and affecting driving safety. Summary of the Invention
[0004] In view of the above, the present invention provides a vehicle-mounted device to solve the above problems.
[0005] A vehicle-mounted device according to an embodiment of the present invention includes: a power switch, a first memory, a second memory, a platform path controller, a switching unit, and a logic chip. When the power switch is pressed, it generates and outputs an enabling signal. The first memory is used to store boot data. The second memory is used to store boot data. The platform path controller is electrically coupled to the power switch and selectively electrically coupled to the first memory and the second memory, and receives the enabling signal. The platform path controller generates a reading signal according to the enabling signal and outputs the reading signal to the first memory. The switching unit is electrically coupled to the platform path controller, the first memory, and the second memory. The logic chip is electrically coupled to the platform path controller and the switching unit, and selectively generates and outputs a switching signal to the switching unit when the platform path controller fails to read the boot data from the first memory. Wherein, when the switching unit receives the switching signal, it causes the platform path controller to be electrically coupled to the second memory.
[0006] In summary, according to one or more embodiments of the present invention, by setting the second memory, when the first memory cannot be read, the vehicle-mounted device can complete booting according to the boot data in the second memory. Brief Description of the Drawings
[0007] Figure 1 It is a schematic diagram of the vehicle-mounted device of the present invention.
[0008] Figure 2 is Figure 1 a flowchart of the memory switching method of the in-vehicle device shown
[0009] Figure 3 is Figure 1 a flowchart of another memory switching method of the in-vehicle device shown
[0010] Description of Component Labels
[0011] 10 In-vehicle device
[0012] 102 Central processing unit
[0013] 104 Platform path controller
[0014] 106 Power switch
[0015] 108 Logic chip
[0016] 110 Storage unit
[0017] 112 First memory
[0018] 114 Second memory
[0019] 116 Switching unit
[0020] 118 Baseboard management controller
[0021] 120 Warning light
[0022] S202 - S214 Method flow
[0023] S302 - S314 Method flow Detailed implementation manners
[0024] The detailed features and advantages of the present invention are described in detail in the following implementation manners. The content is sufficient for any person skilled in the relevant art to understand the technical content of the present invention and implement it accordingly. And according to the content disclosed in this specification, the scope of the patent application and the drawings, any person skilled in the relevant art can easily understand the relevant objectives and advantages of the present invention. The following embodiments are used to further illustrate the viewpoints of the present invention in detail, but do not limit the scope of the present invention in any way.
[0025] Please refer to Figure 1 , which shows a schematic diagram of the in-vehicle device 10 of the present invention. As Figure 1As shown, the in-vehicle device 10 includes a central processing unit 102, a Platform Controller Hub (PCH) 104, a power switch 106, a logic chip 108, a storage unit 110, a first memory 112, a second memory 114, a switching unit 116, a Baseboard Management Controller (BMC) 118, and a warning light 120. Among them, the in-vehicle device 10 can be, for example, the center console of a vehicle or a computer computing device, and can be used for navigation, driving video recording, surround view calculation, audio-visual media playback, voice / video call, wireless communication (connecting to vehicle networking devices or roadside devices via wifi / 5G), collecting various vehicle status information, and safety protection operations (such as advanced driver assistance system algorithms), but not limited thereto. The central processing unit 102 is electrically coupled to the platform path controller 104 and executes the operating system in the in-vehicle device and various functions of the above in-vehicle device. When the power switch 106 is pressed, an enabling signal is generated and output.
[0026] The first memory 112 stores boot data, and the second memory 114 stores boot data. The boot data stored in the first memory 112 and the second memory 114 is the same data, and its data content is the data required when the in-vehicle device 10 boots up, and its function is similar to the Basic Input / Output System (BIOS) in a computer architecture. The second memory 114 can be regarded as a backup for the first memory 112, and the first memory 112 and the second memory 114 are, for example, flash memories and can be written with updated boot data.
[0027] The platform path controller 104 is electrically coupled to the power switch 106 and selectively electrically coupled to the first memory 112 and the second memory 114, and receives the enabling signal transmitted from the power switch 106. The platform path controller 104 generates a read signal according to the enabling signal and outputs the read signal to the first memory 112. That is, when the in-vehicle device 10 is normally configured, the first memory 112 is the main memory and is electrically coupled to the platform path controller 104.
[0028] The logic chip 108 is electrically coupled to the platform path controller 104 and the switching unit 116, and selectively generates and outputs a switching signal to the switching unit 116 when the platform path controller 104 fails to read the boot data from the first memory 112. Among them, when the switching unit 116 receives the switching signal, it makes the platform path controller 104 electrically coupled to the second memory 114.
[0029] In this embodiment, the platform path controller 104 fails to read the boot data from the first memory 112, including that the number of failure times of reading the first memory 114 is greater than a preset number. The storage unit 110 is electrically coupled to the logic chip 108 for storing the number of failure times. The preset number can also be stored in the storage unit 110 or the logic chip 108, for example, but not limited thereto. Moreover, the storage unit 110 can be, for example, an Electrically-Erasable Programmable Read-Only Memory (EEPROM).
[0030] In this embodiment, the platform path controller 104 fails to read the boot data from the first memory 112, including that a reading time of reading the first memory 112 is greater than a preset time. When the reading time is greater than the default time, the logic chip 108 generates and outputs a switching signal to the switching unit 116, so that the platform path controller 104 is electrically coupled to the second memory 114.
[0031] In this embodiment, the warning light 120 is electrically coupled to the logic chip 108. When the logic chip 108 generates and outputs a switching signal to the switching unit 116, it also generates and outputs a warning signal to the warning light 120. The position of the warning light 120 can be, for example, on the vehicle's instrument panel or displayed on the display of the in-vehicle device, so that the user knows that the first memory 112 is damaged and needs to be updated or replaced.
[0032] The baseboard management controller 118 is electrically coupled to the platform path controller 104, the logic chip 108, the first memory 112, and the second memory 114. The baseboard management controller 118 can have, for example, an external interface (such as a wired network interface or connected to a networkable device). When the vehicle factory or user updates, the boot data to be updated can be written into the first memory 112 and the second memory 114 through the baseboard management controller 118. If the vehicle user cannot return to the vehicle factory for updating in time, new boot data can be downloaded through a networkable device, and then the boot data to be updated can be written into the first memory 112 (or including the second memory 114) through the baseboard management controller 118. The purpose of only writing to the first memory 112 is to prevent the in-vehicle device 10 from failing to boot normally when the writing fails. In this case, at least the second memory 114 can be used for the in-vehicle device 10 to boot normally.
[0033] Please refer to Figure 2 which shows Figure 1Flowchart of the memory switching method of the in-vehicle device shown. In step S202, the design of the vehicle can be, for example, that when the vehicle is ignited and started, the platform path controller 104 and the baseboard management controller 118 have been enabled, and the in-vehicle device 10 needs the user to press the power switch 106 to be started and ready to execute the boot program. Another design can be that when the vehicle is ignited and started, the in-vehicle device 10 is also started simultaneously and ready to execute the boot program. Regardless of the design, the power switch 106 will generate and output an enable signal to the platform path controller 104.
[0034] In step S204, the platform path controller 104 receives the enable signal from the power switch 106 and generates a read signal according to the enable signal. At this time, the logic chip 108 synchronously reads a failure count in the storage unit 110. Then, comparing this failure count with a preset count, when the failure count is greater than the default count, the logic chip 108 generates and outputs a switching signal to the switching unit 116. Then, the platform path controller 104 outputs the read signal to the second memory 114 (step S212). Conversely, in step S206, when the failure count is less than the preset count, the platform path controller 104 outputs the read signal to the first memory 112. The preset count can be, for example, 20 times, but is not limited thereto.
[0035] In this embodiment, it can also be, for example, that the platform path controller 104 receives the enable signal from the power switch 106, generates a read signal according to the enable signal, and outputs the read signal to the first memory 112. At this time, the logic chip 108 determines whether the platform path controller 104 has read the boot data of the first memory 112 according to the potential of one of the pins (such as a GPIO pin) on the platform path controller 104. When the logic chip 108 determines that the platform path controller 104 has not read the boot data of the first memory 112, the logic chip 108 reads a failure count in the storage unit 110. Then, comparing this failure count with the preset count, when the failure count is greater than the preset count, the logic chip 108 generates and outputs a switching signal to the switching unit 116. Conversely, in step S206, when the failure count is less than the preset count, the platform path controller 104 outputs the read signal to the first memory 112.
[0036] In step S208, the logic chip 108 determines whether the reading time of the first memory 112 by the platform path controller 104 is greater than a preset time according to the potential of one of the pins (such as a GPIO pin) on the platform path controller 104. When the reading time is greater than the preset time, it indicates a reading failure. Conversely, when the reading time is less than the preset time, it indicates a successful reading. The vehicle-mounted device 10 completes the startup procedure according to the startup data, starts the operating system, and enters the working mode (step S214).
[0037] In step S210, the logic chip 108 increments the failure count and updates the failure count in the storage unit 110. Next, in step S212, the logic chip 108 generates and outputs a switching signal to the switching unit 116. Then, the platform path controller 104 outputs a reading signal to the second memory 114.
[0038] Next, in step S214, the vehicle-mounted device 10 completes the startup procedure according to the startup data, starts the operating system, and enters the working mode.
[0039] Please refer to Figure 3 which shows Figure 1 a flowchart of another memory switching method for the vehicle-mounted device shown. In this embodiment, Figure 3 is different from Figure 2 in that in step S304, when the logic chip 108 determines that the failure count is greater than the preset count, in step S305, the original working time is shortened so that the logic chip 108 can output the switching signal to the switching unit 116 as soon as possible. In this embodiment, when the vehicle body returns to the factory for maintenance, the technician can determine whether the first memory 112 needs to be replaced by reading the failure count in the storage unit 110. In this embodiment, the in-vehicle electronic product of the present invention can be applied to vehicle-mounted devices, such as self-driving vehicles, electric vehicles, or semi-self-driving vehicles, etc.
[0040] In summary, the present invention provides a vehicle-mounted device that can switch to reading the second memory 114 when the first memory 112 cannot be read to achieve the effect of damage rescue, and can also record the number of failures in reading the first memory 112 to allow the technician to judge the effectiveness of the first memory 112 of the vehicle-mounted device 10, improving the safety of the vehicle.
[0041] The above are only the preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
Claims
1. A vehicle-mounted device, characterized in that: include: A power switch, when pressed, generates and outputs an enable signal; A first memory for storing a boot data; A second memory, used for storing the boot data; a platform path controller, electrically coupled to the power switch, and selectively electrically coupled to the first memory and the second memory, and receiving the enable signal, the platform path controller generates a read signal according to the enable signal, and outputs the read signal to the first memory; a switching unit electrically coupled to the platform path controller, the first memory and the second memory; as well as a logic chip electrically coupled to the platform path controller and the switching unit, and selectively generating and outputting a switching signal to the switching unit when the platform path controller fails to read the boot data from the first memory; When the switching unit receives the switching signal, the platform path controller is electrically coupled to the second memory.
2. The vehicle-mounted device according to claim 1, characterized in that: The platform path controller failing to read the boot data from the first memory includes a number of failures in reading the first memory being greater than a predetermined number.
3. The vehicle-mounted device according to claim 2, characterized in that: The invention also includes a storage unit, which is electrically coupled to the logic chip and is used to store the number of failures.
4. The vehicle-mounted device according to claim 3, characterized in that: When the platform path controller fails to read the boot data from the first memory, the logic chip reads the failure count, and generates and outputs the switching signal to the switching unit when it is determined that the failure count is greater than the preset count.
5. The vehicle-mounted device according to claim 2, characterized in that: The platform path controller fails to read the boot data from the first memory further comprising a reading time of reading the first memory that is greater than a preset time.
6. The vehicle-mounted device according to claim 5, characterized in that: When the read time is greater than the default time, the logic chip generates and outputs the switching signal to the switching unit.
7. The vehicle-mounted device according to claim 5, characterized in that: The invention also includes a storage unit, which is electrically coupled to the logic chip and is used to store the number of failures.
8. The vehicle-mounted device according to claim 7, characterized in that: When the logic chip determines that the read time is greater than the default time, the logic chip increases the number of failures by one and updates the number of failures in the storage unit.
9. The vehicle-mounted device according to claim 1, characterized in that: The invention also includes a warning light, which is electrically coupled to the logic chip. When the logic chip generates and outputs the switching signal to the switching unit, it generates and outputs a warning signal to the warning light.