Diagnostic method and diagnostic system of MEMS sensor

By designing a diagnostic system in the MEMS sensor and verifying the rewriting and updating of the response function, the problem of response function update verification in the existing technology is solved, and the signal processing accuracy and reliability of the sensor are improved.

CN118613729AInactive Publication Date: 2024-09-06PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380018544.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-02
Filing Date
2023-01-13
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult to verify the rewriting and updating of response functions in existing MEMS sensors, causing the system to fail in signal processing when stress changes, affecting sensing accuracy.

Method used

A diagnostic system including MEMS components, analog circuit units, A/D converters, digital circuit units and storage devices is designed. By rewriting, updating and generating control steps, the test input signals are used to generate test output signals and determine their Whether it is within the allowed range to verify whether the rewriting and updating of the response coefficient is successful.

Benefits of technology

It effectively verifies whether the rewriting and updating of the response function in the MEMS sensor is successful, reduces erroneous diagnosis due to external stress, and improves the sensor's signal processing accuracy and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118613729A
    Figure CN118613729A
Patent Text Reader

Abstract

The purpose of the present disclosure is to verify whether rewriting and updating of response coefficients in a response function used by a MEMS sensor have been successful. The rewrite control step (ST1) includes causing the storage device to perform a rewrite process of rewriting the response coefficient from a first response coefficient to a second response coefficient in response to a rewrite instruction of the response coefficient from an external system. The update control step (ST2) includes causing the circuit unit to perform an update process of updating the circuit unit from the first response coefficient to the second response coefficient. The generation control step (ST3) includes, after the update control step (ST2), causing the digital circuit unit to perform a generation process of generating a test output signal in accordance with a test input signal input to the MEMS element or the analog circuit unit. The determination step (ST4) includes performing a determination process of determining whether the test output signal is within an allowable range specified by the test input signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to a diagnosis method of a MEMS sensor and a diagnosis system of a MEMS sensor. The present disclosure particularly relates to a diagnosis method of a MEMS sensor for diagnosing a MEMS sensor and a diagnosis system of a MEMS sensor for diagnosing a MEMS sensor. Background Art

[0002] Patent document 1 describes an acceleration sensor (MEMS sensor) comprising: at least one micromechanical sensor element (MEMS element); an electronic evaluation unit; and a monitor. At least one micromechanical sensor element picks up acceleration. The evaluation unit has a redundant signal path, including a separate A / D converter for each of the at least one sensor element. The monitor monitors parameters related to the function of the at least one A / D converter.

[0003] Patent Literature

[0004] Patent Document 1: JP 2015-515616 A Summary of the invention

[0005] An object of the present disclosure is to provide a diagnosis method of a MEMS sensor and a diagnosis system of a MEMS sensor, which are configured to verify whether rewriting and updating of a response coefficient in a response function used by the MEMS sensor have been successful.

[0006] A diagnostic method for a MEMS sensor according to one aspect of the present disclosure is a method for diagnosing a MEMS sensor, the MEMS sensor comprising a MEMS element, an analog circuit unit, an A / D converter, a digital circuit unit, and a storage device. The MEMS element is configured to output a first analog signal according to the magnitude of an externally applied stress. The analog circuit unit is configured to perform signal processing on the first analog signal output from the MEMS element to output a second analog signal after signal processing. The A / D converter is configured to convert the second analog signal output from the analog circuit unit into a digital signal. The digital circuit unit is configured to generate an output signal according to the magnitude of stress based on the digital signal output from the A / D converter to output the output signal to an external system. The storage device is configured to store a response coefficient in a response function used by at least one circuit unit of the analog circuit unit or the digital circuit unit. The diagnostic method for the MEMS sensor comprises a rewrite control step, an update control step, a generation control step, and a determination step. The rewrite control step comprises causing the storage device to perform a rewrite process of rewriting the response coefficient from the first response coefficient to the second response coefficient in response to a rewrite instruction of the response coefficient from the external system. The updating control step includes causing at least one circuit unit to perform an updating process of updating the response coefficient from the first response coefficient to the second response coefficient. The generating control step includes causing the digital circuit unit to perform a generating process of generating a test output signal according to a test input signal input to the MEMS element or the analog circuit unit after the updating control step, the test output signal is digital, and the test input signal is analog. The determining step includes performing a determining process of determining whether the test output signal is included in an allowable range specified by the test input signal.

[0007] A diagnostic system for a MEMS sensor according to one aspect of the present disclosure is a system for diagnosing a MEMS sensor, the MEMS sensor comprising a MEMS element, an analog circuit unit, an A / D converter, a digital circuit unit and a storage device. The MEMS element is configured to output a first analog signal according to the magnitude of an externally applied stress. The analog circuit unit is configured to perform signal processing on the first analog signal output from the MEMS element to output a second analog signal after signal processing. The A / D converter is configured to convert the second analog signal output from the analog circuit unit into a digital signal. The digital circuit unit is configured to generate an output signal according to the magnitude of the stress based on the digital signal output from the A / D converter to output the output signal to an external system. The storage device is configured to store a response coefficient in a response function used by at least one circuit unit in the analog circuit unit or the digital circuit unit. The diagnostic system for a MEMS sensor comprises a rewrite controller, an update control unit, a generation controller and a determination unit. The rewrite controller is configured to cause the storage device to perform a rewrite process of rewriting the response coefficient from the first response coefficient to the second response coefficient in response to a rewrite instruction of the response coefficient from the external system. The update control unit is configured to cause at least one circuit unit to perform an update process of updating the response coefficient from the first response coefficient to the second response coefficient. The generation controller is configured to cause the digital circuit unit to perform a generation process of generating a test output signal according to a test input signal input to the MEMS element or the analog circuit unit after the update control unit causes the at least one circuit unit to perform the update process, wherein the test output signal is digital and the test input signal is analog. The determination unit is configured to perform a determination process of determining whether the test output signal is included in an allowable range specified by the test input signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 is a flow chart of a method for diagnosing a MEMS sensor according to an embodiment;

[0009] Figure 2 is a block diagram of a diagnostic system for a MEMS sensor according to an embodiment;

[0010] Figure 3 This is a frequency characteristic diagram of the low-pass filter used in MEMS sensors;

[0011] Figure 4 is a frequency characteristic diagram of a high-pass filter used in a MEMS sensor according to a first modification of the embodiment;

[0012] Figure 5 is a block diagram of a MEMS sensor diagnostic system according to a second variation of the embodiment;

[0013] Figure 6is a flowchart of a method for diagnosing a MEMS sensor according to a second variation of the embodiment. DETAILED DESCRIPTION

[0014] (Example)

[0015] The following will describe a diagnostic method for a MEMS sensor and a diagnostic system for a MEMS sensor according to an embodiment with reference to the accompanying drawings. The drawings to be referred to in the description of the following embodiments are all schematic representations. Therefore, the ratios of the sizes (including thickness) of the various components shown in the drawings do not always reflect their actual size ratios. In addition, the configurations described in the following embodiments are merely examples of the present disclosure. The present disclosure is not limited to the embodiments described below, and may be modified in various ways according to design, etc., as long as the effects of the present disclosure are produced.

