Temperature acquisition method and acquisition circuit for vehicle-mounted refrigerator
By adopting a simple design temperature acquisition method and circuit in the car refrigerator, multiple anti-shake processing and average value calculations, the problem of unstable temperature acquisition of the car refrigerator is solved, and more stable temperature control is achieved and user experience is improved.
Patent Information
- Application Number
- CN202411465301.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-02-28
AI Technical Summary
Existing vehicle-mounted refrigerators have frequent back and forth jumps when collecting temperatures, resulting in unstable temperature of the refrigerator during cooling or heating.
A temperature acquisition method and acquisition circuit with a simple structure and reasonable design are adopted to collect AD values through a temperature sensor, perform multiple anti-shake processing, calculate the average value of AD, and read the temperature value in combination with the RT table to optimize the temperature acquisition process.
It realizes accurate collection and stability of temperature data, optimizes the temperature fluctuations of the refrigerator during cooling and heating, and gives users a better user experience.
Smart Images

Figure CN119533705A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of vehicle-mounted refrigerators, and in particular relates to a temperature collection method and a collection circuit for a vehicle-mounted refrigerator. Background Art
[0002] Some car refrigerators on the market now have the problem of frequent jumps when collecting temperature. Sometimes the temperature rises when the refrigerator is cooling; some car refrigerators with heating function also have the phenomenon of real-time temperature dropping when the refrigerator is heating. Summary of the invention
[0003] In order to solve the defects and shortcomings of the prior art; the purpose of the present invention is to provide a temperature collection method and collection circuit for a car refrigerator with a simple structure, reasonable design and easy use. It accurately collects temperature data and performs multiple anti-shake processing to optimize the phenomenon that the temperature of the refrigerator frequently jumps back and forth during the cooling and heating process, giving users a better user experience.
[0004] To achieve the above purpose, the technical solution adopted by the present invention is: its temperature collection method: Step 1: collect the temperature AD value through the temperature sensor. When the collected temperature AD value is greater than the maximum set AD value, assign the current AD value to ADmax; when the collected temperature AD value is less than the minimum set AD value, assign the current AD value to ADmix; record the collected temperature AD value, add 1 to the number of collections and calculate the sum ADsum; when the number of collections is less than 16 times, perform cyclic collection; Step 2: When the number of acquisitions is greater than or equal to 16 times, subtract ADmax and ADmix from the sum ADsum, reduce the cumulative number by two accordingly, and then calculate the average value of AD; Step 3: When the AD average value given in step 2 is generated for the first time, the corresponding temperature value is read from the corresponding RT table, and the AD average value is assigned to ADlast; Step 4: When the AD average value given in step 2 is not generated for the first time, compare the current AD average value with ADlast. If the difference is greater than 6, assign the current AD average value to ADlast. If the difference is less than 6, end the current collection.
[0005] Preferably, every 16 data in step 2 are grouped as one and bound with the temperature value generated in step 3.
[0006] Preferably, the obtained temperature values and the number of collection groups are recorded to establish a data model, and the chart can be output by connecting to the APP through unlimited transmission.
[0007] Preferably, the temperature sensor in step 1 collects the temperature AD value at an interval of 10-20 milliseconds each time.
[0008] Preferably, in step 2, the data collection interval of each group and the output interval of the average value of AD are maintained at 180-200 milliseconds.
[0009] Preferably, the RT table temperature in step three corresponds to a range of -30 to 60 degrees Celsius.
[0010] A temperature acquisition circuit for a vehicle refrigerator, characterized in that it comprises a temperature sensor terminal, a resistor 1, a resistor 2, a capacitor 1, a capacitor 2, an electrolytic capacitor, and a main control chip; the temperature sensor terminal is connected to the temperature sensor, terminal No. 2 of the temperature sensor terminal is respectively connected to resistor 1 and resistor 2, the other end of resistor 1 is connected to a 5V voltage, resistor 2 is respectively connected to the main control chip and capacitor 1, and the other end of capacitor 1 is connected to terminal No. 1 of the temperature sensor terminal and grounded.
[0011] Preferably, the power supply end of the main control chip is connected to capacitor 2 and then grounded, and both ends of capacitor 2 are connected to an electrolytic capacitor, and the positive end of the electrolytic capacitor is connected to a 5V voltage.
[0012] After adopting the above structure, the beneficial effects of the present invention are: in view of the unstable temperature collection problem of the control board when collecting temperature data, the temperature data is accurately collected, and multiple anti-shake processing is performed to optimize the phenomenon of frequent temperature jumps during the cooling and heating process of the refrigerator, giving users a better usage experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention is described in detail through the following specific implementations and drawings.
[0014] Figure 1 is a flow chart of the present invention; Figure 2 A circuit diagram of the present invention; Description of reference numerals: temperature sensor terminal P1, resistor 1 R2, resistor 2 R26, capacitor 1 C1, capacitor 2 C5, electrolytic capacitor EC1, main control chip MCU. DETAILED DESCRIPTION
[0015] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is described below by the specific embodiments shown in the accompanying drawings. However, it should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0016] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0017] See also Figure 1 As shown, this specific implementation adopts the following technical solutions: Its temperature collection method: Step 1: collect the temperature AD value through the temperature sensor. When the collected temperature AD value is greater than the maximum set AD value, assign the current AD value to ADmax; when the collected temperature AD value is less than the minimum set AD value, assign the current AD value to ADmix; record the collected temperature AD value, add 1 to the number of collections and calculate the sum ADsum; when the number of collections is less than 16 times, perform cyclic collection; Step 2: When the number of acquisitions is greater than or equal to 16 times, subtract ADmax and ADmix from the sum ADsum, reduce the cumulative number by two accordingly, and then calculate the average value of AD; Step 3: When the AD average value given in step 2 is generated for the first time, the corresponding temperature value is read from the corresponding RT table, and the AD average value is assigned to ADlast; Step 4: When the AD average value given in step 2 is not generated for the first time, compare the current AD average value with ADlast. If the difference is greater than 6, assign the current AD average value to ADlast. If the difference is less than 6, end the current collection.
[0018] Preferably, in the step 2, every 16 data are grouped together and bound with the temperature value generated in the step 3; the obtained temperature value and the number of collection groups are recorded to establish a data model, which can be connected to the APP through unlimited transmission to output a chart; the temperature sensor in the step 1 collects the temperature AD value each time with an acquisition interval of 10 milliseconds; in the step 2, the data collection interval of each group and the output interval of the AD average value are maintained at 180 milliseconds; in the step 3, the RT table temperature corresponds to a range of -30 to 60 degrees Celsius.
[0019] See also Figure 2 As shown, the temperature acquisition circuit of the car refrigerator includes a temperature sensor terminal P1, a resistor R2, a resistor R26, a capacitor C1, a capacitor C5, an electrolytic capacitor EC1, and a main control chip MCU; the temperature sensor terminal P1 is connected to the temperature sensor, and terminal No. 2 of the temperature sensor terminal P1 is respectively connected to resistor R2 and resistor R26, and the other end of resistor R2 is connected to a 5V voltage, and resistor R26 is respectively connected to the main control chip MCU and capacitor C1, and the other end of capacitor C1 is connected to terminal No. 1 of the temperature sensor terminal P1 and grounded.
[0020] In addition, the power supply end of the main control chip MCU is connected to the capacitor C5 and then grounded, and the two ends of the capacitor C5 are connected to the electrolytic capacitor EC1, and the positive end of the electrolytic capacitor EC1 is connected to a 5V voltage.
[0021] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.
[0022] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A temperature collection method for a vehicle refrigerator, characterized in that: Its temperature collection method: Step 1: collect the temperature AD value through the temperature sensor. When the collected temperature AD value is greater than the maximum set AD value, assign the current AD value to ADmax; when the collected temperature AD value is less than the minimum set AD value, assign the current AD value to ADmix; record the collected temperature AD value, add 1 to the number of collections and calculate the sum ADsum; when the number of collections is less than 16 times, perform cyclic collection; Step 2: When the number of acquisitions is greater than or equal to 16 times, subtract ADmax and ADmix from the sum ADsum, reduce the cumulative number by two accordingly, and then calculate the average value of AD; Step 3: When the AD average value given in step 2 is generated for the first time, the corresponding temperature value is read from the corresponding RT table, and the AD average value is assigned to ADlast; Step 4: When the AD average value given in step 2 is not generated for the first time, compare the current AD average value with ADlast. If the difference is greater than 6, assign the current AD average value to ADlast. If the difference is less than 6, end the current collection.
2. The temperature collection method of a vehicle refrigerator according to claim 1, characterized in that: In the step 2, every 16 data are grouped as one, and are bound together with the temperature value generated in the step 3.
3. The temperature collection method of a vehicle refrigerator according to claim 2, characterized in that: The obtained temperature values and the number of collection groups are recorded to establish a data model, which can be connected to the APP through unlimited transmission to output charts.
4. The temperature collection method of a vehicle refrigerator according to claim 1, characterized in that: The temperature sensor in step 1 collects the temperature AD value at an interval of 10-20 milliseconds each time.
5. The temperature collection method of a vehicle refrigerator according to claim 2, characterized in that: In the step 2, the data collection interval of each group and the output interval of the average value of AD are maintained at 180-200 milliseconds.
6. The temperature collection method of a vehicle refrigerator according to claim 1, characterized in that: The RT table temperature in step 3 corresponds to a range of -30 to 60 degrees Celsius.
7. A temperature acquisition circuit for a vehicle refrigerator, characterized in that: It includes a temperature sensor terminal, a resistor 1, a resistor 2, a capacitor 1, a capacitor 2, an electrolytic capacitor, and a main control chip; the temperature sensor terminal is connected to the temperature sensor, terminal No. 2 of the temperature sensor terminal is respectively connected to resistor 1 and resistor 2, the other end of resistor 1 is connected to a 5V voltage, resistor 2 is respectively connected to the main control chip and capacitor 1, and the other end of capacitor 1 is connected to terminal No. 1 of the temperature sensor terminal and grounded.
8. The temperature collection method of a vehicle refrigerator according to claim 7, characterized in that: The power supply end of the main control chip is connected to capacitor 2 and then grounded, and both ends of capacitor 2 are connected to an electrolytic capacitor, and the positive end of the electrolytic capacitor is connected to a 5V voltage.
Citation Information
Cited By
Dual-temperature collaborative acquisition circuit of vehicle-mounted refrigerator, intelligent temperature measurement method and vehicle-mounted refrigerator
CN121613972A
Dual-temperature cooperative acquisition circuit, intelligent temperature measurement method and vehicle-mounted refrigerator of vehicle-mounted refrigerator
CN121613972B