Motor control chip awakening method based on SBC

A motor control and chip technology, applied in the field of electronics, can solve problems such as abnormal reset of MCU program operation, and achieve the effect of improving user experience, improving operation robustness and high accuracy

Pending Publication Date: 2021-11-09
ZHEJIANG LEAPMOTOR TECH CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention is mainly to solve the reset problem of abnormal operation of the MCU program, and provides a method for waking up the motor control chip based on SBC. It adopts the design of a three-level combined watchdog, and realizes a complete reset of t

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Motor control chip awakening method based on SBC
  • Motor control chip awakening method based on SBC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0023] Such as figure 1 and figure 2 As shown, a method for waking up a motor control chip based on SBC uses a three-stage joint watchdog design to monitor and wake up the motor control chip, which specifically includes the following steps: Step S1) First, execute from the beginning of the Boot program , judge whether there is a download request in the Boot program; if yes, go to step S2; if not, start the level 3 watchdog, go to step S3; step S2) turn off the level 3 watchdog, enter the download process, after the download is complete, jump to Go to the App program, turn off the level 2 watchdog, jump to the Boot program, return to step S1; step S3) jump to the App program, start the level 2 watchdog and the level 1 watchdog in the App program, and at the same time The App program receives a download command request, if there is a download ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a motor control chip awakening method based on an SBC, a motor control chip is monitored and awakened by adopting the design of a three-level combined watchdog, the first-level watchdog is a software watchdog for monitoring an interrupt time sequence with the highest program priority, and dog feeding and resetting are realized through software; the second-level watchdog is a watchdog built in the MCU, and is used for generating a reset signal according to requirements, so that the initialization of the SBC chip is enabled, and the configuration of the third-level watchdog is enabled; the third-level watchdog is an SBC watchdog placed in a while () cycle and used for monitoring whether the while () cycle operates normally or not. The method is mainly applied to monitoring of each interruption time sequence of a chip program, and when the program runs abnormally, hardware-level thorough reset is realized based on the SBC power supply chip, so that the chip is awakened, the situation that the program cannot be normally started due to extremely special situations is prevented, the running robustness of a motor controller is improved, the product failure rate is reduced, and the user experience feeling is improved.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to an SBC-based method for waking up a motor control chip. Background technique [0002] With the development of electric vehicles, the design of motor controllers is becoming more and more complex, with more and more functions, and the requirements for functional safety are also getting higher and higher. Accurate identification of abnormal program operation and reset is an important indicator of functional safety. The motor controller MCU program design is becoming more and more complex. Under certain conditions or when the program design is improper, abnormal problems will occur, causing the program to fail to run normally, which brings huge challenges to software engineers. Most motor controller software engineers are engaged in application layer development or underlying algorithm development, and have little understanding of the MCU chip level, especially the internal work...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/07G06F9/4401G06F1/24
CPCG06F11/0757G06F11/076G06F9/4418G06F1/24
Inventor 刘灿管海斌𠚵非凡
Owner ZHEJIANG LEAPMOTOR TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products