[0016] (1) Overview

[0017] First, refer to Figure 1 and Figure 2 An overview of a diagnosis method of the MEMS sensor 1 and a diagnosis system 10 of the MEMS sensor 1 according to the embodiment is described.

[0018] The diagnostic method of the MEMS sensor 1 according to the embodiment is a method of diagnosing the MEMS sensor 1. The microelectromechanical system (MEMS) sensor 1 is, for example, a gyro sensor (angular velocity sensor). In the present embodiment, as an example, it is assumed that the MEMS sensor 1 is a uniaxial vibration structure gyro sensor. The MEMS sensor 1 is not limited to a gyro sensor, but may be, for example, an acceleration sensor.

[0019] Incidentally, the MEMS sensor 1 includes an analog circuit unit 12 and a digital circuit unit 14 described later. At least one of the analog circuit unit 12 or the digital circuit unit 14 uses a response function. At least one circuit unit updates a response coefficient in the response function to output a signal according to the response coefficient thus updated. Therefore, when the response coefficient has not been updated, a signal according to the response coefficient before the update is output. Therefore, in the field of the MEMS sensor 1, a system configured to verify whether the update of the response coefficient has been successful is required. The diagnostic method of the MEMS sensor 1 according to the embodiment has the following configuration to achieve this purpose.

[0020] That is, the diagnostic method of the MEMS sensor 1 according to the embodiment is a method of diagnosing the MEMS sensor 1 including a MEMS element 11, an analog circuit unit 12, an A / D converter 13, a digital circuit unit 14 and a storage device 15. The MEMS element 11 outputs a first analog signal according to the magnitude of externally applied stress. The analog circuit unit 12 performs signal processing on the first analog signal output from the MEMS element 11 to output a second analog signal after signal processing. The A / D converter 13 converts the second analog signal output from the analog circuit unit 12 into a digital signal. The digital circuit unit 14 generates an output signal according to the magnitude of stress based on the digital signal output from the A / D converter 13 to output the output signal to the external system 2. The storage device 15 stores a response coefficient in a response function used by at least one circuit unit of the analog circuit unit 12 or the digital circuit unit 14. As Figure 1 As shown, the diagnostic method of the MEMS sensor 1 includes a rewrite control step ST1, an update control step ST2, a generation control step ST3 and a determination step ST4. The rewrite control step ST1 includes causing the storage device 15 to perform a rewrite process of rewriting the response coefficient from the first response coefficient to the second response coefficient in response to a rewrite instruction of the response coefficient from the external system 2. The update control step ST2 includes causing at least one circuit unit to perform an update process of updating the response coefficient from the first response coefficient to the second response coefficient. The generation control step ST3 includes causing the digital circuit unit 14 to perform a generation process of generating a test output signal according to a test input signal input to the MEMS element 11 or the analog circuit unit 12 after the update control step ST2, the test output signal is digital, and the test input signal is analog. The determination step ST4 includes performing a determination process of determining whether the test output signal is included in the allowable range specified by the test input signal.

[0021] Therefore, the diagnostic method of the MEMS sensor 1 according to the embodiment determines whether the test output signal is included in the allowable range specified by the test input signal in the determination step ST4. Therefore, if the test output signal is included in the allowable range, it can be determined that the rewriting and updating of the response coefficient has been successful, and if the test output signal is not included in the allowable range, it can be determined that the rewriting and updating of the response coefficient has failed. That is, the diagnostic method of the MEMS sensor 1 according to the embodiment can verify whether the rewriting and updating of the response coefficient in the response function used by the MEMS sensor 1 has been successful.

[0022] In addition, the diagnosis method of the MEMS sensor 1 according to the embodiment can be performed by, for example, Figure 2The diagnostic system 10 of the MEMS sensor 1 is implemented by the diagnostic system 10 of the MEMS sensor 1 shown in the figure. That is, the diagnostic system 10 of the MEMS sensor 1 is one aspect for implementing the diagnostic method of the above-mentioned MEMS sensor 1. The diagnostic system 10 of the MEMS sensor 1 according to the embodiment is a system for diagnosing the MEMS sensor 1 including the MEMS element 11, the analog circuit unit 12, the A / D converter 13, the digital circuit unit 14 and the storage device 15. Figure 2 As shown, the diagnostic system 10 of the MEMS sensor 1 includes a rewrite controller 161, an update control unit 162, a generation controller 163 and a determination unit 164. The rewrite controller 161 responds to a rewrite instruction of the response coefficient from the external system 2, and causes the storage device 15 to perform a rewrite process of rewriting the response coefficient from the first response coefficient to the second response coefficient. The update control unit 162 causes at least one circuit unit to perform an update process of updating the response coefficient from the first response coefficient to the second response coefficient. After the update control unit 162 causes at least one circuit unit to perform the update process, the generation controller 163 causes the digital circuit unit 14 to perform a generation process of generating a test output signal according to a test input signal input to the MEMS element 11 or the analog circuit unit 12, the test output signal is digital, and the test input signal is analog. The determination unit 164 performs a determination process of determining whether the test output signal is included in the allowable range specified by the test input signal.

[0023] (2) Details

[0024] Next, we will refer to Figure 2 Details of the diagnosis system 10 of the MEMS sensor 1 according to the embodiment are described.

[0025] like Figure 2As shown, the MEMS sensor 1 according to the embodiment includes a MEMS element 11, an analog circuit unit 12, an A / D converter 13, a digital circuit unit 14, a storage device 15, a controller 16, and an input / output terminal 17. In the present embodiment, the controller 16 of the MEMS sensor 1 is used as a diagnostic system 10 of the MEMS sensor 1. That is, the diagnostic system 10 of the MEMS sensor 1 according to the embodiment is integrated with the MEMS sensor 1. In other words, a rewrite controller 161, an update control unit 162, a generation controller 163, and a determination unit 164 to be described later are integrated with the MEMS sensor 1. In the present embodiment, the analog circuit unit 12, the A / D converter 13, the digital circuit unit 14, the storage device 15, the controller 16, and the input / output terminal 17 are configured as a single application specific integrated circuit (ASIC). Note that the analog circuit unit 12, the A / D converter 13, the digital circuit unit 14, the storage device 15, the controller 16, and the input / output terminal 17 are not limited to a single ASIC, but may be configured as, for example, one or more integrated circuits (ICs) or microcomputers.

[0026] (2.1)MEMS components

[0027] The MEMS element 11 is, for example, an angular velocity detection element, which is configured to detect the angular velocity of the X-axis, Y-axis and Z-axis about the Z-axis, which are orthogonal to each other. The MEMS element 11 includes, for example, a vibrator and a detection electrode. The vibrator vibrates (displaces) in the X-axis direction, for example. The detection electrode detects the displacement of the vibrator in the Y-axis direction according to the Coriolis force based on the electrostatic capacitance generated between the detection electrode and the vibrator. That is, the MEMS sensor 1 is a capacitive gyro sensor. The MEMS element 11 outputs a first analog signal (voltage signal) according to the magnitude of the externally applied stress. In other words, the MEMS element 11 outputs a first analog signal according to the Coriolis force generated at the MEMS element 11.

