Microprocessor non-volatile memory fault detection method in motor control system
A non-volatile, microprocessor-based technology, applied in static memory, instruments, etc., can solve the problems of poor operating reliability of the motor control system, failure to detect non-volatile memory failures in time, etc., and achieve the effect of improving reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] Embodiment 1 of the present invention proposes a method for detecting faults in the non-volatile memory of the microprocessor in the motor control system, such as figure 2 shown, including:
[0027] Step S1: within the current PWM interrupt time, set the memory address range of the storage unit to be tested in the non-volatile memory currently to be tested.
[0028] In Embodiment 1 of the present invention, the non-volatile memory in the microprocessor that needs to perform fault detection includes at least a ROM memory and a FLASH memory; the ROM memory and the FLASH memory respectively include several storage units.
[0029] In Embodiment 1 of the present invention, setting the memory address range refers to setting the range of storage units that need to be detected for faults in the current non-volatile memory to be tested within the period of the current PWM signal. For example, by setting the memory address range, it can be set that in the period of the current ...
Embodiment 2
[0042] Embodiment 2 of the present invention proposes a method for detecting faults in the non-volatile memory of the microprocessor in the motor control system, such as Figure 4 shown. Different from Embodiment 1, Embodiment 2 also includes before step S1:
[0043] Step S0: Trigger the current PWM interruption, and according to the current PWM interruption, use the motor stator coil current collected by the ADC sampling module within the time of the last PWM interruption to calculate the sampling time of the ADC sampling module within the time of the next PWM interruption, that is, according to The current PWM interrupt first executes the algorithm program, for example, executes the FOC algorithm.
[0044] At the same time, different from the first embodiment, in the second embodiment, after step S3, it also includes:
[0045] Step S4: within the current PWM interruption time, when the sampling time calculated within the last PWM interruption time arrives, the ADC interrup...
Embodiment 3
[0049] Embodiment 3 of the present invention proposes a microprocessor non-volatile memory fault detection system in a motor control system, such as Figure 5 As shown, for ease of description, only the part related to Embodiment 3 of the present invention is shown.
[0050] In detail, the microprocessor non-volatile memory fault detection system in the motor control system proposed by the third embodiment of the present invention includes: a setting module 1, which is used to set the current non-volatile memory to be tested within the time of the current PWM interruption. The memory address range of the storage unit to be tested in the non-volatile memory; the detection module 2 is used to use the data verification method to check the current non-volatile memory to be tested according to the memory address range set by the setting module 1 during the current PWM interrupt time. A bit error fault of the memory is detected; the execution module 3 is used to finish the detection...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 