Calibration method, system, target electrical appliance and storage medium

Through the system-level chip, the calibration request information is received and processed in the target electrical appliance and the calibration results are stored in the random access memory. The problem of low calibration efficiency of the target electrical appliance is solved, information consistency and fault code feedback are achieved, and calibration efficiency is improved. and accuracy.

CN112485571BActive Publication Date: 2024-11-29SAIC GM WULING AUTOMOBILE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011335735.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-24
Publication Date
2024-11-29
Estimated Expiration
2040-11-24

AI Technical Summary

Technical Problem

During the calibration process, the calibration information is confusing and inefficient due to the inconsistent result values ​​read and returned by the microcontroller unit, which extends the calibration time.

Method used

The system-level chip receives the calibration request information of the microcontroller unit, calibrates the target appliance, and stores the calibration completion information and result values ​​in the random access memory to ensure information consistency and efficiency. If calibration fails, determine whether the calibration times or time exceeds the preset threshold, and return the corresponding fault code for feedback to the calibration device.

Benefits of technology

It improves the calibration efficiency of the target electrical appliances, ensures the integrity and accuracy of calibration information, reduces calibration time, and promptly feedback of fault information for subsequent processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112485571B_ABST
    Figure CN112485571B_ABST
Patent Text Reader

Abstract

The present invention discloses a calibration method, characterized in that the calibration method is used for a system-level chip in a target electrical appliance to be calibrated, and the method comprises: receiving calibration request information sent by a microcontroller unit; calibrating the target electrical appliance according to the calibration request information; if the calibration is completed, controlling a random access memory to send calibration completion information and a calibration result value to the microcontroller unit, so that the microcontroller unit returns the calibration completion information and the calibration result value to a calibration device. The present invention also discloses a target electrical appliance, a calibration system and a storage medium. The present invention aims to improve the calibration efficiency of the target electrical appliance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent vehicles, and in particular to a calibration method, system, target electrical appliance and storage medium. Background Art

[0002] With the development of electronic control systems, the calibration of target electrical appliances in the system has become an indispensable link. At present, the calibration of target electrical appliances often results in the inconsistency between the calibration result value read by the Micro Control Unit (MCU, also known as a single-chip microcomputer or single-chip microcomputer) in the target electrical appliance and the returned result value, which causes the information returned to the calibration device to be confusing or erroneous, prolongs the calibration time, and reduces the calibration efficiency of the target electrical appliance. Therefore, it is urgent to propose a new calibration method to solve the above problems. Summary of the invention

[0003] The main purpose of the present invention is to provide a calibration method, system, target electrical appliance and storage medium, aiming to solve the problem of low calibration efficiency during the calibration process of the target electrical appliance.

[0004] To achieve the above object, the present invention provides a calibration method, which is used for a system-level chip in a target electrical appliance to be calibrated, and the method comprises the following steps:

[0005] receiving a calibration request message sent by a microcontroller unit;

[0006] Calibrate the target electrical appliance according to the calibration request information;

[0007] If the calibration is completed, the random access memory is controlled to send the calibration completion information and the calibration result value to the micro control unit, so that the micro control unit returns the calibration completion information and the calibration result value to the calibration device.

[0008] Optionally, after the step of calibrating the target electrical appliance according to the calibration request information, the step further includes:

[0009] If the calibration fails, obtaining the number of calibrations performed by the system-level chip on the target electrical appliance, and determining whether the number of calibrations exceeds a first preset threshold;

[0010] If so, the first calibration fault code is returned to the micro control unit, so that the micro control unit feeds back the first calibration fault code to the calibration device.

[0011] Optionally, after the step of calibrating the target electrical appliance according to the calibration request information, the step further includes:

[0012] If the calibration fails, obtaining a single calibration time of the system-level chip for calibrating the target electrical appliance, and determining whether the single calibration time exceeds a second preset threshold;

[0013] If so, the second calibration fault code is returned to the micro control unit, so that the micro control unit feeds back the second calibration fault code to the calibration device.

[0014] Optionally, the step of controlling the random access memory to send the calibration completion information and the calibration result value to the micro control unit so that the micro control unit returns the calibration completion information and the calibration result value to the calibration device includes:

[0015] The calibration result value is written into a data storage device, so that when the data storage device receives the power-on information sent by the micro control unit, the calibration result value is sent to the micro control unit.

[0016] Optionally, if the calibration is completed, the step of sending the calibration completion information and the calibration result value to the micro control unit via the random access memory includes:

[0017] The random access memory is controlled to pack the calibration completion information and the calibration result value, and transparently transmit them to the micro control unit.