[0028] Note that the configuration of the MEMS element 11 is not limited to the above configuration, but the MEMS element 11 may have other configurations as long as it can detect the angular velocity about the Z axis. Furthermore, the MEMS sensor 1 is not limited to the capacitive type, but may be, for example, a piezoelectric type.

[0029] (2.2) Analog circuit unit

[0030] The analog circuit unit 12 has an input terminal connected to the output terminal of the MEMS element 11. The analog circuit unit 12 receives the first analog signal output from the MEMS element 11. The analog circuit unit 12 performs signal processing on the first analog signal output from the MEMS element 11. Specifically, the analog circuit unit 12 performs coherent detection on the first analog signal from the MEMS element 11 to extract a component signal corresponding to the Coriolis force from the first analog signal. Here, in the present embodiment, the component signal corresponds to the second analog signal. That is, the analog circuit unit 12 performs signal processing on the first analog signal output from the MEMS element 11 to output the second analog signal after signal processing.

[0031] (2.3) A / D converter

[0032] The analog-to-digital (A / D) converter 13 has an input terminal connected to the output terminal of the analog circuit unit 12. The A / D converter 13 receives the second analog signal output from the analog circuit unit 12. The A / D converter 13 converts the second analog signal into a digital signal and outputs the digital signal to the digital circuit unit 14.

[0033] (2.4) Digital circuit unit

[0034] The digital circuit unit 14 has an input terminal connected to the output terminal of the A / D converter 13. The digital circuit unit 14 receives the digital signal output from the A / D converter 13. The digital circuit unit 14 outputs an output signal (angular velocity signal) according to the magnitude of the stress applied to the MEMS element 11 to the external system 2 based on the digital signal output from the A / D converter 13.

[0035] Specifically, the digital circuit unit 14 includes: Figure 2 The low-pass filter (LPF) 141 shown. The low-pass filter 141 is, for example, a digital filter. The digital circuit unit 14 uses the low-pass filter 141 to remove or reduce the components of the second frequency range having a frequency higher than the first frequency range from the digital signal output by the A / D converter 13, thereby extracting the signal of the first frequency range. In addition, the digital circuit unit 14 performs gain adjustment and / or offset adjustment on the signal thus extracted, and further performs a compensation process (e.g., a temperature compensation process) to calculate, for example, the average value of the angular velocity per unit time. Then, the digital circuit unit 14 generates an angular velocity signal (output signal) including the average value of the angular velocity per unit time, and outputs the angular velocity signal to the external system 2.

[0036] In this embodiment, the digital circuit unit 14, which is one of the analog circuit unit 12 and the digital circuit unit 14, has a response function. The response function is, for example, a transfer function of the low-pass filter 141. In addition, the response coefficient in the response function is, for example, a gain of the low-pass filter 141.

[0037] (2.5) Storage device

[0038] The storage device 15 includes a nonvolatile memory such as a flash memory, etc. The storage device 15 stores a response coefficient in a response function used by the digital circuit unit 14. More specifically, the storage device 15 stores a lookup table as shown in Table 1. In Table 1, a low-pass filter and a high-pass filter are shown as examples of filters used in the digital circuit unit 14.

[0039] [Table 1]

[0040]

[0041] (2.6) Controller

[0042] As described above, the controller 16 functions as the diagnostic system 10 of the MEMS sensor 1 according to the embodiment.

[0043] like Figure 2 As shown, the controller 16 includes a rewrite controller 161, an update control unit 162, a generation controller 163, a determination unit 164, and a notification controller 165. In other words, the diagnosis system 10 of the MEMS sensor 1 includes the rewrite controller 161, the update control unit 162, the generation controller 163, the determination unit 164, and the notification controller 165.

[0044] The rewrite controller 161 causes the storage device 15 to perform a rewrite process in response to a rewrite instruction from the external system 2. The rewrite process is a process of rewriting the response coefficient from the first response coefficient to the second response coefficient. That is, the storage device 15 rewrites the response coefficient from the first response coefficient to the second response coefficient in response to a control instruction from the rewrite controller 161 during the rewrite process.

[0045] The update control unit 162 enables at least one circuit unit of the analog circuit unit 12 or the digital circuit unit 14 to perform an update process. The update process is a process of updating the response coefficient from the first response coefficient to the second response coefficient. That is, at least one circuit unit updates the response coefficient from the first response coefficient to the second response coefficient in response to the control instruction from the update control unit 162. In this embodiment, the at least one circuit unit is the digital circuit unit 14.

[0046] After the update control unit 162 causes the digital circuit unit 14 to perform the update process, the generation controller 163 causes the digital circuit unit 14 to perform the generation process. The generation process is a process of generating a test output signal according to a test input signal input to the MEMS element 11. The test input signal is a signal input to the MEMS element 11, and is an analog signal. More specifically, the test input signal is an alternating current signal (AC signal) according to the magnitude of the test stress given to the MEMS element 11. The test output signal is a digital signal output from the digital circuit unit 14.

[0047] The determination unit 164 performs a determination process. The determination process is a process of determining whether the test output signal is included in the allowable range. The allowable range of the test output signal is specified by the test input signal. In addition, in the determination process, if the test output signal is included in the allowable range, the determination unit 164 determines that the rewriting and updating of the response coefficient has succeeded, and if the test output signal is not included in the allowable range, the determination unit 164 determines that the rewriting and updating of the response coefficient has failed.

[0048] If the determination unit 164 determines that the test output signal is out of the allowable range, the notification controller 165 causes the external system 2 to perform a notification process. The notification process is a process of notifying that an error has occurred in the rewrite control step ST1 or the update control step ST2 to be described later. That is, the external system 2 notifies that an error has occurred in the rewrite control step ST1 or the update control step ST2 in response to a control instruction from the notification controller 165. The notification method may be, for example, displaying the notification content on the display unit when the external system 2 includes a display unit, or notifying the notification content by voice when the external system 2 includes a speaker. Therefore, the user of the MEMS sensor 1 can know that an error has occurred in the rewrite control step ST1 or the update control step ST2, and therefore the rewrite or update of the response coefficient has failed.

[0049] (2.7) Input / Output

[0050] The input / output terminal 17 includes an input / output interface between the input / output terminal 17 and the external system 2. The input / output terminal 17 inputs, for example, a rewrite instruction from the external system 2 to the controller 16 (diagnostic system 10). In addition, the input / output terminal 17 outputs an output signal (angular velocity signal) from the digital circuit unit 14, a determination result of the determination unit 164, a control instruction from the notification controller 165, and the like to the external system 2.

[0051] (3) Diagnostic methods for MEMS sensors

[0052] Next, we will refer to Figure 1 and Figure 2A method for diagnosing the MEMS sensor 1 is described.

