A vehicle refrigerator control method and system based on CAN communication data

By using real-time communication and intelligent analysis and processing methods of CAN bus in vehicle refrigerators, the complexity and difficulty problems in the development of adaptive control algorithms for vehicle refrigerators are solved, and the deep integration and intelligence of refrigerators and vehicle systems are achieved, improving user experience and reducing costs.

CN119178281BActive Publication Date: 2025-05-02FOSHAN ALPICOOL ELECTRIC APPLIANCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411503424.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-05-02
Estimated Expiration
2044-10-25

AI Technical Summary

Technical Problem

In the process of developing adaptive control algorithms for vehicle-mounted refrigerators, they face technical challenges such as complex algorithm models, variable environmental parameters, and difficult passenger feedback, resulting in long development cycles, difficult debugging, and high cost.

Method used

Through the CAN bus, real-time communication between the refrigerator control unit and the vehicle central control system is realized, multi-point temperature data is collected and intelligently analyzed and processed, triggering the active reporting mechanism for fault information, providing personalized usage suggestions, and supporting refrigerator appearance customization and intelligent inventory management.

Benefits of technology

It significantly improves the intelligence level and user experience of car refrigerators, realizes the deep integration of refrigerators and car systems, simplifies the development and debugging process, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119178281B_ABST
    Figure CN119178281B_ABST
Patent Text Reader

Abstract

The present invention proposes a vehicle refrigerator control method and system based on CAN communication data, the method comprising: adopting the CAN bus communication protocol standardized method, the vehicle refrigerator control unit collects the temperature sensor data of multiple points inside the refrigerator, and transmits the real-time temperature data to the vehicle central control system through the data packet priority management mechanism; after the vehicle computer receives the fault code, the decryption algorithm is called for analysis, the fault information is displayed on the touch screen operation interface, and the voice command recognition system is started to prompt the user to confirm the fault; the vehicle central control system generates personalized usage suggestions according to the refrigerator usage habit data analysis results, including temperature settings, food storage locations, etc., and sends the suggestions to the refrigerator control unit through the CAN bus for execution; after receiving the personalized suggestions, the refrigerator control unit drives the internal partition to move to realize the customized setting of multiple temperature zones, and at the same time feeds back the execution results to the vehicle computer through the CAN bus, and the vehicle computer interface updates the refrigerator status information in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of information technology, and in particular relates to a vehicle refrigerator control method based on CAN communication data. Background Art

[0002] In the process of developing the adaptive control algorithm for the in-vehicle refrigerator based on CAN communication data, we faced technical challenges such as complex algorithm models, variable environmental parameters, and difficult to quantify passenger feedback. The algorithm needs to dynamically adjust the control strategies such as the refrigeration compressor power, air duct mode, and temperature setting according to multiple parameters such as the temperature and humidity in the car, the number of passengers, and the driving status of the vehicle to achieve a balance between passenger comfort and refrigeration efficiency.

[0003] However, due to the nonlinear coupling relationship between parameters, the optimal control strategy under various working conditions is difficult to obtain through simple logical judgment. It requires a large number of experiments and data analysis to establish a complex mathematical model. At the same time, due to the dynamic changes and random disturbances in the in-vehicle environment, the control algorithm also needs to have a certain degree of adaptability and robustness, and be able to quickly adjust and maintain system stability when parameters fluctuate. In addition, since passenger somatosensory feedback is subjective and uncertain, how to quantify it into a form that the algorithm can understand and process is also a major difficulty. These factors lead to a long development cycle and difficulty in debugging of the adaptive control algorithm, high requirements on the experience and skills of the algorithm engineer, and high development costs. Summary of the invention

[0004] The purpose of the present invention is to propose a vehicle refrigerator control method based on CAN communication data, realize real-time communication between the refrigerator control unit and the vehicle central control system through the CAN bus, collect multi-point temperature data and perform intelligent analysis and processing.

[0005] In order to achieve the above object, a first aspect of the present invention provides a vehicle refrigerator control method based on CAN communication data, the method comprising:

[0006] Using the standardized CAN bus communication protocol, the vehicle refrigerator control unit collects data from multiple temperature sensors inside the refrigerator, and transmits the real-time temperature data to the vehicle central control system through the data packet priority management mechanism; after receiving the temperature data, the vehicle central control system processes the data according to the preset algorithm to determine whether the temperature is within the normal range. If there is an abnormal temperature, the fault information active reporting mechanism is triggered, and the encrypted fault code is sent to the vehicle computer through the CAN bus; after receiving the fault code, the vehicle computer calls the decryption algorithm for analysis, displays the fault information on the touch screen operation interface, and starts the voice command recognition system to prompt the user to confirm the fault; the user selects the fault handling method through voice commands or the touch screen, and the vehicle computer converts the user's selection into a temperature setting command and sends it to the refrigerator control unit through the CAN bus. After receiving the command, the control unit adjusts the working state of the refrigeration system, including:

[0007] The user inputs voice commands through the voice recognition module on the vehicle side or selects a fault handling method on the touch screen. The vehicle system determines the corresponding temperature setting value based on the user's voice command or touch selection. The vehicle converts the temperature setting value into a standardized CAN bus data frame format and sends the temperature setting data frame to the vehicle refrigerator control unit through the CAN bus interface. The refrigerator control unit receives the CAN bus data and parses out the temperature setting value. The control unit compares the parsed temperature setting value with the actual temperature value collected by the current refrigerator internal temperature sensor:

[0008] If the set temperature is lower than the actual temperature, the control unit issues a cooling command to start the compressor and fan until the set temperature is reached. If the set temperature is higher than the actual temperature, the control unit issues a stop cooling command to turn off the compressor and fan. The refrigerator control unit periodically sends a data frame containing the current temperature and working status to the vehicle computer through the CAN bus; the on-board central control system generates personalized usage suggestions based on the results of the refrigerator usage habit data analysis, and sends the personalized suggestions to the refrigerator control unit through the CAN bus for execution; after receiving the personalized suggestions, the refrigerator control unit drives the internal partition to move to achieve multi-temperature zone customized settings, and at the same time feeds back the execution results to the vehicle computer through the CAN bus, and the vehicle computer interface updates the refrigerator status information in real time. The vehicle computer interface provides a refrigerator appearance customization function, and then the on-board central control system generates a customization plan and transmits it to the refrigerator control unit through the CAN bus, and the refrigerator control unit stores the plan in a non-volatile memory; the on-board central control system regularly collects refrigerator inventory information through the remote monitoring and control module, generates an intelligent replenishment list based on user usage habits, and sends the list to the refrigerator control unit through the CAN bus, and the control unit updates the inventory status on the refrigerator display.

[0009] Furthermore, if the vehicle is parked for a long time or in an extreme environment, a predictive control algorithm is used to estimate and predict the energy consumption and temperature change trends of the car refrigerator, and adjust the compressor power and air duct mode in advance to ensure that the refrigerator can still maintain the appropriate temperature and refrigeration effect under harsh conditions.

[0010] Furthermore, the vehicle refrigerator control unit collects the temperature sensor data of multiple points inside the refrigerator by using the standardized CAN bus communication protocol, and transmits the real-time temperature data to the vehicle central control system through the data packet priority management mechanism, including:

[0011] The refrigerator control unit collects temperature data from multiple temperature sensors inside the refrigerator. Based on the collected temperature data, the temperature data is encapsulated into a data packet through the CAN bus communication protocol. The data packet priority management mechanism is used to set the priority of the encapsulated temperature data packet, and the temperature data packet with the set priority is transmitted to the vehicle-mounted central control system through the CAN bus. The vehicle-mounted central control system receives the temperature data packet transmitted by the CAN bus, parses the received temperature data packet, and obtains the real-time temperature data inside the refrigerator. Based on the real-time temperature data obtained by the analysis, the current working status of the refrigerator is judged. If the temperature inside the refrigerator is higher than the set temperature, the vehicle-mounted central control system sends a refrigeration command to the refrigerator control unit through the CAN bus. After receiving the refrigeration command, the refrigerator control unit controls the compressor and the fan to start and cool the inside of the refrigerator until the temperature drops to the set temperature.