[0018] In addition, to achieve the above-mentioned purpose, the present invention further provides a target electrical appliance, the target electrical appliance comprising a micro control unit module and a system-on-chip module that are communicatively connected;

[0019] The micro control unit module is used to send calibration request information to the system-level chip module;

[0020] The system-level chip module is used to receive the calibration request information; calibrate the target electrical appliance according to the calibration request information; if the calibration is completed, control the random access memory to send the calibration completion information and the calibration result value to the micro control unit;

[0021] The micro control unit module is also used to return the calibration completion information and calibration result value to the calibration device.

[0022] Optionally, the micro control unit module is further used to receive diagnostic calibration information sent by the calibration device, and generate corresponding calibration request information from the diagnostic calibration information.

[0023] Optionally, the target electrical appliance further includes a data storage device;

[0024] The data storage device is used to receive the calibration result value written by the system-level chip module;

[0025] The data storage device is also used to send the calibration result value to the micro control unit module when receiving the power-on information sent by the micro control unit module.

[0026] In addition, to achieve the above-mentioned purpose, the present invention also provides a calibration system, which includes a memory, a processor, and a calibration program stored in the memory and executable on the processor, and when the calibration program is executed by the processor, the steps of the calibration method described in any one of the above items are implemented.

[0027] In addition, to achieve the above purpose, a calibration program is stored on the storage medium, and when the calibration program is executed by the processor, the steps of the calibration method as described in any one of the above items are implemented.

[0028] A calibration method proposed in an embodiment of the present invention receives calibration request information sent by a microcontroller unit through a system-level chip in a target electrical appliance; then the system-level chip calibrates the target electrical appliance according to the calibration request information; if the calibration is completed, a random access memory is controlled to send the calibration completion information and the calibration result value to the microcontroller unit, so that the microcontroller unit returns the calibration completion information and the calibration result value to the calibration device, thereby realizing the calibration of the target electrical appliance and improving the calibration efficiency of the target electrical appliance. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a structural schematic diagram of a calibration system involved in an embodiment of the present invention;

[0030] Figure 2 A schematic diagram of a flow chart of a first embodiment of a calibration method of the present invention;

[0031] Figure 3 It is a flow chart of a second embodiment of a calibration method of the present invention;

[0032] Figure 4 It is a schematic flow chart of a third embodiment of a calibration method of the present invention;

[0033] Figure 5 It is a schematic flow chart of a fourth embodiment of a calibration method of the present invention;

[0034] Figure 6 It is a schematic structural diagram of a target electrical appliance of the present invention.

[0035] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0036] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0037] The main solutions of the embodiments of the present invention are:

[0038] With the development of electronic control systems, the calibration of target electrical appliances in the system has become an indispensable link. At present, the calibration of target electrical appliances often results in the inconsistency between the calibration result value read by the microcontroller unit (MCU, also known as a single-chip microcomputer or single-chip microcomputer) in the target electrical appliance and the returned result value, which causes the information returned to the calibration device to be chaotic or erroneous, prolongs the calibration time, and reduces the calibration efficiency of the target electrical appliance. Therefore, it is urgent to propose a new calibration method to solve the above problems.

[0039] The present invention provides a solution, which enables the system-level chip in the target electrical appliance to receive the calibration request information sent by the microcontroller unit; then the system-level chip calibrates the target electrical appliance according to the calibration request information; if the calibration is completed, the random access memory is controlled to send the calibration completion information and the calibration result value to the microcontroller unit, and then the microcontroller unit returns the calibration completion information and the calibration result value to the calibration device, thereby realizing the calibration of the target electrical appliance and improving the calibration efficiency of the target electrical appliance.

[0040] like Figure 1 As shown, Figure 1 It is a structural schematic diagram of a calibration system involved in an embodiment of the present invention.

[0041] like Figure 1 As shown, the calibration system may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005, a target electrical appliance 1006, and a calibration device 1007. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 can be an infrared receiving module for receiving control instructions triggered by a user through a remote control. The optional user interface 1003 can also include a standard wired interface and a wireless interface. The network interface 1004 can optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed random access memory memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001. The calibration device 1007 calibrates the target electrical appliance 1006 by issuing a calibration diagnosis request.

[0042] Those skilled in the art will understand that Figure 1The calibration system shown in the figure does not constitute a limitation of the calibration system, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0043] The specific embodiments of the calibration system of the present invention are basically the same as the embodiments of the calibration method described below, and will not be described in detail here.

[0044] Reference Figure 2 A first embodiment of a calibration method of the present invention provides a calibration method, the method comprising the following steps:

[0045] Step S10, receiving calibration request information sent by the micro control unit.

[0046] Step S20, calibrating the target electrical appliance according to the calibration request information;

[0047] In this embodiment, before the car leaves the factory, it is necessary to promptly calibrate the internal components of the vehicle leaving the factory to meet the established vehicle performance and the personalized needs of the user. Specifically, the vehicle to be calibrated is driven to a designated calibration position, and based on the calibration of different electrical appliances inside the vehicle, different parameter information required for calibration is set accordingly. In the present invention, the calibration device needs to be communicated with the vehicle to be calibrated in advance, and after the calibration preparation work set by the technician is completed, the calibration operation is started, including that after the calibration device receives the instruction to start the calibration, a diagnostic calibration request is issued to the target electrical appliance in the vehicle to be calibrated, that is, the corresponding microcontroller unit MCU in the target electrical appliance. After the MCU receives the diagnostic request information of the calibration device, it will promptly generate corresponding calibration request information according to the calibration requirements and send it to the system-on-chip SOC (System On Chip), so as to complete the calibration operation of the current electrical appliance in the SOC.

[0048] If the calibration is completed, step S30 is executed to control the random access memory to send the calibration completion information and the calibration result value to the micro control unit, so that the micro control unit returns the calibration completion information and the calibration result value to the calibration device.

[0049] In this embodiment, after the calibration is completed in the SOC, the calibration completion information and the calibration result value will be stored in the random access memory RAM (Random Access Memory, abbreviation: RAM) in real time, and the RAM will be controlled to send the stored completion information and calibration result value to the MCU. Specifically, the RAM is controlled to package the calibration completion information and the calibration result value, and transparently transmit them to the MCU. Based on the transparent transmission, it can be ensured that the information on the transmitting end is consistent with the information on the receiving end, so that the SOC calibration completion information and the calibration result value can be received in the MCU in a timely manner, thereby ensuring that the information received by the calibration device from the MCU is complete calibration-related information of the target appliance.

[0050] In this embodiment, the calibration request information sent by the microcontroller unit is received by the system-level chip in the target electrical appliance; then the system-level chip calibrates the target electrical appliance according to the calibration request information; if the calibration is completed, the random access memory is controlled to send the calibration completion information and the calibration result value to the microcontroller unit, so that the microcontroller unit returns the calibration completion information and the calibration result value to the calibration device, thereby realizing the calibration of the target electrical appliance and improving the calibration efficiency of the target electrical appliance.

[0051] Further, see Figure 3 The present invention provides a second embodiment of a calibration method, based on Figure 2 The first embodiment shown, after step S20, includes:

[0052] If the calibration fails, step S40 is executed to obtain the number of calibrations performed by the system-level chip on the target electrical appliance, and determine whether the number of calibrations exceeds a first preset threshold.

[0053] In this embodiment, during the SOC calibration process, when there is a calibration failure during the calibration process based on the SOC, the SOC will feed back the calibration failure information to the calibration device in real time, and calibrate again according to the instruction transmitted in the calibration device on whether to continue the calibration. At the same time, in order to improve the calibration efficiency of the target electrical appliances in the car to be calibrated, it is necessary to set the corresponding calibration range according to actual needs, including setting a first preset threshold value for measuring the number of calibrations performed during the current SOC calibration process, thereby obtaining the number of calibrations in the SOC within the preset calibration time and the size of the first preset threshold value.

[0054] If so, step S41 is executed to return the first calibration fault code to the micro control unit, so that the micro control unit feeds back the first calibration fault code to the calibration device.

[0055] In this embodiment, according to the judgment result obtained in step S40, if the number of times the SOC is calibrated exceeds the first preset threshold, it means that there is a fault in the internal parts of the target electrical appliance. At this time, the SOC will generate a corresponding first calibration fault code, and control the RAM to transmit it to the MCU, so that the MCU will promptly feedback the first fault code to the calibration device. After the calibration device receives the corresponding fault code, it will promptly store the currently calibrated electrical appliance information, the first fault code and the calibration parameter information for subsequent query processing.

[0056] In addition, if according to the judgment result obtained in step S40, if the number of times the SOC is calibrated does not exceed the first preset threshold, the SOC will continue to receive the calibration instruction sent by the calibration device to perform calibration.

[0057] In this embodiment, by setting the first preset threshold, the SOC has a certain calibration range requirement when calibrating the target electrical appliance, thereby effectively improving the calibration efficiency of the target electrical appliance.

[0058] Further, see Figure 4 The present invention provides a third embodiment of a calibration method, based on Figure 2 The first embodiment shown, after step S20, further includes:

[0059] If the calibration fails, executing step S50, obtaining a single calibration time of the system-level chip calibrating the target electrical appliance, and determining whether the single calibration time exceeds a second preset threshold;

[0060] In this embodiment, during the SOC calibration process, when there is a calibration failure during the calibration process based on the SOC, the SOC will feed back the calibration failure information to the calibration device in real time, and calibrate again according to the instruction transmitted in the calibration device on whether to continue the calibration. At the same time, in order to improve the calibration efficiency of the target electrical appliances in the car to be calibrated, it is necessary to set the corresponding calibration range according to actual needs, including setting a second preset threshold value for measuring the time required for a single calibration in the current SOC calibration process, thereby obtaining the calibration time consumed in a single calibration in the SOC and the size of the second preset threshold value.

[0061] If so, step S51 is executed to return the second calibration fault code to the micro control unit, so that the micro control unit feeds back the second calibration fault code to the calibration device.

[0062] In this embodiment, according to the judgment result obtained in step S50, if the time consumed by the SOC for a single calibration exceeds the second preset threshold, it means that there is a fault in the internal parts of the target electrical appliance. At this time, the SOC will generate a corresponding second calibration fault code, and control the RAM to transmit it to the MCU, so that the MCU will promptly feedback the second fault code to the calibration device. After the calibration device receives the corresponding fault code, it will promptly store the currently calibrated appliance information, the second fault code and the calibration parameter information for subsequent query processing.

[0063] In addition, if according to the judgment result obtained in step S50, if the time consumption of the SOC for a single calibration does not exceed the second preset threshold, the SOC will continue to receive the calibration instruction sent by the calibration device to perform calibration.

[0064] In this embodiment, by setting the second preset threshold, the SOC has a certain calibration range requirement when calibrating the target electrical appliance, thereby effectively improving the calibration efficiency of the target electrical appliance.

[0065] Further, see Figure 5 The present invention provides a fourth embodiment of a calibration method, based on Figure 2 The first embodiment shown, while executing step S30, further includes:

[0066] Step S60, writing the calibration result value into a data storage device, so that when the data storage device receives the power-on information sent by the micro control unit, the calibration result value is sent to the micro control unit.

[0067] In this embodiment, after the calibration is completed in step S20, the SOC will store the calibration result value in the data storage device in real time for subsequent verification. When the data storage device receives the power-on information of the MCU, the data storage device sends the stored calibration result information to the MCU in real time. Generally, when the MCU sends the power-on information to the data storage device, it will also send an instruction to extract the data information stored in the data storage device, and send multiple extractions to ensure that the data information stored in the data storage device is sent to the MCU in a timely manner. The data information stored in the data storage device is also the calibration result information sent by the SOC, but there is a certain lag in the sending time. Therefore, the purpose of the data storage device in the present invention is to provide data support for the subsequent calibration verification and calibration information query.

[0068] Reference Figure 3 The present invention also provides a schematic diagram of the structure of a target electrical appliance, wherein the target electrical appliance comprises:

[0069] The micro control unit module 100 is used to send calibration request information to the system-level chip module;

[0070] The system-on-chip module 200 is used to receive the calibration request information; calibrate the target electrical appliance according to the calibration request information; if the calibration is completed, control the random access memory to send the calibration completion information and the calibration result value to the micro control unit; wherein the micro control unit module 100 and the system-on-chip module 200 are communicatively connected. In addition, the system-on-chip module 200 controls the random access memory to pack the calibration completion information and the calibration result value, and transparently transmits them to the micro control unit module 100.

[0071] Furthermore, the system-level chip module 200 is also used for obtaining the calibration times of the target electrical appliance during calibration if the calibration fails, and determining whether the calibration times exceed the first preset threshold value. If the calibration times exceed the first preset threshold value, the system-level chip module 200 returns the first calibration fault code to the micro control unit module 100, so that the micro control unit module 100 feeds back the first calibration fault code to the calibration device. If the calibration times do not exceed the first preset threshold value, the system-level chip module 200 continues to calibrate the target electrical appliance.

[0072] In addition, after the calibration fails, the system-level chip module 200 can also obtain the time required for a single calibration and determine whether the single calibration time exceeds the second preset threshold; if the single calibration time exceeds the second preset threshold, the system-level chip module 200 returns a second calibration fault code to the micro control unit module 100, so that the micro control unit module 100 feeds back the second calibration fault code to the calibration device. If the single calibration time does not exceed the second preset threshold, the system-level chip module 200 continues to calibrate the target appliance.