[0053] The diagnostic method of the MEMS sensor 1 according to the embodiment is a diagnostic method for diagnosing the MEMS sensor 1 including a MEMS element 11, an analog circuit unit 12, an A / D converter 13, a digital circuit unit 14, and a storage device 15. The MEMS element 11 outputs a first analog signal according to the magnitude of externally applied stress. The analog circuit unit 12 performs signal processing on the first analog signal output from the MEMS element 11 to output a second analog signal after signal processing. The A / D converter 13 converts the second analog signal output from the analog circuit unit 12 into a digital signal. The digital circuit unit 14 generates an output signal according to the magnitude of stress based on the digital signal output from the A / D converter 13 to output the output signal to the external system 2. The storage device 15 stores a response coefficient in a response function used by at least one of the analog circuit unit 12 or the digital circuit unit 14. The diagnostic method of the MEMS sensor 1 includes a rewrite control step ST1, an update control step ST2, a generation control step ST3, and a determination step ST4. The rewrite control step ST1 includes causing the storage device 15 to perform a rewrite process of rewriting the response coefficient from the first response coefficient to the second response coefficient in response to a rewrite instruction of the response coefficient from the external system 2. The update control step ST2 includes causing at least one circuit unit (in this embodiment, the digital circuit unit 14) to perform an update process of updating the response coefficient from the first response coefficient to the second response coefficient. The generation control step ST3 includes causing the digital circuit unit 14 to perform a generation process of generating a test output signal according to a test input signal input to the MEMS element 11 or the analog circuit unit 12 after the update control step ST2. The determination step ST4 includes performing a determination process of determining whether the test output signal falls within the allowable range specified by the test input signal.

[0054] The diagnostic method of the MEMS sensor 1 according to the embodiment determines in the determination step ST4 whether the test output signal falls within the allowable range specified by the test input signal. Therefore, if the test output signal falls within the allowable range, it can be determined that the rewriting and updating of the response coefficient has been successful, and if the test output signal falls outside the allowable range, it can be determined that the rewriting or updating of the response coefficient has failed. That is, the diagnostic method of the MEMS sensor 1 according to the embodiment can verify whether the rewriting and updating of the response coefficient in the response function used by the MEMS sensor 1 has been successful.

[0055] In addition, the diagnostic method of the MEMS sensor 1 according to the embodiment further includes a notification control step ST5. The notification control step ST5 includes causing the external system 2 to perform a notification process of notifying that an error has occurred in the rewriting control step ST1 or the updating control step ST2 if it is determined in the determining step ST4 that the test output signal is not included in the allowable range. This can notify the user of the MEMS sensor 1 that an error has occurred in the rewriting control step ST1 or the updating control step ST2, and therefore the rewriting or updating of the response coefficient has failed.

[0056] Figure 1 FIG. 1 is a flow chart of a method for diagnosing a MEMS sensor 1 according to an embodiment. The method for diagnosing a MEMS sensor 1 includes: Figure 1 Steps ST1 to ST5 are shown. Note that Figure 1 The flowcharts shown are merely examples and the order of the steps may be changed accordingly or one or more steps may be omitted.

[0057] First, the diagnostic system 10 of the MEMS sensor 1 executes the rewrite control step ST1. In the rewrite control step ST1, the rewrite controller 161 causes the storage device 15 to execute a rewrite process of rewriting the response coefficient stored in the storage device 15 from the first response coefficient to the second response coefficient in response to the rewrite instruction from the external system 2. That is, the storage device 15 rewrites the response coefficient from the first response coefficient to the second response coefficient in response to the control instruction from the rewrite controller 161.

[0058] Next, the diagnostic system 10 of the MEMS sensor 1 executes an update control step ST2. In the update control step ST2, the update control unit 162 causes the circuit unit (in this embodiment, the digital circuit unit 14) to execute an update process of updating the response coefficient in the response function used by the circuit unit from the first response coefficient to the second response coefficient. That is, the circuit unit updates the response coefficient from the first response coefficient to the second response coefficient in response to the control instruction from the update control unit 162.

[0059] Then, the diagnostic system 10 of the MEMS sensor 1 performs the generation control step ST3 after the update control step ST2. In the generation control step ST3, the generation controller 163 inputs the test input signal including the analog signal to the MEMS sensor 1 so that the digital circuit unit 14 generates the test output signal including the digital signal. That is, the digital circuit unit 14 generates the test output signal according to the test input signal input from the generation controller 163 to the MEMS sensor 1 during the generation process.

[0060] Next, the diagnostic system 10 of the MEMS sensor 1 performs a determination step ST4. In the determination step ST4, the determination unit 164 performs a determination process of determining whether the test output signal from the digital circuit unit 14 is included in the allowable range. Then, if the test output signal is included in the allowable range, the determination unit 164 determines that the rewriting and updating of the response coefficient has succeeded, and if the test output signal is not included in the allowable range, the determination unit 164 determines that the rewriting or updating of the response coefficient has failed.

[0061] Finally, if it is determined in the determination step ST4 that the test output signal is not included in the allowable range, the diagnostic system 10 of the MEMS sensor 1 performs the notification control step ST5. In the notification control step ST5, the notification controller 165 causes the external system 2 to perform a notification process that notifies that an error has occurred in the rewriting control step ST1 or the updating control step ST2, that is, the rewriting or updating of the response coefficient has failed. That is, the external system 2 performs the above-mentioned notification process in response to the control instruction from the notification controller 165.

[0062] Here, in the diagnosis method of the MEMS sensor 1 according to the embodiment, the above-mentioned rewriting control step ST1, updating control step ST2, generating control step ST3 and determining step ST4 are performed when the MEMS sensor 1 is started. Since no external stress is applied to the MEMS sensor 1 when the MEMS sensor 1 is started, it is possible to reduce erroneous diagnosis caused by actual stress applied to the MEMS sensor 1.

[0063] (4) Determine the details of the steps

[0064] Next, we will refer to Figure 3 The details of the determination step ST4 are described. Figure 3 is a frequency characteristic diagram of the low-pass filter 141 included in the digital circuit unit 14. Figure 3 middle, Figure 3 The horizontal axis in represents frequency, and the vertical axis represents gain. Figure 3 In the example, the cut-off frequency of the low-pass filter 141 is 10 Hz. Figure 3 In the example, the portion outside the allowable range of the test output signal specified by the test input signal is shaded with dots. That is, the allowable range is Figure 3 There are no dots in the shaded area.

[0065] In the determination step ST4, the determination unit 164 performs processing such as Fourier transform on the test output signal output from the digital circuit unit 14, thereby obtaining the frequency characteristic of the low-pass filter 141 (see Figure 3 ).according to Figure 3, the gain of the low-pass filter 141 is included in the allowed range. For example, when the frequency of the test output signal is 20Hz, the gain of the low-pass filter 141 is -6.5dB. Similarly, according to the lookup table stored in the storage device 15 (see Table 1), the low-pass filter 141 with a cut-off frequency of 10Hz has a gain of -6.5dB when the frequency of the test output signal is 20Hz. Since the two results are consistent, the determination unit 164 determines that the rewriting and updating of the response coefficient (gain) of the low-pass filter 141 has been successful. In addition, if the two results are inconsistent, the determination unit 164 determines that the rewriting or updating of the response coefficient of the low-pass filter 141 has failed. As used in the present disclosure, "A and B are consistent" not only includes the case where A and B are exactly the same, but also includes the case where B is included in a predetermined range including A.

[0066] Therefore, the diagnostic method of the MEMS sensor 1 and the diagnostic system 10 of the MEMS sensor 1 according to the embodiment can verify whether the rewriting and updating of the response coefficient in the response function used by the MEMS sensor 1 have been successful.