[0012] Furthermore, the vehicle refrigerator collects temperature sensor data in the box in real time through the CAN bus, and sends the temperature data to the vehicle central control system. After the vehicle central control system receives the temperature data sent by the refrigerator, it determines whether the current temperature is within the normal range according to the preset temperature range judgment standard. If the temperature exceeds the normal range;

[0013] If it exceeds the normal range, the on-board central control system triggers the fault information active reporting mechanism, encrypts the abnormal temperature data, and generates an encrypted fault code. The on-board central control system sends the encrypted fault code to the vehicle system through the CAN bus. After the vehicle system receives the encrypted fault code, it uses a preset decryption algorithm to decrypt the fault code to obtain the decrypted fault information. The vehicle system determines the type and degree of temperature abnormality based on the decrypted fault information. The vehicle system determines whether it is necessary to adjust the cooling or heating power of the refrigerator based on the type and degree of temperature abnormality through the preset fault processing logic. If it is necessary to adjust the cooling or heating power, the vehicle system sends a control command to the vehicle refrigerator through the CAN bus, instructing the refrigerator to adjust the corresponding cooling or heating power. After receiving the control command from the vehicle system, the vehicle refrigerator obtains the power adjustment value in the command, controls the working status of the compressor and fan or heating wire, and completes the adjustment of the cooling or heating power.

[0014] Furthermore, the vehicle computer receives the fault code data sent by the refrigerator through the CAN bus. The vehicle computer main control unit obtains the received fault code data, calls a preset decryption algorithm to parse the fault code. Based on the parsed fault code information, the vehicle computer main control unit displays the corresponding fault information content on the touch screen operation interface, and the vehicle computer main control unit simultaneously starts the voice command recognition system, and prompts the user through voice that the current refrigerator has a fault. The voice command recognition system receives the user's voice feedback, and determines whether the user confirms the fault information. If the user voice confirms the fault information, if the user confirms the fault, the vehicle computer main control unit generates a fault confirmation instruction, and then sends the fault confirmation instruction data to the refrigerator main control unit through the CAN bus. The refrigerator main control unit receives and parses the fault confirmation instruction data sent by the vehicle computer, and based on the parsed fault confirmation instruction, the refrigerator main control unit controls the refrigerator to enter a fault protection state and stop current work.

[0015] Furthermore, the vehicle-mounted central control system generates personalized usage suggestions based on the refrigerator usage habit data analysis results, and sends the personalized suggestions to the refrigerator control unit for execution via the CAN bus, including:

[0016] The vehicle-mounted central control system obtains the refrigerator's historical usage data;

[0017] Use big data analysis technology to analyze the historical usage data obtained to obtain users' refrigerator usage habits and preferences;

[0018] Based on the analysis results, the vehicle's central control system determines personalized refrigerator usage recommendations;

[0019] Encapsulate the generated personalized usage suggestion data into a standard format through the CAN bus protocol;

[0020] The vehicle central control system sends the packaged suggestion data to the control unit of the vehicle refrigerator via the CAN bus;

[0021] After receiving the data transmitted by the CAN bus, the refrigerator control unit parses the content of personalized usage suggestions;

[0022] The refrigerator control unit determines whether the current refrigerator temperature setting and food storage layout meet the recommendations:

[0023] If it does not meet the requirements, the refrigerator control unit adjusts the temperature setting of the refrigerator and issues a reminder to optimize the food storage location;

[0024] The refrigerator control unit executes the adjusted temperature setting and feeds back the execution result to the vehicle's central control system.

[0025] Furthermore, after receiving the personalized suggestion, the refrigerator control unit drives the internal partition to move to realize the customized setting of multiple temperature zones, and at the same time feeds back the execution result to the vehicle computer through the CAN bus, and the vehicle computer interface updates the refrigerator status information in real time, including:

[0026] The refrigerator control unit receives the personalized suggestion data sent by the vehicle computer through the CAN bus, and the refrigerator control unit analyzes the received personalized suggestion data to determine the partition position and temperature zone setting that need to be adjusted. The refrigerator control unit calculates the distance and direction that each partition needs to move according to the analysis results, and the refrigerator control unit converts the calculated partition movement parameters into control instructions, and the refrigerator control unit sends the control instructions to the partition drive device. The partition drive device drives the partition motor to operate according to the received control instructions. After the partition moves, the refrigerator control unit detects whether the actual temperature of each temperature zone reaches the target set temperature. The refrigerator control unit encapsulates the execution results of the partition movement and the temperature of the temperature zone into feedback data, and sends it to the vehicle computer through the CAN bus. After the vehicle computer receives the feedback data from the refrigerator control unit, it updates the refrigerator status information on the interface and displays the position and temperature of each temperature zone inside the refrigerator in real time;

[0027] The vehicle interface provides a refrigerator appearance customization function, and then the vehicle central control system generates a customization plan and transmits it to the refrigerator control unit via the CAN bus. The refrigerator control unit stores the plan in a non-volatile memory, including:

[0028] The vehicle computer system obtains the refrigerator appearance customization parameters selected by the user on the interface;

[0029] The vehicle computer system generates customized solution data for the refrigerator appearance based on the obtained customized parameters through a preset algorithm;

[0030] The vehicle computer system encapsulates the generated customized solution data through the CAN bus protocol to form a standardized data frame format;

[0031] The vehicle system sends the packaged customized solution data frame to the refrigerator control unit through the CAN bus interface;

[0032] The refrigerator control unit receives the customized solution data frame sent by the vehicle system through the CAN bus interface;

[0033] The refrigerator control unit parses the received data frame and extracts parameter information of the customized solution;

[0034] The refrigerator control unit processes the extracted customized solution parameter information and converts it into a control instruction format that can be recognized by the refrigerator hardware;

[0035] The refrigerator control unit writes the converted customized solution control instruction data into a designated storage area of ​​the non-volatile memory;

[0036] The refrigerator control unit reads the stored customization scheme data from the non-volatile memory, controls the refrigerator hardware to perform corresponding appearance customization operations according to the read data, and completes the customization of the refrigerator appearance.

[0037] Furthermore, the vehicle-mounted central control system regularly collects refrigerator inventory information through the remote monitoring and control module, generates an intelligent replenishment list based on user usage habits, and sends the list to the refrigerator control unit through the CAN bus. The control unit updates the inventory status on the refrigerator display screen, including:

[0038] The on-board central control system obtains the real-time data of the refrigerator through the CAN bus, and generates a refrigerator inventory prediction model based on user usage habits and historical data. The on-board central control system adopts the inventory prediction model to estimate the consumption rate and remaining amount of items in the refrigerator, and obtains the estimated replenishment time. The on-board central control system automatically generates an intelligent replenishment list based on the estimated replenishment time. The intelligent replenishment list includes the name and quantity of items that need to be replenished. The on-board central control system sends the intelligent replenishment list data to the refrigerator control unit through the CAN bus. After receiving the intelligent replenishment list data, the refrigerator control unit parses and processes the data. The refrigerator control unit transmits the parsed replenishment list information to the refrigerator display. After receiving the replenishment list information, the refrigerator display automatically updates the current refrigerator inventory status interface. The refrigerator display displays the name and quantity of items that need to be replenished in the form of a list, prompting the user to replenish in time.

[0039] Furthermore, the parking time and current ambient temperature of the vehicle are obtained as inputs of the predictive control algorithm. Based on the obtained data, the predictive control algorithm is used to estimate and predict the energy consumption and temperature change trend of the vehicle refrigerator in the future. Through the prediction results, it is determined whether the vehicle refrigerator can maintain a suitable temperature and cooling effect under the current environmental conditions:

[0040] If the prediction result shows that the car refrigerator cannot maintain the appropriate temperature and cooling effect, it is determined that the compressor power and air duct mode need to be adjusted. According to the actual working state of the car refrigerator and the prediction result, the specific parameter values ​​for adjusting the compressor power and air duct mode are calculated. The calculated adjustment parameters of the compressor power and air duct mode are sent to the control unit of the car refrigerator through the CAN bus. After receiving the adjustment parameters, the control unit of the car refrigerator controls the compressor and the air duct to perform the corresponding adjustment operations. After the adjustment is completed, the car refrigerator re-enters the working state and monitors the internal temperature and energy consumption data of the refrigerator in real time. The monitored temperature and energy consumption data are fed back to the predictive control algorithm for the next prediction and adjustment, forming a closed-loop control, optimizing the working state of the car refrigerator, and ensuring that the car refrigerator can still maintain a suitable temperature and cooling effect under extreme conditions.

