Disclosure of Invention
Aiming at the problems, the invention mainly aims to design an intelligent centralized control system and a control method for a motor home, and solves the problems of single functional module and low integration level of the motor home centralized control system through the cooperation of a host and a centralized control screen.
The invention adopts the following technical scheme for realizing the purposes:
The intelligent centralized control system of the motor home comprises a host and a centralized control screen, wherein the host and the centralized control screen are communicated through CAN and LVDS, and the host and the whole car are communicated through CAN;
The host comprises a host MCU, a host SOC and a serializer, wherein the host SOC is used as a master node of an inter-integrated circuit link I2C, and the serializer is used as a slave node of the inter-integrated circuit link I2C;
The centralized control screen comprises a display screen module and a knob screen module, wherein the display screen module comprises a liquid crystal screen, a display screen end MCU and a deserializer, and the deserializer, the display screen end MCU and the liquid crystal screen are used as I2C slave nodes in the same path;
The display screen end MCU comprises an interrupt pin for information reporting, the liquid crystal screen comprises a TP interrupt pin for data reporting, the interrupt pin and the TP interrupt pin are connected to a master node in a serial deserializing transmission mode, and the master node accesses a corresponding slave node through I2C to acquire information or data according to the detected interrupt pin state.
As a further description of the invention, the liquid crystal screen informs the MCU of the display screen end to reset the liquid crystal screen through the error state of the TPFault pins.
As further description of the invention, the centralized control screen is a liquid crystal screen and a knob screen which are integrated with hardware and structure, the MCU of the display screen end is connected to the liquid crystal screen, and the MCU of the display screen end and the SOC of the knob screen end are communicated through I2C;
The centralized control screen is connected with the host through CAN and LVDS, the LVDS is communicated after the host SOC starts and outputs stably, the CAN is communicated with the host MCU after the host is electrified and started, and the CAN is irrelevant to the host SOC start.
As further description of the invention, the specification of the liquid crystal screen is set to be a 12.3 inch incell liquid crystal screen which comprises an intelligent voice interaction area and a perception interaction area, and the specification of the knob screen is set to be a 1.5 inch D-shaped screen which comprises a convenient control area and a function area which is just needed.
The intelligent voice interaction zone is used as a main body of user interaction to provide vehicle control and vehicle setting functions related to all vehicles, the user of the convenient control zone rapidly operates volume, wind speed, temperature, light color temperature, light brightness and light color by rotating and short-pressing a knob screen, and the function zone provides a load control function just after the system is started and before the starting of an operating system is completed.
As a further description of the invention, the host SOC includes a variety of communication protocols and interfaces including voice control, on-board ethernet, bluetooth, HDMI video access, high definition video output.
As a further description of the present invention, the host SOC includes an audio processing module, a communication module, a display module, and a storage module;
The audio processing module, the communication module, the display module and the storage module are all connected or communicated with a System On Chip (SOC) of the host computer;
the host MCU comprises a power management module and a CAN communication module.
As a further description of the present invention, the host SOC further includes a micro control unit and a main connector, the CAN communication module is connected to the micro control unit, and the audio processing module, the communication module, the display module, and the storage module are respectively connected to or in communication with the main connector;
The audio processing module comprises an analog audio connector, a pickup, an audio digital signal processing unit and a digital audio connector, wherein the pickup is connected to the input end of the main connector and the input end of the audio digital signal processing unit, the analog audio connector and the digital audio connector are respectively connected to the output end of the audio digital signal processing unit, and the audio digital signal processing unit is communicated with a System On Chip (SOC) of a host computer;
The CAN communication module comprises a CAN transceiver, wherein the CAN transceiver comprises a Bluetooth module and an Ethernet transceiver, the CAN transceiver is used for communication between a main connector and a micro control unit through a CAN, a hard wire interface is further arranged between the main connector and the micro control unit, and the micro control unit is respectively connected with a system on chip of a host SOC through an SPI and a GPIO;
The display module comprises a display screen connector, a HDIM connector, a serializer and a video conversion chip, wherein the display screen connector is connected with a control screen and is connected to a system on chip of a host System On Chip (SOC) through the serializer;
The storage module comprises a random access memory and a read-only memory, wherein the random access memory and the read-only memory are connected with a System On Chip (SOC) of the host;
The power management module comprises a power module, a USB connector and a USB charging protection unit, wherein the USB connector is connected with a system on a chip (SOC) of the host through the USB charging protection unit, and the power module is connected to the main connector and provides basic power for the system on a chip of the host SOC.
The intelligent control method for the motor home based on the centralized control system comprises the following steps:
S1, waking up a liquid crystal screen and a knob screen by long-time pressing of the knob screen, wherein the liquid crystal screen sends a CAN message to wake up a host MCU, the host MCU powers on a host SOC, and the system is started up;
s2, the host SOC transmits the display picture and the instruction of the liquid crystal screen to the liquid crystal screen through LVDS, and the host SOC and the host MCU respectively transmit the display data of the knob screen to the liquid crystal screen through LVDS and CAN 1;
S3, the liquid crystal screen is lightened and displays a corresponding picture after receiving the data in the step S2, and the display data of the knob screen is forwarded to the knob screen for display through the I2C;
S4, in the working process of the system, the liquid crystal screen is touched to generate touch interruption, the touch interruption is informed to the host through LVDS, the host reads touch data through LVDS, the knob screen is informed to the liquid crystal screen through I2C after being rotated or pressed, the liquid crystal screen is informed to the host through LVDS, and the host changes a display picture after executing corresponding processing;
S5, in the working process of the system, the knob screen transmits touch key information to the liquid crystal screen through the I2C, the liquid crystal screen transmits the touch key information to the host MCU through the CAN, the host MCU transmits vehicle state information to the liquid crystal screen through the CAN1, the liquid crystal screen transmits the vehicle state information to the knob screen through the I2C, and the knob screen displays corresponding indicator lamps;
S6, after the knob screen is pressed for a long time, the power-off is selected on the liquid crystal screen, the host SOC sends a power-off instruction to the liquid crystal screen through LVDS, and the liquid crystal screen and the knob screen are powered down to sleep;
and S7, after the host MCU detects that the CAN1 message stops sending and the whole vehicle LDU is closed, the host enters sleep.
Compared with the prior art, the invention has the technical effects that:
The invention provides an intelligent centralized control system and a control method of a motor home, wherein the system comprises a host and a centralized control screen, the host adopts a vehicle-standard system-level chip, various control methods such as voice recognition, touch control and mechanical switching are realized, the use requirements of all working conditions of a user are met, the immersed experience of all senses of the user is improved, the increasingly growing requirements of strong computing capacity, rich multimedia performance and the like are met, a group of control screens realize high integration and high intelligence of the control system, the control system comprises an intelligent voice interaction area, a perception interaction area, a convenient control area and a just-needed functional area, clear and convenient operation interfaces are provided, meanwhile, the system is implanted into an all-link voice interaction technology, multiple languages and dialects are supported, mass data are continuously updated, and the voice recognition accuracy is continuously improved.
Detailed Description
The invention is described in detail below with reference to the attached drawing figures:
In one embodiment of the invention, an intelligent centralized control system of a motor home is disclosed, and is shown by referring to FIG. 1, the intelligent centralized control system comprises a host and a centralized control screen, the host and the centralized control screen are communicated through CAN and LVDS, the host and the whole car are communicated through CAN, the host comprises a host MCU, a host SOC and a serializer, the host SOC is used as a master node of an inter-integrated circuit (IIC) link, the serializer is used as a slave node of the inter-integrated circuit (IIC) link, the centralized control screen comprises a display screen module and a knob screen module, the display screen module comprises a liquid crystal screen, a display screen end MCU and a deserializer, the display screen end MCU and the liquid crystal screen are used as slave nodes of the same path I2C, the liquid crystal screen is informed of the reset of the liquid crystal screen through the error state of TPFault pins, the knob screen module comprises a knob screen, a screen end SOC and a capacitive touch key, the display screen end and the knob screen end SOC are used as master nodes of the I2C.
Specifically, in this embodiment, the display screen end MCU includes an interrupt pin for information reporting, the liquid crystal screen (TP) includes a TP interrupt pin for data reporting, the interrupt pin and the TP interrupt pin are connected to a master node through a serial deserializing transmission mode, and the master node accesses a corresponding slave node through an I2C to obtain information or data according to the detected interrupt pin state.
In this embodiment, the centralized control screen includes a liquid crystal screen and a knob screen, which are integrated with hardware and structure, the display screen end MCU is connected to the liquid crystal screen, the display screen end MCU communicates with the knob screen end SOC through I2C, the centralized control screen is connected with the host through CAN and LVDS, the LVDS communicates after the host SOC is started and output is stable, the CAN communicates with the host MCU after the host is powered on, and is not related to the host SOC start.
Specifically, in this embodiment, the specification of the liquid crystal screen is set to 12.3 inches incell, which includes an intelligent voice interaction area and a perception interaction area, and the specification of the knob screen is set to 1.5 inches D-shaped screen, which includes a convenient control area and a just-needed function area. The intelligent voice interaction area provides support of a full-link voice interaction function, the perception interaction area serves as a main body of user interaction and provides vehicle control and vehicle setting functions related to all vehicles, a user of the convenient control area rapidly operates volume, wind speed, temperature, light color temperature, light brightness, light color and the like by rotating and short-pressing a knob screen, and the function area provides a load control function just after the system is started and before an operating system (Android system) is started.
In this embodiment, the host adopts a system-on-chip solution, that is, the host SOC includes multiple communication protocols and interfaces, and the interfaces include voice control, vehicle ethernet, bluetooth, HDMI video access, and high-definition video output. The system level chip sets the interfaces of voice control, vehicle-mounted Ethernet, bluetooth, HDMI video access, high-definition video output and the like into a whole, and the hardware architecture is shown in figure 3.
The hardware of the host SOC comprises an audio processing module, a communication module, a display module and a storage module, wherein the audio processing module, the communication module, the display module and the storage module are connected or communicated with a system on chip of the host SOC, and the host MCU comprises a power management module and a CAN communication module.
Specifically, in this embodiment, the host SOC further includes a micro control unit and a main connector, where the CAN communication module is connected to the micro control unit, and the audio processing module, the communication module, the display module, and the storage module are respectively connected to or in communication with the main connector.
The audio processing module comprises an analog audio connector, a pickup, an audio digital signal processing unit and a digital audio connector, wherein the pickup is connected to the input end of the main connector and the input end of the audio digital signal processing unit, the analog audio connector and the digital audio connector are respectively connected to the output end of the audio digital signal processing unit, and the audio digital signal processing unit is communicated with a System On Chip (SOC) of the host. Specifically, the pickup is responsible for collecting audio signals, the collected audio signals are transmitted to the audio digital signal processing unit for digital processing, and the processed digital audio signals are output through the digital audio connector or further transmitted to a System On Chip (SOC) of the host. The audio processing module realizes the functions of collecting, processing and outputting audio signals.
The CAN communication module comprises a CAN transceiver, the communication module comprises a Bluetooth module and an Ethernet transceiver, the CAN transceiver is used for communication between a main connector and a micro control unit through a CAN, a hard wire interface is further arranged between the main connector and the micro control unit, the micro control unit is respectively connected with a system on chip of a host SOC through an SPI and a GPIO, the Bluetooth module comprises a Bluetooth antenna, the Bluetooth module is connected with the system on chip of the host SOC, and the Ethernet connector is connected to the system on chip of the host SOC through the Ethernet transceiver. Specifically, the CAN transceiver is connected with the micro control unit through the CAN to realize a CAN bus communication function, the Bluetooth module is connected with the system on chip of the host computer SOC through the UART interface to provide a Bluetooth wireless communication function, the CAN0_HL and the CAN1_HL are used as two different channels of the CAN bus to respectively connect the main connector with the micro control unit to realize data transceiving, the Ethernet connector provides a physical interface for connecting an Ethernet cable, and the Ethernet transceiver is responsible for transmitting and receiving data to ensure correct transmission of the data and provide stable and efficient communication for the system. The CAN communication module and the communication module enable the system-level chip to communicate and transmit data through a CAN bus, bluetooth and Ethernet.
The display module comprises a display screen connector, a HDIM connector, a serializer and a video conversion chip, wherein the display screen connector is connected with the control screen and is connected to a system on chip of the host SOC through the serializer, and the HDIM connector is connected to the system on chip of the host SOC through the video conversion chip. Specifically, the display screen connector is responsible for transmitting video signals to the control screen for display, the video conversion chip communicates with a system on a chip (SOC) of the host computer and transmits data, and the control of the display content and the format of the control screen is realized by controlling the video conversion chip.
The storage module comprises a random access memory and a read-only memory, and the random access memory and the read-only memory are connected with a System On Chip (SOC) of the host. The read-only memory is used for storing data and programs for a long time, and the data and the programs cannot be lost even if the power is cut off, so that a stable storage function is provided for the system.
The power management module comprises a power module, a USB connector and a USB charging protection unit, wherein the USB connector is connected with a system on a chip (SOC) of the host through the USB charging protection unit, and the power module is connected to the main connector and provides basic power for the system on a chip of the host SOC. The USB connector is used for being connected with external USB equipment to realize data transmission or power supply, such as storage equipment or external equipment, the USB charging protection unit is used for protecting a system from damage caused by overcurrent, overvoltage and the like due to USB charging, and the power module is responsible for providing a basic power supply required by the whole system.
Through the above, the intelligent centralized control system disclosed by the invention has the advantages that after the system is started, the starting process of the Android system of the operating system is shown in fig. 4, the total starting time of the operating system is about 15 seconds, and the specific starting process is divided into three stages, namely Uboot starting, Kernel starting and Android system starting.
Uboot startup, namely a pre-startup stage, in which a boot mode is distinguished, eMMC is initialized, and a bootloader file and a security file HSM of three stages are loaded.
1. Starting Uboot boot program, namely when the Android system is powered on or reset, firstly executes a boot loader, Uboot is one of widely used open source boot loader, and Uboot is responsible for initializing hardware, and preparing for loading the kernel of the operating system;
2. The read boot mode : Uboot reads the boot mode configuration of the Android system, the configuration determines how the Android system is to be started, is as an internal EMMC or external SD/MMC card;
3. Initializing an eMMC the Android system is configured to start from eMMC, Uboot initializes the eMMC interface, ready to read the boot program and data stored on eMMC;
4. the download bootstrap program BL1 : Uboot loads BL1 stage codes from a starting medium eMMC or other storage media to a specific address of the iRAM;
5. After the initialization DRAM : BL1 stage is completed, the can initialize the DRAM, provides enough memory space for the subsequent boot program and Android system kernel;
downloading a hardware security module HSM , namely after initializing a DRAM, the hardware security module HSM is , and downloads and initializes the hardware security module HSM to ensure the security of an Android system, wherein the HSM is a hardware security module and is used for providing security functions such as encryption, decryption, signature and the like;
6. In the multi-stage boot process of the downloading boot programs BL2& BL3 : , BL2 and BL3 are boot programs in the subsequent stage, and Uboot loads and executes the boot programs in the BL2 and BL3 stages into a memory in sequence, until the Android system kernel is finally started;
through the steps, Uboot bootstrap program can successfully guide the Android system from the starting medium to the kernel running state .
Kernel starts, namely loading a Linux Kernel stage and establishing a Linux running environment.
1. When the Kernel is started up, , after the boot loader (, such as Uboot) completes its task, gives control to the Kernel, which starts executing its start code, performs necessary initialization;
2. Initializing the external interrupt service scheduler : kernel sets and initializes interrupt handling mechanisms to enable responding to and handling interrupts from hardware, including configuring interrupt controllers, setting interrupt handlers, etc.,
Initializing memory management unit protection program : memory management unit ( MMU) is responsible for virtual to physical memory mapping, kernel initializing MMU, sets memory protection mechanism to prevent illegal memory access,
3. Device drivers - are loaded, the kernel identifies the hardware devices in the Android system, are loaded, the drivers allow the kernel to communicate and control with the hardware devices,
4. Initializing kernel service processes , wherein the kernel creates and initializes some kernel service processes, such as init processes, , which are responsible for starting and managing other processes in the Android system;
Setting mount point kernel prepares file system, sets mount point so that root file system and other file systems can be mounted and accessed;
initializing a runtime environment of a kernel process, wherein the kernel provides necessary environments for the process to run, and comprises process scheduling, memory allocation, I/O devices and the like;
through the steps described above, kernel successfully boots the operating system, and provides a solid foundation for subsequent user processes and system services. A
And starting the Android system, namely establishing a framework and a VM environment required by an Android application program APK for an Android operation stage, and operating various core service programs.
1. When the power of the equipment is started, the system is started : , a Boot program starts to be executed from a preset code solidified in the ROM, loads and executes a Boot Loader, performs operations such as memory check, hardware parameter initialization and the like;
The loading Kernel : Boot Loader loads Linux Kernel, is the Kernel layer of the Android system, is responsible for loading hardware drivers, is like a camera, a display screen and the like;
After the kernel of the startup Init process : is loaded, creates a first user process Init ( pid=1) , which is responsible for starting other key processes of the Android system;
Starting Zygote processes : Init processes will hatch Zygote processes, being a bridge connecting the Java world and the Native world. Zygote the process creates SYSTEMSERVER process, is responsible for starting Android frame work system service;
2. Running the darwink virtual machine : in the Zygote process, the Dalvik virtual machine is started, and a Java VM instance and a JNIEnv instance are obtained, starts executing Java code. ;
system service starting : along with the starting of SYSTEMSERVER processes, various services of the Android system also start to run, and comprises core services and other services;
3. When all necessary services and processes are started and run after entering an idle state : , the Android system enters the idle state, and waits for operation of a user;
through the steps, the starting process of the Android system is completed.
In another embodiment of the invention, an intelligent control method of a motor home is disclosed, the control method is based on the centralized control system, and the method comprises the following steps:
S1, waking up a liquid crystal screen and a knob screen by long-time pressing of the knob screen, wherein the liquid crystal screen sends a CAN message to wake up a host MCU, the host MCU powers on a host SOC, and the system is started up;
s2, the host SOC transmits the display picture and the instruction of the liquid crystal screen to the liquid crystal screen through LVDS, and the host SOC and the host MCU respectively transmit the display data of the knob screen to the liquid crystal screen through LVDS and CAN 1;
S3, the liquid crystal screen is lightened and displays a corresponding picture after receiving the data in the step S2, and the display data of the knob screen is forwarded to the knob screen for display through the I2C;
S4, in the working process of the system, the liquid crystal screen is touched to generate touch interruption, the touch interruption is informed to the host through LVDS, the host reads touch data through LVDS, the knob screen is informed to the liquid crystal screen through I2C after being rotated or pressed, the liquid crystal screen is informed to the host through LVDS, and the host changes a display picture after executing corresponding processing;
S5, in the working process of the system, the knob screen transmits touch key information to the liquid crystal screen through the I2C, the liquid crystal screen transmits the touch key information to the host MCU through the CAN, the host MCU transmits vehicle state information to the liquid crystal screen through the CAN1, the liquid crystal screen transmits the vehicle state information to the knob screen through the I2C, and the knob screen displays corresponding indicator lamps;
S6, after the knob screen is pressed for a long time, the power-off is selected on the liquid crystal screen, the host SOC sends a power-off instruction to the liquid crystal screen through LVDS, and the liquid crystal screen and the knob screen are powered down to sleep;
and S7, after the host MCU detects that the CAN1 message stops sending and the whole vehicle LDU is closed, the host enters sleep.
Through the above, the intelligent centralized control system and the control method for the motor home are disclosed, and compared with the prior art, the intelligent centralized control system and the control method for the motor home have the following advantages:
1. the invention abandons the current design situation that the traditional car as a house Internet of things control system is separated by multiple ECUs and has single function, adopts a car-gauge system-on-chip (host SOC), realizes various control methods such as voice recognition, touch control, mechanical switch and the like, meets the use requirements of all working conditions of users, and improves the full-sensory immersive experience of the users;
2. the host SOC of the invention meets the increasing demands of a motor home control system for strong computing power, rich multimedia performance and the like;
3. the invention only comprises a host and a group of centralized control screens, and realizes the high integration and high intelligence of the control system;
4. The system is implanted with a full-link voice interaction technology, supports multiple languages and dialects such as mandarin/Chinese-English mixture/English/Portuguese/Guangdong chunghu, and the like, continuously updates mass data, and continuously improves the voice recognition accuracy;
5. The control screen adopts a double-screen centralized control scheme, and comprises an intelligent voice interaction area, a perception interaction area, a convenient control area and a just-needed function area, so that a clear and convenient operation interface is provided.
The above embodiments are only for illustrating the technical solution of the present invention, but not for limiting, and other modifications and equivalents thereof by those skilled in the art should be included in the scope of the claims of the present invention without departing from the spirit and scope of the technical solution of the present invention.