[0067] (5) Effect

[0068] The diagnostic method of the MEMS sensor 1 according to the embodiment determines in the determination step ST4 whether the test output signal falls within the allowable range specified by the test input signal. Therefore, if the test output signal falls within the allowable range, it can be determined that the rewriting and updating of the response coefficient has been successful, and if the test output signal falls outside the allowable range, it can be determined that the rewriting or updating of the response coefficient has failed. That is, the diagnostic method of the MEMS sensor 1 according to the embodiment can verify whether the rewriting and updating of the response coefficient in the response function used by the MEMS sensor 1 has been successful.

[0069] Furthermore, the diagnostic method of the MEMS sensor 1 according to the embodiment further includes a notification control step ST5 . This enables the external system 2 to notify that an error has occurred in the rewriting control step ST1 or the updating control step ST2 .

[0070] Furthermore, in the diagnosis method of the MEMS sensor 1 according to the embodiment, the rewriting control step ST1, the updating control step ST2, the generating control step ST3, and the determining step ST4 are performed when the MEMS sensor 1 is started. Therefore, it is possible to reduce erroneous diagnosis caused by actual stress applied externally to the MEMS sensor 1.

[0071] Furthermore, in the diagnostic method of the MEMS sensor 1 according to the embodiment, the test input signal is an AC signal according to the magnitude of the test stress on the MEMS element 11. Therefore, by simply inputting the AC signal to the MEMS element 11 or the analog circuit unit 12, it is possible to verify whether the rewriting and updating of the response coefficient in the response function used by the MEMS sensor 1 has been successful.

[0072] (6) Variant

[0073] The above-described embodiments are merely examples of various embodiments of the present disclosure. As long as the purpose of the present disclosure is achieved, the above-described embodiments may be variously modified according to design, etc. In addition, for example, a function similar to the diagnostic method of the MEMS sensor 1 according to the above-described embodiment may be implemented by the diagnostic system 10 of the MEMS sensor 1, a (computer) program, or a non-temporary recording medium storing the program.

[0074] The following are modifications of the above-described embodiment. Any of the modifications described below can be combined as needed.

[0075] (6.1) First variant

[0076] The diagnostic system of the MEMS sensor 1 according to the first modification is different from the diagnostic system 10 of the MEMS sensor 1 according to the above-described embodiment in that the filter used in the digital circuit unit 14 is a high-pass filter. Figure 4 A diagnostic system of a MEMS sensor 1 and a diagnostic method of a MEMS sensor 1 according to a first modification are described. Note that, in the diagnostic system of the MEMS sensor 1 according to the first modification, constituent elements similar to those in the diagnostic system 10 of the MEMS sensor 1 according to the above-described embodiment are denoted by the same reference numerals as in the embodiment, and descriptions thereof are omitted. Furthermore, in the diagnostic method of the MEMS sensor 1 according to the first modification, constituent elements similar to those in the diagnostic method of the MEMS sensor 1 according to the above-described embodiment are denoted by the same reference numerals as in the embodiment, and descriptions thereof are omitted.

[0077] The diagnostic system of the MEMS sensor 1 according to the first modification performs the above-mentioned rewriting control step ST1, updating control step ST2, generating control step ST3, determining step ST4, and notifying control step ST5 in this order. The diagnostic system of the MEMS sensor 1 determines in the determining step ST4 whether the test output signal from the digital circuit unit 14 is included in the allowable range.

[0078] here, Figure 4 is a frequency characteristic diagram of the high-pass filter used in the digital circuit unit 14. Figure 4 In the figure, the horizontal axis represents frequency, and Figure 4The vertical axis in represents the gain. Figure 4 In the example, the cutoff frequency of the high-pass filter is 10 Hz. Figure 4 In the example, the part outside the allowable range specified by the test input signal is shaded with dots. That is, the allowable range is Figure 4 There are no dots in the shaded area.

[0079] In the determination step ST4, the determination unit 164 performs processing such as Fourier transform on the test output signal output from the digital circuit unit 14, thereby obtaining the frequency characteristic of the high-pass filter (see Figure 4 ).according to Figure 4 , the gain of the high-pass filter is included in the allowable range. For example, when the frequency of the test output signal is 20Hz, the gain of the high-pass filter is 0dB. Similarly, according to the lookup table (see Table 1) stored in the storage device 15, the high-pass filter with a cutoff frequency of 10Hz has a gain of 0dB when the frequency of the test output signal is 20Hz. Since the two results are consistent, the determination unit 164 determines that the rewriting and updating of the response coefficient (gain) of the high-pass filter has been successful. In addition, if the two results are inconsistent, the determination unit 164 determines that the rewriting or updating of the response coefficient of the high-pass filter has failed.

[0080] Therefore, the diagnostic method of the MEMS sensor 1 and the diagnostic system of the MEMS sensor 1 according to the first modification can verify whether the rewriting and updating of the response coefficient in the response function used by the MEMS sensor 1 have been successful.

[0081] (6.2) Second variant

[0082] The diagnostic method of the MEMS sensor 1 according to the second modification is different from the diagnostic method of the MEMS sensor 1 according to the above-described embodiment in that the diagnostic method of the second modification includes two determination steps (a first determination step ST14 and a second determination step ST16). Figure 5 and Figure 6 A diagnostic method of the MEMS sensor 1 according to the second modification and a diagnostic system 10A of the MEMS sensor 1 are described. Note that in the diagnostic system 10A of the MEMS sensor 1 according to the second modification, constituent elements similar to those in the diagnostic system 10 of the MEMS sensor 1 according to the above-described embodiment are denoted by the same reference numerals as in the embodiment, and description thereof will be omitted.

[0083] (6.21) Diagnostic system

[0084] First, refer to Figure 5 A diagnostic system 10A of a MEMS sensor 1 according to a second modification is described.

[0085] like Figure 5 As shown, the diagnostic system 10A of the MEMS sensor 1 according to the second modification includes a rewrite controller 161, an update control unit 162, a generation controller 163, a notification controller 165, a first determination unit 166, and a second determination unit 167. The first determination unit 166 corresponds to the determination unit 164 of the diagnostic system 10 of the MEMS sensor 1 according to the above-described embodiment. That is, the first determination unit 166 performs determination of the output from the digital circuit unit 14 (see Figure 2 ) is included in the first determination process of the test output signal specified by the test input signal, the test output signal is digital and the test input signal is analog.

[0086] When the rewrite controller 161 causes the storage device 15 to perform a rewrite process once and the update control unit 162 causes the circuit unit (the digital circuit unit 14 in this modification) to perform an update process once, the generation controller 163 outputs a plurality of (eg, three) test input signals to the MEMS sensor 1 .

[0087] The first determination unit 166 responds to the plurality of test input signals from the digital circuit unit 14 (see Figure 2 ) performs the first determination process for each of the plurality of test output signals outputted by the rewrite controller 161. That is, when the rewrite controller 161 causes the storage device 15 to perform a rewrite process once and the update control unit 162 causes the circuit unit to perform an update process once, the first determination unit 166 performs the first determination process a plurality of times (three times in this variation).