[0041] In a second aspect of the present invention, a vehicle refrigerator control system based on CAN communication data is provided, the system comprising:

[0042] CAN bus communication data acquisition module, which is used to collect the temperature sensor data of multiple points inside the refrigerator by the vehicle refrigerator control unit in a standardized manner using the CAN bus communication protocol, and transmit the real-time temperature data to the vehicle central control system through the data packet priority management mechanism;

[0043] The fault judgment module is used to process the temperature data received by the vehicle central control system according to the preset algorithm to determine whether the temperature is within the normal range. If the temperature is abnormal, the fault information active reporting mechanism is triggered and the encrypted fault code is sent to the vehicle computer through the CAN bus;

[0044] The fault decryption module is used to call the decryption algorithm to analyze the fault code after the vehicle computer receives it, display the fault information on the touch screen operation interface, and start the voice command recognition system to prompt the user to confirm the fault;

[0045] The command receiving module is used for the user to select the fault handling method through voice commands or touch screen. The vehicle computer converts the user's selection into a temperature setting command and sends it to the refrigerator control unit through the CAN bus. After receiving the command, the control unit adjusts the working state of the refrigeration system, including:

[0046] The user inputs voice commands through the voice recognition module on the vehicle side or selects a fault handling method on the touch screen. The vehicle system determines the corresponding temperature setting value based on the user's voice command or touch selection. The vehicle converts the temperature setting value into a standardized CAN bus data frame format and sends the temperature setting data frame to the vehicle refrigerator control unit through the CAN bus interface. The refrigerator control unit receives the CAN bus data and parses out the temperature setting value. The control unit compares the parsed temperature setting value with the actual temperature value collected by the current refrigerator internal temperature sensor:

[0047] If the set temperature is lower than the actual temperature, the control unit issues a cooling command to start the compressor and fan until the set temperature is reached. If the set temperature is higher than the actual temperature, the control unit issues a stop cooling command to turn off the compressor and fan. The refrigerator control unit periodically sends a data frame containing the current temperature and working status to the vehicle computer through the CAN bus; a personalized design module is used for the vehicle central control system to generate personalized usage suggestions based on the refrigerator usage habit data analysis results, and send the personalized suggestions to the refrigerator control unit through the CAN bus for execution; a personalized setting module is used for the refrigerator control unit to drive the internal partition to move to achieve multi-temperature zone customized settings after receiving the personalized suggestions, and at the same time feedback the execution results to the vehicle computer through the CAN bus. The vehicle computer interface updates the refrigerator status information in real time. The vehicle computer interface provides a refrigerator appearance customization function, and then the vehicle central control system generates a customized plan and transmits it to the refrigerator control unit through the CAN bus. The refrigerator control unit stores the plan in a non-volatile memory;

[0048] The personalized reminder module is used for the vehicle-mounted central control system to regularly collect refrigerator inventory information through the remote monitoring and control module, generate an intelligent replenishment list based on user usage habits, and send the list to the refrigerator control unit through the CAN bus. The control unit updates the inventory status on the refrigerator display.

[0049] The beneficial technical effects of the present invention are at least as follows:

[0050] The present invention discloses an intelligent vehicle refrigerator control system based on CAN bus. The system realizes real-time communication between the refrigerator control unit and the vehicle central control system through the CAN bus, collects multi-point temperature data and performs intelligent analysis and processing. When abnormal temperature is detected, the system automatically triggers the fault alarm mechanism and prompts the user through the vehicle interface and voice. The user can handle the fault through voice or touch. The present invention also provides personalized usage suggestions based on user habits to realize customized settings of multiple temperature zones. At the same time, the system supports refrigerator appearance customization and intelligent inventory management functions. Through the efficient communication of the CAN bus and the application of intelligent algorithms, the present invention significantly improves the intelligence level and user experience of vehicle refrigerators, realizes the deep integration of refrigerators and vehicle systems, and provides users with a more convenient and personalized use experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.

[0052] Figure 1 The present invention is a flow chart of a vehicle refrigerator control method based on CAN communication data.

[0053] Figure 2 It is a schematic diagram of a vehicle refrigerator control method based on CAN communication data of the present invention.

[0054] Figure 3 It is another schematic diagram of a vehicle refrigerator control method based on CAN communication data of the present invention.

[0055] Figure 4 The present invention is a framework diagram of a vehicle refrigerator control system based on CAN communication data. DETAILED DESCRIPTION

[0056] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0057] like Figure 1 As shown, the embodiment of the present invention provides Figure 2-4 In this embodiment, a vehicle refrigerator control method based on CAN communication data may specifically include:

[0058] S101. Using the standardized CAN bus communication protocol, the vehicle refrigerator control unit collects data from multiple temperature sensors inside the refrigerator, and transmits the real-time temperature data to the vehicle central control system through a data packet priority management mechanism.

[0059] The refrigerator control unit collects temperature data from multiple temperature sensors inside the refrigerator;

[0060] According to the collected temperature data, the temperature data is encapsulated into data packets through the CAN bus communication protocol, and the data packet priority management mechanism is adopted to set the priority of the encapsulated temperature data packets;

[0061] Transmit the temperature data packets with set priority to the vehicle central control system via the CAN bus;

[0062] The vehicle-mounted central control system receives the temperature data packet transmitted by the CAN bus and parses the received temperature data packet to obtain the real-time temperature data inside the refrigerator;

[0063] The current working status of the refrigerator is determined based on the real-time temperature data obtained through analysis. If the temperature inside the refrigerator is higher than the set temperature, the vehicle-mounted central control system sends a refrigeration command to the refrigerator control unit through the CAN bus. After receiving the refrigeration command, the refrigerator control unit controls the compressor and fan to start and refrigerate the inside of the refrigerator until the temperature drops to the set temperature.

[0064] Exemplarily, the refrigerator control unit collects temperature data from five DS18B20 digital temperature sensors inside the refrigerator, with a temperature collection range of -55°C to +125°C and an accuracy of ±5°C. According to the collected temperature data, the temperature data is encapsulated into a data frame through the CAN0B bus communication protocol. The data frame consists of fields such as ID, data length, and data domain. When the data is transmitted on the bus, it needs to be determined by bit-by-bit arbitration. The smaller the ID value, the higher the priority. The refrigerator control unit sets the ID of the temperature data frame to 0x120, which has a higher priority. After receiving the temperature data frame with an ID of 0x120, the vehicle-mounted central control system parses the data frame and obtains the real-time temperature values ​​of five points inside the refrigerator by parsing the byte data in the data domain. The vehicle-mounted central control system performs arithmetic averaging on the five temperature values ​​and obtains an average temperature of 4°C inside the refrigerator, which is higher than the set 4°C. Therefore, the vehicle-mounted central control system sets the ID of the refrigeration instruction frame to 0x100 and sends it to the refrigerator control unit through the CAN bus. After receiving the refrigeration command frame with ID 0x100, the refrigerator control unit parses the control word in the data field to control the compressor and fan to start, with the compressor power of 120W and the fan speed of 2500rpm to cool the inside of the refrigerator. The refrigerator control unit collects temperature data every 5 seconds and uploads it to the vehicle-mounted central control system until the average temperature drops below 4°C. The vehicle-mounted central control system sends a stop refrigeration command frame with ID 0x101. The refrigerator control unit controls the compressor and fan to stop working, completing a refrigeration temperature adjustment process.

[0065] S102: After receiving the temperature data, the vehicle-mounted central control system processes the data according to a preset algorithm to determine whether the temperature is within a normal range. If the temperature is abnormal, the fault information active reporting mechanism is triggered, and an encrypted fault code is sent to the vehicle computer via the CAN bus.

[0066] The vehicle refrigerator collects temperature sensor data in real time through the CAN bus and sends the temperature data to the vehicle central control system;