[0073] Furthermore, the micro control unit module 100 is also used to return the calibration completion information and calibration result value to the calibration device.

[0074] Furthermore, the micro control unit module 100 is also used to receive the diagnostic calibration information sent by the calibration device, and generate corresponding calibration request information from the diagnostic calibration information.

[0075] Furthermore, the target electrical appliance further includes:

[0076] The data storage device 300 is used to receive the calibration result value written by the system-level chip module; and when receiving the power-on information sent by the micro control unit module 100, send the calibration result value to the micro control unit module.

[0077] In addition, an embodiment of the present invention further provides a storage medium, on which a calibration program is stored. When the calibration program is executed by a processor, the steps of the above-mentioned calibration method are implemented.

[0078] The specific embodiments of the readable storage medium of the present invention are basically the same as the embodiments of the above-mentioned calibration method, and will not be described in detail here.

[0079] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0080] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0081] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / random access memory, magnetic disk, optical disk) as described above, and includes a number of instructions for a calibration system to execute the methods described in each embodiment of the present invention.

[0082] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A calibration method, characterized in that: The calibration method is used for a system-level chip in a target electrical appliance to be calibrated, and the method comprises the following steps: receiving a calibration request message sent by a microcontroller unit; Calibrate the target electrical appliance according to the calibration request information; If the calibration is completed, the random access memory is controlled to pack the calibration completion information and the calibration result value, and transparently transmit them to the micro control unit, so that the micro control unit returns the calibration completion information and the calibration result value to the calibration device; Wherein, after the step of calibrating the target electrical appliance according to the calibration request information, the following steps are included: If the calibration fails and the number of calibrations performed by the system-level chip on the target electrical appliance exceeds a first preset threshold, a first calibration fault code is returned to the microcontroller unit, so that the microcontroller unit feeds back the first calibration fault code to the calibration device; and / or, If the calibration fails and the single calibration time of the system-level chip for calibrating the target electrical appliance exceeds a second preset threshold, a second calibration fault code is returned to the microcontroller unit, so that the microcontroller unit feeds back the second calibration fault code to the calibration device.

2. The calibration method according to claim 1, characterized in that: The step of controlling the random access memory to send the calibration completion information and the calibration result value to the micro control unit so that the micro control unit returns the calibration completion information and the calibration result value to the calibration device includes: The calibration result value is written into a data storage device, so that when the data storage device receives the power-on information sent by the micro control unit, the calibration result value is sent to the micro control unit.

3. A target electrical appliance, characterized in that: The target electrical appliance includes a micro control unit module and a system-on-chip module that are communicatively connected; The micro control unit module is used to send calibration request information to the system-level chip module; The system-level chip module is used to receive the calibration request information; and calibrate the target electrical appliance according to the calibration request information; If the calibration is completed, the random access memory is controlled to pack the calibration completion information and the calibration result value, and transparently transmit them to the micro control unit; The micro control unit module is also used to return the calibration completion information and calibration result value to the calibration device; Among them, the system-level chip module is also used for returning a first calibration fault code to the microcontroller unit if the calibration fails and the number of calibration times of the target electrical appliance performed by the system-level chip exceeds a first preset threshold, so that the microcontroller unit feeds back the first calibration fault code to the calibration device; and / or, if the calibration fails and the single calibration time of the target electrical appliance performed by the system-level chip exceeds a second preset threshold, returning a second calibration fault code to the microcontroller unit, so that the microcontroller unit feeds back the second calibration fault code to the calibration device.

4. The target electrical appliance according to claim 3, characterized in that: The micro control unit module is also used to receive the diagnostic calibration information sent by the calibration device, and generate corresponding calibration request information from the diagnostic calibration information.

5. The target electrical appliance according to claim 4, characterized in that: The target electrical appliance further includes a data storage device; The data storage device is used to receive the calibration result value written by the system-level chip module; The data storage device is also used to send the calibration result value to the micro control unit module when receiving the power-on information sent by the micro control unit module.

6. A calibration system, characterized in that: The calibration system includes a memory, a processor, and a calibration program stored in the memory and executable on the processor. When the calibration program is executed by the processor, the steps of the calibration method according to any one of claims 1 to 2 are implemented.

7. A storage medium, characterized in that: The storage medium stores a calibration program, and when the calibration program is executed by the processor, the steps of the calibration method according to any one of claims 1 to 2 are implemented.

Citation Information

Patent Citations

  • Refreshing method for power window calibration file, storage medium and body control module

    CN107861740A

  • Method and device for acquiring information of electric appliance, storage medium and processor

    CN110657557A

  • Service fault identification method and device,equipment and storage medium

    CN110851311A