[0088] The second determination unit 167 performs a second determination process according to the determination result of the first determination unit 166. The second determination process is a process of determining whether the number of times the test output signal is included in the allowable range is greater than or equal to the specified number of times. In the second determination process, if the number of times the test output signal is included in the allowable range is greater than or equal to the specified number of times, the second determination unit 167 determines that the rewriting and updating of the response coefficient has been successful, and if the number of times the test output signal falls within the allowable range is less than the specified number of times, the second determination unit 167 determines that the rewriting or updating of the response coefficient has failed. Here, when the number of times the first determination process is performed is three times (as in the case of this variation), the specified number of times is, for example, two times. That is, if the ratio of the specified number of times to the number of times the first determination process is performed is greater than or equal to a specified value (for example, 60%), the second determination unit 167 determines that the rewriting and updating of the response coefficient has been successful.

[0089] (6.2.2) Diagnostic methods

[0090] Next, we will refer to Figure 6 A diagnostic method of the MEMS sensor 1 according to the second modification is described. Note that Figure 6 The flowcharts shown in FIG. 1 are merely examples, and the order of steps may be changed accordingly, or steps may be omitted.

[0091] The diagnostic method of the MEMS sensor 1 according to the second modification includes a rewriting control step ST11, an updating control step ST12, a generating control step ST13, a first determining step ST14, a second determining step ST16, and a notifying control step ST17. Figure 6 The rewriting control step ST11 corresponds to the above-mentioned rewriting control step ST1, and the updating control step ST12 corresponds to the above-mentioned updating control step ST2. Furthermore, the generating control step ST13 corresponds to the above-mentioned generating control step ST3, and the notifying control step ST17 corresponds to the above-mentioned notifying control step ST5.

[0092] First, the diagnostic system 10A of the MEMS sensor 1 executes the rewrite control step ST11. In the rewrite control step ST11, the rewrite controller 161 causes the storage device 15 to execute a rewrite process of rewriting the response coefficient stored in the storage device 15 from the first response coefficient to the second response coefficient in response to the rewrite instruction from the external system 2. In other words, the storage device 15 rewrites the response coefficient from the first response coefficient to the second response coefficient in response to the control instruction from the rewrite controller 161.

[0093] Next, the diagnostic system 10A of the MEMS sensor 1 executes an update control step ST12. In the update control step ST12, the update control unit 162 causes the circuit unit (the digital circuit unit 14 in this variation) to execute an update process of updating the response coefficient used by the digital circuit unit 14 from the first response coefficient to the second response coefficient. In other words, the digital circuit unit 14 updates the response coefficient from the first response coefficient to the second response coefficient in response to the control instruction from the update control unit 162.

[0094] Next, the diagnostic system 10A of the MEMS sensor 1 performs a generation control step ST13 after the update control step ST12. In the generation control step ST13, the generation controller 163 inputs a test input signal to the MEMS sensor 1 so that the digital circuit unit 14 generates a test output signal according to the test input signal, the test input signal is analog, and the test output signal is digital. In other words, the digital circuit unit 14 generates a digital test output signal according to the analog test input signal input to the MEMS sensor 1 in response to the control instruction from the generation controller 163.

[0095] Next, the diagnosis system 10A of the MEMS sensor 1 performs the first determination step ST14. In the first determination step ST14, the first determination unit 166 performs a first determination process of determining whether the test output signal from the digital circuit unit 14 is included in the allowable range specified by the test input signal.

[0096] Next, the diagnostic system 10A of the MEMS sensor 1 determines whether the number of times the first determination step ST14 is executed is a prescribed number of times (for example, three times) (step ST15). If the number of times the first determination step ST14 is executed is not the prescribed number of times (step ST15: No), the diagnostic system 10A of the MEMS sensor 1 returns to the generation control step ST13. Then, the diagnostic system 10A of the MEMS sensor 1 repeats the generation control step ST13 and the first determination step ST14 until the number of times the first determination step ST14 is executed reaches the prescribed number of times. When the number of executions of the first determination step ST14 reaches the prescribed number of times (step ST15: Yes), the diagnostic system 10A of the MEMS sensor 1 proceeds to the second determination step ST16.

[0097] Next, the diagnostic system 10A of the MEMS sensor 1 performs a second determination step ST16. In the second determination step ST16, the second determination unit 167 performs a second determination process of determining whether the number of times the test output signal is included in the allowable range is greater than or equal to the specified number of times. In the second determination process, if the number of times the test output signal is included in the allowable range is greater than or equal to the specified number of times, the second determination unit 167 determines that the rewrite control step ST11 and the update control step ST12 have succeeded, that is, the rewriting and updating of the response coefficient have succeeded. In addition, in the second determination process, if the number of times the test output signal is included in the allowable range is less than the specified number of times, the second determination unit 167 determines that an error has occurred in the rewrite control step ST11 or the update control step ST12, that is, the rewriting or updating of the response coefficient has failed.

[0098] If the determination result of the second determination unit 167 is that an error has occurred in the rewriting control step ST11 or the updating control step ST12, the diagnostic system 10A of the MEMS sensor 1 finally performs the notification control step ST17. In the notification control step ST17, the notification controller 165 outputs a control instruction to the external system 2 so that the external system 2 notifies that an error has occurred in the rewriting control step ST11 or the updating control step ST12, that is, the rewriting or updating of the response coefficient has failed.

[0099] That is, in the diagnostic method of the MEMS sensor 1 according to the second modification, while the rewriting control step ST11 and the updating control step ST12 are performed once, the generating control step ST13 and the first determining step ST14 are performed a plurality of times. Then, in the diagnostic method of the MEMS sensor 1, if the number of times the test output signal is included in the allowable range is greater than or equal to the specified number of times, the second determining step ST16 of determining that the rewriting and updating of the response coefficient has succeeded is performed. This enables verification of whether the rewriting and updating of the response coefficient in the response function used by the MEMS sensor 1 has succeeded.

[0100] (6.3) Other variants

[0101] Other variations are listed below.

[0102] The diagnostic system 10 of the MEMS sensor 1 in the present disclosure or the main body of the diagnostic method of the MEMS sensor 1 includes a computer system. The computer system may include a processor and a memory as its main hardware components. The processor executes the program stored in the computer system memory, thereby implementing the functions of the diagnostic system 10 of the MEMS sensor 1 or the main body of the diagnostic method of the MEMS sensor 1 in the present disclosure. The program may be pre-stored in the memory of the computer system. Alternatively, the program may also be downloaded through a telecommunications network, or distributed after being recorded in some non-temporary storage medium (such as a memory card, an optical disk, or a hard disk drive) that can be read by the computer system. The processor of the computer system includes one or more electronic circuits, including a semiconductor integrated circuit (IC) or a large-scale integrated circuit (LSI). As used herein, "integrated circuits" such as IC or LSI have different names according to their degree of integration. Examples of integrated circuits include system LSI, very large-scale integrated circuit (VLSI) and ultra-large-scale integrated circuit (ULSI). Alternatively, a field programmable gate array (FPGA) that is programmed after manufacturing the LSI or a reconfigurable logic device that allows the connection or circuit part inside the LSI to be reconfigured may also be used as a processor. These electronic circuits can be integrated together on a single chip or distributed on multiple chips, whichever is appropriate. These multiple chips can be integrated together in a single device or distributed in multiple devices, without limitation. As used herein, a "computer system" includes a microcontroller, which includes one or more processors and one or more storage elements. Therefore, a microcontroller is also composed of one or more electronic circuits, including semiconductor integrated circuits or large-scale integrated circuits.