[0067] After receiving the temperature data sent by the refrigerator, the vehicle-mounted central control system determines whether the current temperature is within the normal range according to the preset temperature range judgment standard. If the temperature exceeds the normal range;

[0068] If it exceeds the normal range, the vehicle-mounted central control system triggers the fault information active reporting mechanism, encrypts the abnormal temperature data, and generates an encrypted fault code. The vehicle-mounted central control system sends the encrypted fault code to the vehicle system through the CAN bus;

[0069] After receiving the encrypted fault code, the vehicle system uses a preset decryption algorithm to decrypt the fault code and obtain the decrypted fault information. The vehicle system determines the type and degree of temperature abnormality based on the decrypted fault information. The vehicle system determines whether the refrigerator's cooling or heating power needs to be adjusted based on the type and degree of temperature abnormality through preset fault processing logic. If the cooling or heating power needs to be adjusted, the vehicle system sends a control command to the vehicle refrigerator through the CAN bus, instructing the refrigerator to adjust the corresponding cooling or heating power. After receiving the control command from the vehicle system, the vehicle refrigerator obtains the power adjustment value in the command, controls the working status of the compressor, fan or heating wire, and completes the adjustment of the cooling or heating power.

[0070] For example, five DS18B20 digital temperature sensors are installed inside the vehicle refrigerator, which are located at the top, bottom, left, right and middle of the refrigerator, and are connected to the refrigerator control unit through the 1-Wire bus protocol. The refrigerator control unit collects data from the temperature sensor every 5 seconds, and takes the average of the five temperature values ​​as the real-time temperature inside the refrigerator. The refrigerator control unit transmits the collected real-time temperature data to the vehicle central control system through the CAN bus in the data format of the standard frame, with an ID of 0x1A0 and a data length of 1 byte. After receiving the data, the vehicle central control system determines whether the temperature value is within the set range of -18°C to 7°C. If it exceeds the range, the abnormal temperature data is encrypted by the AES encryption algorithm with the preset key "VehicleRefrigE902" to generate a 16-byte encrypted fault code. The vehicle central control system sends the fault code to the vehicle system through the CAN bus in the format of an extended frame with an ID of 0x1F0. After receiving the fault code, the vehicle system uses the same key and AES algorithm to decrypt the data to obtain the original abnormal temperature value. The vehicle system determines the abnormal level according to the degree of deviation between the temperature value and the standard range. The greater the deviation, the higher the level. If the deviation is within 5℃, the fault prompt information will only be displayed on the vehicle interface; if the deviation is between 5℃ and 10℃, dodatkowo will prompt the user through voice broadcast; if the deviation exceeds 10℃, the vehicle system will immediately send a control instruction to the refrigerator control unit through the CAN bus. The ID is 0x1C0, and the data field contains a 1-byte power adjustment value. After receiving the instruction, the refrigerator control unit adjusts the power of the compressor to the value in the instruction, and at the same time increases or decreases the fan speed by 20% according to the value in the instruction, and continues to work for 30 minutes until the temperature returns to the normal range.

[0071] S103: After receiving the fault code, the vehicle computer calls the decryption algorithm for analysis, displays the fault information on the touch screen operation interface, and starts the voice command recognition system to prompt the user to confirm the fault.

[0072] The vehicle computer receives the fault code data sent by the refrigerator through the CAN bus, and the vehicle computer main control unit obtains the received fault code data, calls the preset decryption algorithm to parse the fault code, and displays the corresponding fault information content on the touch screen operation interface according to the parsed fault code information;

[0073] The vehicle main control unit simultaneously starts the voice command recognition system and prompts the user by voice that the current refrigerator has a fault. The voice command recognition system receives the user's voice feedback and determines whether the user confirms the fault information. If the user confirms the fault information by voice, the vehicle main control unit generates a fault confirmation command vehicle;

[0074] The fault confirmation command data is sent to the refrigerator via the CAN bus. The refrigerator main control unit receives and analyzes the fault confirmation command data sent by the vehicle computer. According to the analyzed fault confirmation command, the refrigerator main control unit controls the refrigerator to enter the fault protection state and stop the current operation.

[0075] For example, after the vehicle receives the 16-byte fault code data sent by the refrigerator through the CAN bus, the vehicle main control unit uses the AES-128 encryption algorithm to decrypt the fault code, and judges that the refrigerator temperature sensor is faulty according to the decrypted fault code information, and the temperature exceeds the set range of ±2°C. The vehicle main control unit pops up a fault prompt box on the 11-inch high-definition touch screen, displaying the fault information content of "Refrigerator temperature sensor fault, current temperature -5°C, exceeding the set range of -3°C~0°C". At the same time, the vehicle main control unit starts the voice command recognition system and generates a voice prompt message "The refrigerator temperature sensor fault is detected, the current temperature is -5°C, please confirm whether to enter the fault protection state" through voice synthesis technology. The voice command recognition system collects the user's voice feedback through the microphone array, and uses the deep neural network algorithm to recognize the voice with an accuracy rate of more than 95%, and judges that the user's voice information is "confirm fault". The vehicle main control unit generates an 8-byte fault confirmation command code and sends the command data to the refrigerator through the CAN bus. The refrigerator main control unit uses the same AES-128 algorithm to decrypt the received data. According to the parsed fault confirmation instructions, it controls the compressor and fan to stop working, shuts down the refrigeration system, cuts off the power supply, and puts the refrigerator into a fault protection state.

[0076] S104: The user selects a fault handling method through voice commands or the touch screen. The vehicle computer converts the user's selection into a temperature setting command and sends it to the refrigerator control unit through the CAN bus. After receiving the command, the control unit adjusts the working state of the refrigeration system.

[0077] The user inputs a voice command through the voice recognition module on the vehicle side or selects a fault handling method on the touch screen. The vehicle system determines the corresponding temperature setting value according to the user's voice command or touch selection. The vehicle system converts the temperature setting value into a standardized CAN bus data frame format;

[0078] Sending the temperature setting data frame to the control unit of the vehicle refrigerator via the CAN bus interface;

[0079] The refrigerator control unit receives CAN bus data and parses out the temperature setting value. The control unit compares the parsed temperature setting value with the actual temperature value collected by the temperature sensor inside the refrigerator. If the set temperature is lower than the actual temperature, the control unit issues a refrigeration command to start the compressor and fan until the set temperature is reached. If the set temperature is higher than the actual temperature, the control unit issues a stop refrigeration command to turn off the compressor and fan. The refrigerator control unit periodically sends data frames containing the current temperature and working status to the vehicle computer through the CAN bus, thereby realizing data interaction and status synchronization between the vehicle computer and the refrigerator.

[0080] For example, the user inputs the voice command "Set the refrigerator temperature to 5 degrees Celsius" through the voice recognition module on the vehicle side. The vehicle system uses a deep learning-based voice recognition algorithm to extract voice features through a convolutional neural network, and then uses a recurrent neural network for sequence learning to accurately recognize the content of the user's voice command. The vehicle system determines that the corresponding temperature setting value is 5 degrees Celsius based on the recognized voice command. The vehicle converts the temperature setting value into a standardized CAN bus data frame format. The data frame ID is 0x1A0, the data length is 2 bytes, the first byte represents the temperature setting flag, and the second byte represents the temperature value. The temperature value range is -20 to 20, the resolution is 1, and the offset is -20. Therefore, the second byte value corresponding to 5 degrees Celsius is 25. The vehicle sends the temperature setting data frame to the control unit of the vehicle refrigerator through the CAN bus interface at a rate of 250kbps. The refrigerator control unit receives the CAN bus data and parses the temperature setting value as 5 degrees Celsius. The control unit reads the actual temperature value collected by the refrigerator internal temperature sensor DS18B20 through the I2C bus, such as the current actual temperature is 8 degrees Celsius. The control unit compares the resolved temperature setting value of 5 degrees Celsius with the actual temperature value of 8 degrees Celsius. If the set temperature is lower than the actual temperature, the control unit issues a refrigeration command through the relay, starts the compressor and fan, and reads the temperature sensor data every 5 minutes until the temperature drops to the set 5 degrees Celsius, then issues a stop refrigeration command to turn off the compressor and fan. The refrigerator control unit sends data with a data frame ID of 0x1A1 to the vehicle computer through the CAN bus at a rate of 250kbps every 1 minute. The data length is 3 bytes. The first byte indicates the working status of the refrigerator, and the second and third bytes indicate the current temperature value. The temperature value range is -20 to 20, the resolution is 1, and the offset is -20. Therefore, if the current temperature is 2 degrees Celsius, the second byte is 0xD2 and the third byte is 0x01. After the vehicle computer receives the status data frame sent by the refrigerator, it parses the current temperature and working status of the refrigerator and displays it in real time on the vehicle computer interface, realizing data interaction and status synchronization between the vehicle computer and the refrigerator.

[0081] S105. The vehicle-mounted central control system generates personalized usage suggestions based on the refrigerator usage habit data analysis results, including temperature settings, food storage locations, etc., and sends the suggestions to the refrigerator control unit via the CAN bus for execution.

[0082] The vehicle-mounted central control system obtains the refrigerator's historical usage data, including temperature settings, power on / off times, food storage locations, and other information;

[0083] Use big data analysis technology to analyze the historical usage data obtained to obtain users' refrigerator usage habits and preferences

[0084] Based on the analysis results, the vehicle's central control system determines personalized refrigerator usage suggestions, including the optimal temperature setting range, food storage location layout, etc.

[0085] Encapsulate the generated personalized usage suggestion data into a standard format through the CAN bus protocol;

[0086] The vehicle central control system sends the packaged suggestion data to the control unit of the vehicle refrigerator via the CAN bus;

[0087] After receiving the data transmitted by the CAN bus, the refrigerator control unit parses the content of personalized usage suggestions;

[0088] The refrigerator control unit determines whether the current refrigerator temperature setting and food storage layout meet the recommendations. If not, the refrigerator control unit adjusts the refrigerator temperature setting and issues a food storage location optimization prompt. The refrigerator control unit executes the adjusted temperature setting and feeds back the execution result to the vehicle central control system.

[0089] For example, the vehicle-mounted central control system obtains historical usage data of the past month from the refrigerator control unit through the CAN bus interface, including daily temperature setting records, power on / off time points, and usage of food storage compartments. The Hadoop big data platform is used to perform batch processing and analysis on the acquired massive historical data, and the parallel computing of data is realized through the MapReduce algorithm. During the analysis process, the association rule mining algorithm Apriori is used to find frequent item sets and association rules in user usage habits with temperature setting, power on / off time, and food storage as data dimensions, such as users are used to setting the refrigerator temperature at around 4°C, turning on the refrigerator at 7 am and off at 10 pm every day, and often storing vegetables in the refrigerator. According to the mined rules, personalized refrigerator usage recommendations are determined, and the temperature setting range is set to 3-5°C, and food storage is mainly in the vegetable area of ​​the refrigerator and the quick-freezing area of ​​the freezer. The central control system encapsulates the personalized recommendation data according to the data frame format of the CAN protocol, with 8 bytes per frame, including fields such as ID, data length, and data content. The encapsulated recommendation data is sent through the CAN bus with a data transmission rate of 500kbps. After receiving the data, the refrigerator control unit parses the data content according to the CAN protocol, extracts the temperature setting range and food storage recommendations. The control unit reads the actual temperature setting value of the current refrigerator and the distribution of food in each storage compartment, and compares and analyzes it with the recommended content. If the actual temperature is set to 6°C, which is higher than the recommended range, the control unit issues a command to adjust the temperature to 4°C. If too much meat is stored in the refrigerator, the control unit prompts the user on the display screen that "it is recommended to move the meat to the quick-freezing area of ​​the freezer for storage." After the control unit performs the temperature adjustment, it transmits the adjusted temperature value back to the central control system through the CAN bus. The central control system updates the execution results of the personalized recommendations based on the feedback information to form a closed-loop control.

[0090] S106. After receiving the personalized suggestions, the refrigerator control unit drives the internal partition to move to realize the customized settings of multiple temperature zones. At the same time, the execution results are fed back to the vehicle computer through the CAN bus, and the vehicle computer interface updates the refrigerator status information in real time.

[0091] The refrigerator control unit receives the personalized suggestion data sent by the vehicle computer through the CAN bus. The refrigerator control unit analyzes the received personalized suggestion data and determines the shelf position and temperature zone setting that need to be adjusted. The refrigerator control unit calculates the distance and direction that each shelf needs to move based on the analysis results.

[0092] The refrigerator control unit converts the calculated partition movement parameters into control instructions, and sends the control instructions to the partition drive device. The partition drive device drives the partition motor to operate according to the received control instructions to realize the movement of the partition. After the partition movement is completed, the refrigerator control unit detects whether the actual temperature of each temperature zone reaches the target set temperature. The refrigerator control unit encapsulates the execution results of the partition movement and the temperature of the temperature zone into feedback data, and sends it to the vehicle computer through the CAN bus. After receiving the feedback data from the refrigerator control unit, the vehicle computer updates the refrigerator status information on the interface and displays the position and temperature of each temperature zone inside the refrigerator in real time.

[0093] For example, after receiving the personalized suggestion data sent by the vehicle computer through the CAN bus, the refrigerator control unit uses the JSON parser to parse the data and extract the recommended shelf position coordinates and the target temperature values ​​of each temperature zone. The built-in optimization algorithm of the refrigerator control unit calculates the horizontal and vertical distances that each shelf needs to move according to the current shelf position and the target position, and considers the acceleration and speed control during the movement process to generate a control instruction sequence for the shelf movement. The control instruction is sent to the stepper motor driver in the shelf drive device in the form of a PWM signal. The driver controls the operating angle and speed of the stepper motor according to the pulse frequency and number in the instruction, thereby driving the shelf to move accurately to the target position. After the shelf is moved, the refrigerator control unit collects the real-time temperature of each temperature zone through the temperature sensor, compares it with the target temperature, and adjusts the compressor power and solenoid valve opening of the refrigeration system according to the deviation value, so that the temperature of the temperature zone is gradually stabilized at the target value, and the temperature difference is controlled within ±5°C. Finally, the refrigerator control unit encapsulates the current shelf position coordinates and the real-time temperature of each temperature zone and other state parameters into JSON format feedback data and sends it to the vehicle computer through the CAN bus. After receiving the feedback data, the human-computer interaction system on the car updates the refrigerator status display interface, displays the temperature value of each temperature zone in the form of a bar graph, and marks the position of the partition in real time on the virtual refrigerator internal structure diagram, providing users with intuitive refrigerator status information.

[0094] S107. The vehicle interface provides a refrigerator appearance customization function. After the user selects the color, material, and style, the system generates a customization plan and transmits it to the refrigerator control unit via the CAN bus. The control unit stores the plan in a non-volatile memory.

[0095] The vehicle system obtains the customized parameters of the refrigerator appearance selected by the user on the interface, including information such as color, material and style. The vehicle system generates customized solution data for the refrigerator appearance through a preset algorithm based on the obtained customized parameters. The vehicle system encapsulates the generated customized solution data through the CAN bus protocol to form a standardized data frame format. The vehicle system sends the encapsulated customized solution data frame to the refrigerator control unit through the CAN bus interface. The refrigerator control unit receives the customized solution data frame sent by the vehicle system through the CAN bus interface. The refrigerator control unit parses the received data frame and extracts the parameter information of the customized solution. The refrigerator control unit processes the extracted customized solution parameter information and converts it into a control instruction format that can be recognized by the refrigerator hardware. The refrigerator control unit writes the converted customized solution control instruction data to the designated storage area of ​​the non-volatile memory. The refrigerator control unit reads the stored customized solution data from the non-volatile memory, controls the refrigerator hardware to perform the corresponding appearance customization operation according to the read data, and completes the customization of the refrigerator appearance.