[0103] In addition, concentrating multiple functions of the diagnostic system 10 of the MEMS sensor 1 into one housing is not a necessary configuration of the diagnostic system 10 of the MEMS sensor 1. The components of the diagnostic system 10 of the MEMS sensor 1 can be distributed in multiple housings. Alternatively, at least some functions of the diagnostic system 10 of the MEMS sensor 1, for example, the function of the determination unit 164, can also be implemented as a cloud computing system.

[0104] In the above-described embodiment, the test input signal is input to the MEMS element 11, but, for example, the test input signal may be input to the analog circuit unit 12. In this case, the processing time in the MEMS element 11 can be omitted, which enables a reduction in the overall processing time of the MEMS sensor 1. Note that if the responsiveness of the MEMS element 11 is poor, the test input signal must be input to the MEMS element 11.

[0105] In the above-described embodiment, the MEMS sensor 1 and the diagnostic system 10 of the MEMS sensor 1 (the rewrite controller 161, the update control unit 162, the generation controller 163, and the determination unit 164) are integrated with each other, but the MEMS sensor 1 and the diagnostic system 10 of the MEMS sensor 1 may be separated from each other. In addition, in the above-described embodiment, the entirety of the diagnostic system 10 of the MEMS sensor 1 is integrated with the MEMS sensor 1, but, for example, a portion of the diagnostic system 10 of the MEMS sensor 1 (for example, the determination unit 164) and the MEMS sensor 1 may be integrated with each other.

[0106] In the above-described embodiment, the rewriting control step ST1, the updating control step ST2, the generating control step ST3, and the determining step ST4 are performed when the MEMS sensor 1 is activated. Instead, for example, the rewriting control step ST1, the updating control step ST2, the generating control step ST3, and the determining step ST4 may be performed in response to a request from the external system 2. Therefore, diagnosis can be performed at a time preferred by the user of the MEMS sensor 1.

[0107] In the above embodiment, the digital circuit unit 14 includes the low-pass filter 141, but the analog circuit unit 12 may include a low-pass filter, or both the analog circuit unit 12 and the digital circuit unit 14 may include a low-pass filter. In short, at least one of the analog circuit unit 12 or the digital circuit unit 14 includes a low-pass filter.

[0108] (aspect)

[0109] This specification discloses the following aspects.

[0110] A diagnostic method for a MEMS sensor (1) of a first aspect is a method for diagnosing a MEMS sensor (1) comprising a MEMS element (11), an analog circuit unit (12), an A / D converter (13), a digital circuit unit (14), and a storage device (15). The MEMS element (11) is configured to output a first analog signal according to the magnitude of externally applied stress. The analog circuit unit (12) is configured to perform signal processing on the first analog signal output from the MEMS element (11) to output a second analog signal after signal processing. The A / D converter (13) is configured to convert the second analog signal output from the analog circuit unit (12) into a digital signal. The digital circuit unit (14) is configured to generate an output signal according to the magnitude of stress based on the digital signal output from the A / D converter (13) to output the output signal to an external system (2). The storage device (15) is configured to store a response coefficient in a response function used by at least one circuit unit of the analog circuit unit (12) or the digital circuit unit (14). The diagnostic method of a MEMS sensor (1) comprises a rewrite control step (ST1; ST11), an update control step (ST2; ST12), a generation control step (ST3; ST13) and a determination step (ST4; ST14). The rewrite control step (ST1; ST11) comprises causing a storage device (15) to execute a rewrite process of rewriting the response coefficient from a first response coefficient to a second response coefficient in response to a rewrite instruction of the response coefficient from an external system (2). The update control step (ST2; ST12) comprises causing at least one circuit unit to execute an update process of updating the response coefficient from the first response coefficient to the second response coefficient. The generation control step (ST3; ST13) comprises causing a digital circuit unit (14) to execute a generation process of generating a test output signal according to a test input signal input to a MEMS element (11) or an analog circuit unit (12) after the update control step (ST2; ST12), wherein the test output signal is digital and the test input signal is analog. The determination step (ST4; ST14) includes performing a determination process of determining whether the test output signal is included in an allowable range specified by the test input signal.

[0111] This aspect makes it possible to verify whether rewriting and updating of the response coefficient in the response function used by the MEMS sensor (1) has been successful based on whether the test output signal is included in the allowable range.

[0112] The diagnostic method of the MEMS sensor (1) of the second aspect with reference to the first aspect further includes a notification control step (ST5). The notification control step (ST5) includes: when it is determined in the determination step (ST4) that the test output signal is not included in the allowable range, causing the external system (2) to execute a notification process of notifying that an error has occurred in the rewriting control step (ST1) or the updating control step (ST2).

[0113] This aspect enables the external system (2) to notify that an error has occurred in the rewriting control step (ST1) or the updating control step (ST2).

[0114] In a diagnostic method for a MEMS sensor (1) of a third aspect with reference to either the first or second aspect, a rewrite control step (ST1), an update control step (ST2), a generation control step (ST3) and a determination step (ST4) are performed when the MEMS sensor (1) is activated or in response to a request from an external system (2).

[0115] This aspect reduces false diagnoses due to actual stress applied to the MEMS element (11) when the MEMS sensor (1) is activated. Furthermore, in the case of a request from an external system (2), diagnosis can be performed at a time preferred by the user of the MEMS sensor (1).

[0116] In the diagnostic method of the MEMS sensor (1) of the fourth aspect referring to any one of the first to third aspects, when the rewriting control step (ST11) and the updating control step (ST12) are performed once, the generating control step (ST13) and the first determining step (ST14) as the determining step (ST14) are performed a plurality of times. The diagnostic method of the MEMS sensor (1) further includes a second determining step (ST16). The second determining step (ST16) includes determining that the rewriting and updating of the response coefficient have been successful when the number of times the test output signal is included in the allowable range is greater than or equal to a specified number of times.

[0117] This aspect can reduce erroneous diagnosis due to noise or the like.

[0118] In the diagnostic method of the MEMS sensor (1) of the fifth aspect with reference to any one of the first to fourth aspects, the test input signal is an AC signal that varies according to the magnitude of the test stress applied to the MEMS element (11).

[0119] This aspect enables an AC signal to be simply input to the MEMS element (11) or the analog circuit unit (12) to verify whether rewriting and updating of the response coefficient in the response function used by the MEMS sensor (1) has been successful.

[0120] In the diagnosis method of the MEMS sensor (1) of the sixth aspect referring to any one of the first to fifth aspects, the circuit unit (14) includes a low pass filter (141).

[0121] This aspect enables the circuit unit (14) to extract a digital signal of a desired frequency range.