[0096] Exemplarily, the vehicle system obtains the user's selected refrigerator appearance customization parameters through the touch screen interface, including RGB color value, material code and style ID information. The vehicle system uses the preset appearance generation algorithm to calculate and generate customization scheme data according to the color value, material code and style ID. The algorithm comprehensively considers color matching, material characteristics and style matching, and obtains the optimal customization scheme parameter combination through weighted calculation. The vehicle system encapsulates the customization scheme data into an 8-byte data frame according to the data frame format of the CAN bus protocol, where the 1st to 2nd bytes are the color value, the 3rd to 4th bytes are the material code, the 5th to 6th bytes are the style ID, and the 7th to 8th bytes are the check bits. The vehicle system sends the encapsulated customization scheme data frame to the refrigerator control unit at a rate of 500kbps through the CAN bus interface. The refrigerator control unit receives the data frame through the CAN bus interface, verifies and parses the data frame, and extracts parameter information such as color value, material code and style ID. The refrigerator control unit converts the parameter information into corresponding hardware control instructions, such as converting the RGB color value into the duty cycle of the PWM control signal, and converting the material code into the control parameters of the surface treatment process. The refrigerator control unit writes the converted control instruction data to the specified address area of ​​the EEPROM memory so that the customization scheme can be saved even after power failure. The refrigerator control unit reads the stored control instruction data from the EEPROM and controls the refrigerator hardware to perform corresponding appearance customization operations according to the instructions, such as controlling the LED lights to produce lighting of a specific color, controlling the surface treatment equipment to process materials, etc., thereby completing the customization of the refrigerator appearance and presenting the color, material and style effects selected by the user.

[0097] S108. The vehicle-mounted central control system regularly collects refrigerator inventory information through the remote monitoring and control module, generates an intelligent replenishment list based on user usage habits, and sends the list to the refrigerator control unit through the CAN bus. The control unit updates the inventory status on the refrigerator display.

[0098] The vehicle-mounted central control system obtains the refrigerator's real-time temperature, set temperature, working status and other data through the CAN bus. The vehicle-mounted central control system generates a refrigerator inventory prediction model based on the obtained refrigerator data, combined with user usage habits and historical data. The vehicle-mounted central control system adopts an inventory prediction model;

[0099] Estimate the consumption rate and remaining quantity of items in the refrigerator to obtain the estimated replenishment time. The onboard central control system automatically generates an intelligent replenishment list based on the estimated replenishment time, including the name and quantity of the items that need to be replenished;

[0100] The vehicle-mounted central control system sends the intelligent replenishment list data to the refrigerator control unit via the CAN bus;

[0101] After receiving the intelligent replenishment list data, the refrigerator control unit parses and processes the data and transmits the parsed replenishment list information to the refrigerator display;

[0102] After receiving the replenishment list information, the refrigerator display automatically updates the current refrigerator inventory status interface. The refrigerator display displays the names and quantities of items that need to be replenished in the form of a list, prompting the user to replenish in time.

[0103] For example, the vehicle-mounted central control system obtains data such as the real-time temperature, set temperature, and working status of the refrigerator through the CAN bus at a rate of 250kbps, and collects data every 5 minutes. Based on the historical data of the past week, the vehicle-mounted central control system uses time series analysis and machine learning algorithms to establish a refrigerator inventory prediction model. The model comprehensively considers the average consumption rate of different items in the refrigerator, seasonal factors, and the impact of holidays, and estimates the remaining quantity of items in the next week, with a prediction accuracy of more than 85%. By calculating the difference between the current inventory and the safety inventory threshold, it is estimated that milk, beer and other beverages will need to be replenished in 2 days. The vehicle-mounted central control system automatically generates an intelligent replenishment list containing 10 categories and 20 items, and transmits it to the refrigerator control unit through the CAN bus at a rate of 500kbps. The refrigerator control unit performs CRC check and analysis on the received replenishment list data, and transmits the results to the refrigerator display. The refrigerator display updates the inventory status interface based on the replenishment list information, and displays the items that need to be replenished, such as 2 bottles of milk and 6 cans of beer, in a list form, and displays the prompt message "It is recommended to complete the replenishment within 2 days" in orange font.

[0104] S109. When the vehicle is parked for a long time or in extreme environments, a predictive control algorithm is used to estimate and predict the energy consumption and temperature change trend of the vehicle refrigerator, and the compressor power and air duct mode are adjusted in advance to ensure that the refrigerator can still maintain a suitable temperature and cooling effect under harsh conditions, thereby improving the adaptability and reliability of the system.

[0105] Obtain data such as the parking time and current ambient temperature of the vehicle as input to the predictive control algorithm. Based on the acquired data, the predictive control algorithm is used to estimate and predict the energy consumption and temperature change trend of the vehicle refrigerator in the future.

[0106] Through the prediction results, it is determined whether the car refrigerator can maintain the appropriate temperature and cooling effect under the current environmental conditions. If the prediction results show that the car refrigerator cannot maintain the appropriate temperature and cooling effect, it is determined that the compressor power and air duct mode need to be adjusted. According to the actual working state of the car refrigerator and the prediction results, the specific parameter values ​​for adjusting the compressor power and air duct mode are calculated. The calculated adjustment parameters of the compressor power and air duct mode are sent to the control unit of the car refrigerator through the CAN bus. After receiving the adjustment parameters, the control unit of the car refrigerator controls the compressor and the air duct to perform the corresponding adjustment operations. After the adjustment is completed, the car refrigerator re-enters the working state and monitors the internal temperature and energy consumption data of the refrigerator in real time. The monitored temperature and energy consumption data are fed back to the predictive control algorithm for the next prediction and adjustment, forming a closed-loop control, and continuously optimizing the working state of the car refrigerator to ensure that it can still maintain a suitable temperature and cooling effect under harsh conditions.

[0107] like Figure 4 As shown, the present invention also provides a vehicle refrigerator control system based on CAN communication data, the system comprising:

[0108] The CAN bus communication data acquisition module 101 is used to adopt the CAN bus communication protocol standardization method, and the vehicle refrigerator control unit collects the temperature sensor data of multiple points inside the refrigerator, and transmits the real-time temperature data to the vehicle central control system through the data packet priority management mechanism;

[0109] The fault judgment module 102 is used to process the temperature data received by the vehicle-mounted central control system according to a preset algorithm to determine whether the temperature is within a normal range. If the temperature is abnormal, the fault information active reporting mechanism is triggered to send an encrypted fault code to the vehicle computer through the CAN bus;

[0110] The fault decryption module 103 is used to call the decryption algorithm to analyze the fault code after the vehicle computer receives it, display the fault information on the touch screen operation interface, and start the voice command recognition system to prompt the user to confirm the fault;

[0111] The instruction receiving module 104 is used for the user to select a fault handling method through voice commands or a touch screen. The vehicle computer converts the user's selection into a temperature setting instruction and sends it to the refrigerator control unit through the CAN bus. After receiving the instruction, the control unit adjusts the working state of the refrigeration system, including:

[0112] The user inputs voice commands through the voice recognition module on the vehicle side or selects a fault handling method on the touch screen. The vehicle system determines the corresponding temperature setting value based on the user's voice command or touch selection. The vehicle converts the temperature setting value into a standardized CAN bus data frame format and sends the temperature setting data frame to the vehicle refrigerator control unit through the CAN bus interface. The refrigerator control unit receives the CAN bus data and parses out the temperature setting value. The control unit compares the parsed temperature setting value with the actual temperature value collected by the current refrigerator internal temperature sensor:

[0113] If the set temperature is lower than the actual temperature, the control unit issues a cooling command to start the compressor and fan until the set temperature is reached. If the set temperature is higher than the actual temperature, the control unit issues a stop cooling command to turn off the compressor and fan. The refrigerator control unit periodically sends a data frame containing the current temperature and working status to the vehicle computer through the CAN bus;

[0114] Personalized design module 105, used for the vehicle-mounted central control system to generate personalized usage suggestions based on the refrigerator usage habit data analysis results, and send the personalized suggestions to the refrigerator control unit for execution via the CAN bus;

[0115] The personalized setting module 106 is used for the refrigerator control unit to drive the internal partition to move to realize the multi-temperature zone customized setting after receiving the personalized suggestion, and at the same time feedback the execution result to the vehicle computer through the CAN bus, and the vehicle computer interface updates the refrigerator status information in real time. The vehicle computer interface provides the refrigerator appearance customization function, and then the vehicle central control system generates a customized plan and transmits it to the refrigerator control unit through the CAN bus, and the refrigerator control unit stores the plan in a non-volatile memory;