[0122] A diagnostic system (10) for a MEMS sensor (1) of a seventh aspect is a diagnostic system (10) for diagnosing a MEMS sensor (1) comprising a MEMS element (11), an analog circuit unit (12), an A / D converter (13), a digital circuit unit (14), and a storage device (15). The MEMS element (11) is configured to output a first analog signal according to the magnitude of an externally applied stress. The analog circuit unit (12) is configured to perform signal processing on the first analog signal output from the MEMS element (11) to output a second analog signal after the signal processing. The A / D converter (13) is configured to convert the second analog signal output from the analog circuit unit (12) into a digital signal. The digital circuit unit (14) is configured to generate an output signal according to the magnitude of the stress based on the digital signal output from the A / D converter (13) to output the output signal to an external system (2). The storage device (15) is configured to store a response coefficient in a response function used by at least one circuit unit of the analog circuit unit (12) or the digital circuit unit (14). A diagnostic system (10) for a MEMS sensor (1) includes a rewrite controller (161), an update control unit (162), a generation controller (163), and a determination unit (164). The rewrite controller (161) is configured to cause a storage device (15) to perform a rewrite process of rewriting a response coefficient from a first response coefficient to a second response coefficient in response to a rewrite instruction of a response coefficient from an external system (2). The update control unit (162) is configured to cause a circuit unit (14) to perform an update process of updating the response coefficient from the first response coefficient to the second response coefficient. The generation controller (163) is configured to cause a digital circuit unit (14) to perform a generation process of generating a test output signal according to a test input signal input to a MEMS element (11) or an analog circuit unit (12), the test output signal being digital, and the test input signal being analog, after the update control unit (162) causes the circuit unit (14) to perform the update process. The determination unit (164) is configured to perform a determination process of determining whether the test output signal is included in an allowable range specified by the test input signal.

[0123] This aspect makes it possible to verify whether rewriting and updating of the response coefficient in the response function used by the MEMS sensor (1) has been successful based on whether the test output signal is included in the allowable range.

[0124] In the diagnosis system (10) of the MEMS sensor (1) of the eighth aspect with reference to the seventh aspect, the rewrite controller (161), the update control unit (162), the generation controller (163) and the determination unit (164) are integrated with the MEMS sensor (1).

[0125] This aspect enables the size of the entire system to be reduced compared to a case where the MEMS sensor (1) and the diagnosis system (10; 10A) of the MEMS sensor (1) are separated.

[0126] The configurations of the second to sixth aspects are not essential configurations of the diagnosis method of the MEMS sensor (1), and thus may be omitted.

[0127] The configuration of the eighth aspect is not an essential configuration of the diagnosis system (10; 10A) of the MEMS sensor (1), and thus may be omitted.

[0128] Reference numerals list

[0129] 1MEMS Sensor

[0130] 2 External Systems

[0131] 10. 10A diagnostic system

[0132] 11MEMS components

[0133] 12Analog circuit units

[0134] 13A / D converter

[0135] 14Digital circuit unit

[0136] 15 Storage Device

[0137] 141 Low pass filter

[0138] 161 Rewrite the controller

[0139] 162 Update control unit

[0140] 163 Generate Controller

[0141] 164 Determine the unit

[0142] ST1, ST11 rewrite control steps

[0143] ST2, ST12 update control steps

[0144] ST3, ST13 generation control steps

[0145] ST4 Determine the steps

[0146] ST5, ST17 notification control steps

[0147] ST14 First determination step

[0148] ST16 Second determination step

Claims

1. A method for diagnosing a MEMS sensor, the MEMS sensor comprising: A MEMS element configured to output a first analog signal according to a magnitude of externally applied stress; an analog circuit unit configured to perform signal processing on the first analog signal output from the MEMS element to output a second analog signal after signal processing; an A / D converter configured to convert the second analog signal output from the analog circuit unit into a digital signal; a digital circuit unit configured to generate an output signal according to the magnitude of the stress based on the digital signal output from the A / D converter, so as to output the output signal to an external system; as well as A storage device, wherein the storage device is configured to store a response coefficient in a response function used by at least one of the analog circuit unit or the digital circuit unit, wherein the diagnostic method comprises: a rewriting control step of causing the storage device to execute a rewriting process of rewriting the response coefficient from a first response coefficient to a second response coefficient in response to a rewriting instruction of the response coefficient from the external system; an updating control step, in which the at least one circuit unit is caused to execute an updating process of updating the response coefficient from the first response coefficient to the second response coefficient; a generation control step, in which, after the update control step, the digital circuit unit is caused to execute a generation process of generating a test output signal according to a test input signal input to the MEMS element or the analog circuit unit, the test output signal being digital and the test input signal being analog; and A determination step in which a determination process of determining whether the test output signal is included in an allowable range specified by the test input signal is performed.

2. The diagnostic method according to claim 1 further includes a notification control step, in which, when it is determined in the determination step that the test output signal is not included in the allowable range, the external system is caused to execute a notification process of notifying that an error has occurred in the rewrite control step or the update control step.

3. The diagnostic method according to claim 1 or 2, wherein The rewriting control step, the updating control step, the generating control step, and the determining step are performed when the MEMS sensor is activated or in response to a request from the external system.

4. The diagnostic method according to claim 1 or 2, wherein When the rewriting control step and the updating control step are performed once, each of the generating control step and the first determining step as the determining step is performed a plurality of times, and The method further includes a second step of determining that rewriting and updating of the response coefficient has succeeded when the number of times the test output signal is included in the allowable range is greater than or equal to a specified number of times.

5. The diagnostic method according to claim 1 or 2, wherein The test input signal is an AC signal according to the magnitude of the test stress applied to the MEMS element.

6. The diagnostic method according to claim 1 or 2, wherein The at least one circuit unit includes a low pass filter.

7. A diagnostic system for a MEMS sensor, the MEMS sensor comprising: A MEMS element configured to output a first analog signal according to a magnitude of externally applied stress; an analog circuit unit configured to perform signal processing on the first analog signal output from the MEMS element to output a second analog signal after signal processing; an A / D converter configured to convert the second analog signal output from the analog circuit unit into a digital signal; a digital circuit unit configured to generate an output signal according to the magnitude of the stress based on the digital signal output from the A / D converter, so as to output the output signal to an external system; as well as A storage device, wherein the storage device is configured to store a response coefficient in a response function used by at least one of the analog circuit unit or the digital circuit unit, wherein the diagnostic system comprises: a rewrite controller configured to cause the storage device to perform a rewrite process of rewriting the response coefficient from a first response coefficient to a second response coefficient in response to a rewrite instruction of the response coefficient from the external system; an updating control unit configured to cause the at least one circuit unit to perform an updating process of updating the response coefficient from the first response coefficient to the second response coefficient; a generation controller configured to cause the digital circuit unit to perform a generation process of generating a test output signal according to a test input signal input to the MEMS element or the analog circuit unit after the update control unit causes the at least one circuit unit to perform the update process, wherein the test output signal is digital and the test input signal is analog; and A determination unit is configured to perform a determination process of determining whether the test output signal is included in an allowable range specified by the test input signal.

8. The diagnostic system according to claim 7, wherein The rewrite controller, the update control unit, the generation controller, and the determination unit are integrated with the MEMS sensor.