[0116] The personalized reminder module 107 is used for the vehicle-mounted central control system to regularly collect refrigerator inventory information through the remote monitoring and control module, generate an intelligent replenishment list based on user usage habits, and send the list to the refrigerator control unit through the CAN bus. The control unit updates the inventory status on the refrigerator display.

[0117] The above is a preferred embodiment of the present application. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A vehicle refrigerator control method based on CAN communication data, characterized in that: The method comprises: Using the standardized CAN bus communication protocol, the vehicle refrigerator control unit collects data from multiple temperature sensors inside the refrigerator and transmits the real-time temperature data to the vehicle central control system through the data packet priority management mechanism; After receiving the temperature data, the vehicle-mounted central control system processes the data according to the preset algorithm to determine whether the temperature is within the normal range. If the temperature is abnormal, the fault information active reporting mechanism is triggered and the encrypted fault code is sent to the vehicle computer through the CAN bus; After receiving the fault code, the vehicle computer calls the decryption algorithm for analysis, displays the fault information on the touch screen operation interface, and starts the voice command recognition system to prompt the user to confirm the fault; The user selects the fault handling method through voice commands or touch screen. The vehicle computer converts the user's selection into a temperature setting command and sends it to the refrigerator control unit through the CAN bus. After receiving the command, the control unit adjusts the working state of the refrigeration system, including: The user inputs a voice command through the voice recognition module on the vehicle computer or selects a fault handling method on the touch screen. The vehicle computer system determines the corresponding temperature setting value based on the user's voice command or touch selection. The vehicle computer converts the temperature setting value into a standardized CAN bus data frame format and sends the temperature setting data frame to the vehicle refrigerator control unit through the CAN bus interface. The refrigerator control unit receives the CAN bus data and parses out the temperature setting value. The vehicle refrigerator control unit compares the parsed temperature setting value with the actual temperature value collected by the current refrigerator internal temperature sensor: If the set temperature is lower than the actual temperature, the control unit will issue a cooling command to start the compressor and fan until the set temperature is reached. If the set temperature is higher than the actual temperature, the control unit will issue a stop cooling command to turn off the compressor and fan. The refrigerator control unit periodically sends a data frame containing the current temperature and working status to the vehicle computer through the CAN bus; The vehicle-mounted central control system generates personalized usage suggestions based on the refrigerator usage habit data analysis results, and sends the personalized suggestions to the refrigerator control unit via the CAN bus for execution; After receiving the personalized suggestions, the refrigerator control unit drives the internal partition to move to realize the customized settings of multiple temperature zones, and at the same time feeds back the execution results to the vehicle computer through the CAN bus. The vehicle computer interface updates the refrigerator status information in real time. The vehicle computer interface provides the function of customizing the appearance of the refrigerator. Then the vehicle-mounted central control system generates a customized solution and transmits it to the refrigerator control unit through the CAN bus. The refrigerator control unit stores the solution in a non-volatile memory. The vehicle-mounted central control system regularly collects refrigerator inventory information through the remote monitoring and control module, generates an intelligent replenishment list based on user usage habits, and sends the list to the refrigerator control unit through the CAN bus. The control unit updates the inventory status on the refrigerator display.

2. A vehicle refrigerator control method based on CAN communication data according to claim 1, characterized in that: If the vehicle is parked for a long time or in an extreme environment, a predictive control algorithm is used to estimate and predict the energy consumption and temperature change trends of the car refrigerator, and adjust the compressor power and air duct mode in advance to ensure that the refrigerator can still maintain the appropriate temperature and refrigeration effect under harsh conditions.

3. The vehicle refrigerator control method based on CAN communication data according to claim 1, characterized in that: The CAN bus communication protocol standardization method is adopted, and the vehicle refrigerator control unit collects the temperature sensor data of multiple points inside the refrigerator, and transmits the real-time temperature data to the vehicle central control system through the data packet priority management mechanism, including: The refrigerator control unit collects temperature data from multiple temperature sensors inside the refrigerator, and encapsulates the temperature data into a data packet through the CAN bus communication protocol based on the collected temperature data. The packaged temperature data packet is prioritized using the data packet priority management mechanism, and the priority-set temperature data packet is transmitted to the vehicle-mounted central control system through the CAN bus. The vehicle-mounted central control system receives the temperature data packet transmitted by the CAN bus, and parses the received temperature data packet to obtain real-time temperature data inside the refrigerator. The current working status of the refrigerator is judged based on the real-time temperature data obtained by the analysis. If the temperature inside the refrigerator is higher than the set temperature, the vehicle-mounted central control system sends a refrigeration command to the refrigerator control unit through the CAN bus. After receiving the refrigeration command, the refrigerator control unit controls the compressor and fan to start and cool the inside of the refrigerator until the temperature drops to the set temperature.

4. The vehicle refrigerator control method based on CAN communication data according to claim 1, characterized in that: The vehicle refrigerator collects temperature sensor data in the box in real time through the CAN bus, and sends the temperature data to the vehicle central control system. After receiving the temperature data sent by the refrigerator, the vehicle central control system determines whether the current temperature is within the normal range according to the preset temperature range judgment standard; If it exceeds the normal range, the vehicle-mounted central control system triggers the fault information active reporting mechanism, encrypts the abnormal temperature data, generates an encrypted fault code, and sends the encrypted fault code to the vehicle-mounted system through the CAN bus. After receiving the encrypted fault code, the vehicle-mounted system uses a preset decryption algorithm to decrypt the fault code to obtain the decrypted fault information. The vehicle-mounted system determines the type and degree of temperature abnormality based on the decrypted fault information. The vehicle computer system determines whether the refrigerator's cooling or heating power needs to be adjusted based on the type and degree of temperature abnormality and the preset fault handling logic: If the cooling or heating power needs to be adjusted, the vehicle system sends a control command to the vehicle refrigerator through the CAN bus, instructing the refrigerator to adjust the corresponding cooling or heating power. After receiving the control command from the vehicle system, the vehicle refrigerator obtains the power adjustment value in the command, controls the working status of the compressor and fan or heating wire, and completes the adjustment of the cooling or heating power.

5. The vehicle refrigerator control method based on CAN communication data according to claim 4, characterized in that: The vehicle computer receives the fault code data sent by the refrigerator through the CAN bus, the vehicle computer main control unit obtains the received fault code data, calls a preset decryption algorithm to parse the fault code, and according to the parsed fault code information, the vehicle computer main control unit displays the corresponding fault information content on the touch screen operation interface, and the vehicle computer main control unit simultaneously starts the voice command recognition system, and prompts the user through voice that the current refrigerator has a fault, the voice command recognition system receives the user's voice feedback, and determines whether the user confirms the fault information, if the user confirms the fault, the vehicle computer main control unit generates a fault confirmation instruction, and then sends the fault confirmation instruction data to the refrigerator main control unit through the CAN bus, the refrigerator main control unit receives and parses the fault confirmation instruction data sent by the vehicle computer, and according to the parsed fault confirmation instruction, the refrigerator main control unit controls the refrigerator to enter a fault protection state and stop the current operation.

6. The vehicle refrigerator control method based on CAN communication data according to claim 1, characterized in that: The vehicle-mounted central control system generates personalized usage suggestions based on the refrigerator usage habit data analysis results, and sends the personalized suggestions to the refrigerator control unit for execution via the CAN bus, including: The vehicle-mounted central control system obtains the refrigerator's historical usage data; Use big data analysis technology to analyze the historical usage data obtained to obtain users' refrigerator usage habits and preferences; Based on the analysis results, the vehicle's central control system determines personalized refrigerator usage recommendations; Encapsulate the generated personalized usage suggestion data into a standard format through the CAN bus protocol; The vehicle central control system sends the packaged suggestion data to the control unit of the vehicle refrigerator via the CAN bus; After receiving the data transmitted by the CAN bus, the refrigerator control unit parses the content of personalized usage suggestions; The refrigerator control unit determines whether the current refrigerator temperature setting and food storage layout meet the recommendations: If it does not meet the requirements, the refrigerator control unit adjusts the temperature setting of the refrigerator and issues a reminder to optimize the food storage location; The refrigerator control unit executes the adjusted temperature setting and feeds back the execution result to the vehicle's central control system.

7. The vehicle refrigerator control method based on CAN communication data according to claim 1, characterized in that: After receiving the personalized suggestions, the refrigerator control unit drives the internal partition to move to realize the customized settings of multiple temperature zones, and at the same time feeds back the execution results to the vehicle computer through the CAN bus. The vehicle computer interface updates the refrigerator status information in real time, including: The refrigerator control unit receives the personalized suggestion data sent by the vehicle computer through the CAN bus, analyzes the received personalized suggestion data, determines the shelf position and temperature zone setting that need to be adjusted, calculates the distance and direction that each shelf needs to move according to the analysis results, converts the calculated shelf movement parameters into control instructions, sends the control instructions to the shelf drive device, and the shelf drive device drives the shelf motor to operate according to the received control instructions. After the shelf movement is completed, the refrigerator control unit detects whether the actual temperature of each temperature zone reaches the target set temperature. The refrigerator control unit encapsulates the execution results of the shelf movement and the temperature of the temperature zone into feedback data, and sends it to the vehicle computer through the CAN bus. After receiving the feedback data from the refrigerator control unit, the vehicle computer updates the refrigerator status information on the interface and displays the position and temperature of each temperature zone inside the refrigerator in real time. The vehicle interface provides a refrigerator appearance customization function, and then the vehicle central control system generates a customization plan and transmits it to the refrigerator control unit via the CAN bus. The refrigerator control unit stores the plan in a non-volatile memory, including: The vehicle computer system obtains the refrigerator appearance customization parameters selected by the user on the interface; The vehicle computer system generates customized solution data for the refrigerator appearance based on the obtained customized parameters through a preset algorithm; The vehicle computer system encapsulates the generated customized solution data through the CAN bus protocol to form a standardized data frame format; The vehicle system sends the packaged customized solution data frame to the refrigerator control unit through the CAN bus interface; The refrigerator control unit receives the customized solution data frame sent by the vehicle system through the CAN bus interface; The refrigerator control unit parses the received data frame and extracts parameter information of the customized solution; The refrigerator control unit processes the extracted customized solution parameter information and converts it into a control instruction format that can be recognized by the refrigerator hardware; The refrigerator control unit writes the converted customized solution control instruction data into a designated storage area of ​​the non-volatile memory; The refrigerator control unit reads the stored customization scheme data from the non-volatile memory, controls the refrigerator hardware to perform corresponding appearance customization operations according to the read data, and completes the customization of the refrigerator appearance.

8. The vehicle refrigerator control method based on CAN communication data according to claim 1, characterized in that: The vehicle-mounted central control system collects refrigerator inventory information regularly through the remote monitoring and control module, generates an intelligent replenishment list based on user usage habits, and sends the list to the refrigerator control unit through the CAN bus. The control unit updates the inventory status on the refrigerator display screen, including: The on-board central control system obtains the real-time data of the refrigerator through the CAN bus, and generates a refrigerator inventory prediction model based on user usage habits and historical data. The on-board central control system adopts the inventory prediction model to estimate the consumption rate and remaining amount of items in the refrigerator to obtain the estimated replenishment time. The on-board central control system automatically generates an intelligent replenishment list based on the estimated replenishment time. The intelligent replenishment list includes the names and quantities of items that need to be replenished. The on-board central control system sends the intelligent replenishment list data to the refrigerator control unit through the CAN bus. After receiving the intelligent replenishment list data, the refrigerator control unit parses and processes the data. The refrigerator control unit transmits the parsed replenishment list information to the refrigerator display. After receiving the replenishment list information, the refrigerator display automatically updates the current refrigerator inventory status interface. The refrigerator display displays the names and quantities of items that need to be replenished in the form of a list, prompting the user to replenish in time.

9. The vehicle refrigerator control method based on CAN communication data according to claim 2, characterized in that: The parking time and current ambient temperature of the vehicle are obtained as inputs of the predictive control algorithm. Based on the obtained data, the predictive control algorithm is used to estimate and predict the energy consumption and temperature change trend of the car refrigerator in the future. Through the prediction results, it is determined whether the car refrigerator can maintain the appropriate temperature and cooling effect under the current environmental conditions: If the prediction result shows that the car refrigerator cannot maintain the appropriate temperature and cooling effect, it is determined that the compressor power and the air duct mode need to be adjusted. According to the actual working state of the car refrigerator and the prediction result, the specific parameter values ​​for adjusting the compressor power and the air duct mode are calculated, and the calculated adjustment parameters of the compressor power and the air duct mode are sent to the control unit of the car refrigerator through the CAN bus. After receiving the adjustment parameters, the control unit of the car refrigerator controls the compressor and the air duct to perform corresponding adjustment operations. After the adjustment is completed, the car refrigerator re-enters the working state and monitors the internal temperature and energy consumption data of the refrigerator in real time. The monitored temperature and energy consumption data are fed back to the predictive control algorithm for the next prediction and adjustment, forming a closed-loop control, optimizing the working state of the car refrigerator, and ensuring that the car refrigerator can still maintain a suitable temperature and cooling effect under extreme conditions.

10. A vehicle refrigerator control system based on CAN communication data, characterized in that: The system comprises: CAN bus communication data acquisition module, which is used to collect the temperature sensor data of multiple points inside the refrigerator by the vehicle refrigerator control unit in a standardized manner using the CAN bus communication protocol, and transmit the real-time temperature data to the vehicle central control system through the data packet priority management mechanism; The fault judgment module is used to process the temperature data received by the vehicle central control system according to the preset algorithm to determine whether the temperature is within the normal range. If the temperature is abnormal, the fault information active reporting mechanism is triggered and the encrypted fault code is sent to the vehicle computer through the CAN bus; The fault decryption module is used to call the decryption algorithm to analyze the fault code after the vehicle computer receives it, display the fault information on the touch screen operation interface, and start the voice command recognition system to prompt the user to confirm the fault; The command receiving module is used for the user to select the fault handling method through voice commands or touch screen. The vehicle computer converts the user's selection into a temperature setting command and sends it to the refrigerator control unit through the CAN bus. After receiving the command, the control unit adjusts the working state of the refrigeration system, including: The user inputs a voice command through the voice recognition module on the vehicle side or selects a fault handling method on the touch screen. The vehicle system determines the corresponding temperature setting value based on the user's voice command or touch selection. The vehicle converts the temperature setting value into a standardized CAN bus data frame format and sends the temperature setting data frame to the vehicle refrigerator control unit through the CAN bus interface. The refrigerator control unit receives the CAN bus data and parses out the temperature setting value. The control unit compares the parsed temperature setting value with the actual temperature value collected by the current refrigerator internal temperature sensor: If the set temperature is lower than the actual temperature, the control unit will issue a cooling command to start the compressor and fan until the set temperature is reached. If the set temperature is higher than the actual temperature, the control unit will issue a stop cooling command to turn off the compressor and fan. The refrigerator control unit periodically sends a data frame containing the current temperature and working status to the vehicle computer through the CAN bus; Personalized design module, used for the vehicle central control system to generate personalized usage suggestions based on the refrigerator usage habit data analysis results, and send the personalized suggestions to the refrigerator control unit through the CAN bus for execution; A personalized setting module is used for the refrigerator control unit to drive the internal partition to move to realize multi-temperature zone customized settings after receiving personalized suggestions, and at the same time, to feedback the execution results to the vehicle computer through the CAN bus. The vehicle computer interface updates the refrigerator status information in real time. The vehicle computer interface provides a refrigerator appearance customization function, and then the vehicle central control system generates a customized plan and transmits it to the refrigerator control unit through the CAN bus. The refrigerator control unit stores the plan in a non-volatile memory; The personalized reminder module is used for the vehicle-mounted central control system to regularly collect refrigerator inventory information through the remote monitoring and control module, generate an intelligent replenishment list based on user usage habits, and send the list to the refrigerator control unit through the CAN bus. The control unit updates the inventory status on the refrigerator display.

Citation Information

Patent Citations

  • Control method, device and system of car refrigerator

    CN108020017A

  • Vehicle-mounted refrigerator control method, storage medium and vehicle

    CN114593556A