CN110308690A - Design method of DSP logic control program for brushless DC motor based on Petri net - Google Patents
Design method of DSP logic control program for brushless DC motor based on Petri net Download PDFInfo
- Publication number
- CN110308690A CN110308690A CN201910682010.0A CN201910682010A CN110308690A CN 110308690 A CN110308690 A CN 110308690A CN 201910682010 A CN201910682010 A CN 201910682010A CN 110308690 A CN110308690 A CN 110308690A
- Authority
- CN
- China
- Prior art keywords
- control program
- motor
- logic
- petri net
- petri
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Program control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
Description
技术领域technical field
本发明涉及无刷直流电机DSP逻辑控制领域,更具体地说,涉及一种基于Petri网的无刷直流电机DSP逻辑控制程序的设计方法,以确保逻辑程序的正确性和可靠性。The present invention relates to the field of DSP logic control of brushless direct current motor, more specifically, relates to a design method of DSP logic control program of brushless direct current motor based on Petri net, so as to ensure the correctness and reliability of the logic program.
背景技术Background technique
常见的直流无刷电机由电机本体,功率驱动电路和位置传感器组成。电机本体的定子上为电枢绕组,转子材料为永磁体,转子在电机内部产生旋转磁场,电枢绕组按照相应的逻辑顺序通电产生相应的旋转磁场,两磁场相互作用产生旋转力矩,实现无刷电机的正常运转。位置传感器实时检测电机转子的位置,将转子的磁位置信号转换为电信号传给控制器,控制器根据获取的转子位置决定驱动电路中电机的换相信息。A common DC brushless motor consists of a motor body, a power drive circuit and a position sensor. The stator of the motor body is an armature winding, and the material of the rotor is a permanent magnet. The rotor generates a rotating magnetic field inside the motor, and the armature winding is energized in a corresponding logical order to generate a corresponding rotating magnetic field. The two magnetic fields interact to generate a rotating torque, realizing brushless normal operation of the motor. The position sensor detects the position of the motor rotor in real time, converts the magnetic position signal of the rotor into an electrical signal and transmits it to the controller, and the controller determines the commutation information of the motor in the drive circuit according to the obtained rotor position.
传统的无刷直流电机DSP逻辑控制程序的设计和调试比较繁琐,验证和检测通常依靠人工的反复调试和反复试错,难于避免程序中的逻辑错误,很难得到可靠的逻辑控制程序。The design and debugging of the traditional brushless DC motor DSP logic control program is cumbersome. Verification and testing usually rely on manual repeated debugging and trial and error. It is difficult to avoid logic errors in the program and obtain a reliable logic control program.
发明内容Contents of the invention
本发明的目的在于克服现有技术的不足,提供一种便于验证,避免程序逻辑错误,以得到可靠的逻辑控制程序的基于Petri网的无刷直流电机DSP逻辑控制程序的设计方法。The purpose of the present invention is to overcome the deficiencies in the prior art, provide a kind of convenient verification, avoid program logic error, to obtain the design method of the brushless DC motor DSP logic control program based on Petri net of reliable logic control program.
本发明的技术方案如下:Technical scheme of the present invention is as follows:
一种基于Petri网的无刷直流电机DSP逻辑控制程序的设计方法,包括如下步骤:A design method of a brushless DC motor DSP logic control program based on Petri net, comprising the steps:
1)建立无刷直流电机逻辑控制的Petri网模型;1) Establish the Petri net model of logic control of brushless DC motor;
2)建立基于Petri网可达图的无刷直流电机动态行为模型;2) Establish a dynamic behavior model of brushless DC motor based on Petri net reachability graph;
3)通过Petri网设计无刷直流电机DSP逻辑控制程序。3) Design the DSP logic control program of brushless DC motor through Petri net.
作为优选,步骤1)具体如下:As preferably, step 1) is specifically as follows:
1.1)建立霍尔传感器的Petri网模型:用一对库所和分别描述霍尔传感器的高电平信号和低电平信号,用一对变迁和分别描述霍尔传感器由低电平向高电平切换和霍尔传感器由高电平向低电平切换;1.1) Establish the Petri net model of the Hall sensor: use a pair of places and Describe the high-level signal and low-level signal of the Hall sensor respectively, using a pair of transitions and Describe the Hall sensor switching from low level to high level and the Hall sensor switching from high level to low level;
1.2)建立电机旋转方向控制变量的Petri网模型:用一对库所和分别描述电机的正转和反转;用一对变迁和分别描述电机由反转向正转切换和电机由正转向反转切换;1.2) Establish the Petri net model of the motor rotation direction control variable: use a pair of places and Describe the forward rotation and reverse rotation of the motor separately; use a pair of transitions and Respectively describe the switching of the motor from reverse to forward rotation and the switching of the motor from forward to reverse rotation;
1.3)建立每个功率管的Petri网模型:用一对库所和分别描述功率管的导通状态和关断状态;将功率管的梯形换向逻辑表达式形式化为析取范式,将其中每个合取逻辑描述为一个变迁,变迁的输入对应合取逻辑表达式中逻辑变量对应的库所结点,变迁的输出为功率管对应的导通或关断库所结点。1.3) Establish a Petri net model for each power tube: use a pair of places and Describe the on-state and off-state of the power tube respectively; formalize the trapezoidal commutation logic expression of the power tube into a disjunctive paradigm, describe each conjunction logic as a transition, and the input of the transition corresponds to the conjunction logic expression In the formula, the logic variable corresponds to the place node, and the output of the transition is the on or off place node corresponding to the power transistor.
作为优选,步骤2)具体为:根据Petri网可达图算法,计算无刷直流电机动态系统的状态集合,并根据梯形换向逻辑逐个验证,是否符合规范,若不符合,重新设计Petri网模型。As a preference, step 2) is specifically: according to the Petri net reachable graph algorithm, calculate the state set of the brushless DC motor dynamic system, and verify one by one according to the trapezoidal commutation logic, whether it meets the specification, if not, redesign the Petri net model .
作为优选,步骤2)中,初始状态下,默认为全部信号为低电平或关断状态,作为相应的库所标记托肯,获得初始标识。Preferably, in step 2), in the initial state, all signals are in the low level or off state by default, and the initial identification is obtained as the corresponding place token Token.
作为优选,步骤3)具体如下:As preferably, step 3) is specifically as follows:
3.1)借助每个霍尔传感器的Petri网,根据其库所名称和在DSP控制程序中,定义该传感器对应的输入变量为Hi;3.1) With the help of the Petri net of each Hall sensor, according to its place name and In the DSP control program, define the input variable corresponding to the sensor as H i ;
3.2)借助转向控制变量的Petri网,根据其库所名称和在DSP控制程序中,定义电机旋转方向控制对应的输入变量为D;3.2) With the help of the Petri net of the steering control variable, according to the place name and In the DSP control program, define the input variable corresponding to the motor rotation direction control as D;
3.3)借助功率管变量的Petri网,根据其库所名称和在DSP控制程序中,定义该功率管对应的输入变量为VTi;3.3) With the help of the Petri net of the power tube variable, according to its place name and In the DSP control program, define the input variable corresponding to the power tube as VT i ;
3.4)借助每个功率管的Petri网,根据每个变迁的执行逻辑,设计无刷直流电机DSP逻辑控制程序。3.4) With the help of the Petri net of each power tube, design the DSP logic control program of the brushless DC motor according to the execution logic of each transition.
本发明的有益效果如下:The beneficial effects of the present invention are as follows:
本发明所述的基于Petri网的无刷直流电机DSP逻辑控制程序的设计方法,通过对无刷直流电机的霍尔传感器和转向控制变量建模,得到功率管的Petri网,Petri网模型直观易懂,且易于分析。The design method of the brushless DC motor DSP logic control program based on the Petri net of the present invention obtains the Petri net of the power tube by modeling the Hall sensor and the steering control variable of the brushless DC motor, and the Petri net model is intuitive and easy understandable and easy to analyze.
本发明通过Petri网可达图算法,计算无刷直流电机动态系统的状态集合,并根据梯形换向逻辑逐个验证,是否符合规范,若不符合,重新设计系统的Petri网模型,避免了程序中的逻辑错误。The present invention calculates the state set of the dynamic system of the brushless DC motor through the Petri net reachability graph algorithm, and verifies one by one according to the trapezoidal commutation logic whether it conforms to the specification. If not, the Petri net model of the system is redesigned to avoid logic error.
本发明给出无刷直流电机逻辑控制数学表达式,为DSP逻辑控制程序设计做铺垫,数学表达式描述逻辑控制更加严谨和清晰。The invention provides a mathematical expression for the logic control of the brushless direct-current motor, paves the way for the design of the DSP logic control program, and the mathematical expression describes the logic control more rigorously and clearly.
附图说明Description of drawings
图1是无刷直流电机驱动电路的电路示意图;Fig. 1 is a schematic circuit diagram of a brushless DC motor drive circuit;
图2是霍尔传感器信号输出的状态示意图;Fig. 2 is a state schematic diagram of Hall sensor signal output;
图3是无刷直流电机换相的状态示意图;Fig. 3 is a state schematic diagram of brushless DC motor commutation;
图4是霍尔传感器的Petri网模型的示意图;Fig. 4 is the schematic diagram of the Petri net model of Hall sensor;
图5是转向控制变量D的Petri网模型的示意图;Fig. 5 is the schematic diagram that turns to the Petri net model of control variable D;
图6是功率管VT3的Petri网模型的示意图;Fig. 6 is the schematic diagram of the Petri net model of power tube VT 3 ;
图7是无刷直流电机DSP逻辑控制程序的状态可达图。Figure 7 is a state reachable diagram of the DSP logic control program of the brushless DC motor.
具体实施方式Detailed ways
以下结合附图及实施例对本发明进行进一步的详细说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
本发明为了解决现有技术存在的设计和调试比较繁琐,验证和检测通常依靠人工的反复调试和反复试错,难于避免程序中的逻辑错误,很难得到可靠的逻辑控制程序等不足,提供一种基于Petri网的无刷直流电机DSP逻辑控制程序的设计方法,以确保逻辑程序的正确性和可靠性。The present invention solves the problems in the prior art that the design and debugging are cumbersome, verification and detection usually rely on repeated manual debugging and trial and error, it is difficult to avoid logical errors in the program, and it is difficult to obtain a reliable logic control program. A design method of DSP logic control program for brushless DC motor based on Petri net to ensure the correctness and reliability of the logic program.
本发明所述的基于Petri网的无刷直流电机DSP逻辑控制程序的设计方法,包括如下步骤:The design method of the brushless DC motor DSP logic control program based on Petri net of the present invention comprises the steps:
1)建立无刷直流电机逻辑控制的Petri网模型;1) Establish the Petri net model of logic control of brushless DC motor;
2)建立基于Petri网可达图的无刷直流电机动态行为模型;2) Establish a dynamic behavior model of brushless DC motor based on Petri net reachability graph;
3)通过Petri网设计无刷直流电机DSP逻辑控制程序。3) Design the DSP logic control program of brushless DC motor through Petri net.
其中,步骤1)具体如下:Wherein, step 1) is specifically as follows:
1.1)建立霍尔传感器的Petri网模型:1.1) Establish the Petri net model of the Hall sensor:
将每个霍尔传感器描述2个库所和2个变迁组成的环,用一对库所和分别描述霍尔传感器的高电平信号和低电平信号,用一对变迁和分别描述霍尔传感器由低电平向高电平切换和霍尔传感器由高电平向低电平切换;Describe each Hall sensor as a ring consisting of 2 places and 2 transitions, and use a pair of places and Describe the high-level signal and low-level signal of the Hall sensor respectively, using a pair of transitions and Describe the Hall sensor switching from low level to high level and the Hall sensor switching from high level to low level;
1.2)建立电机旋转方向控制变量的Petri网模型:1.2) Establish the Petri net model of the motor rotation direction control variable:
将电机旋转方向控制输入描述2个库所和2个变迁组成的环,用一对库所和分别描述电机的正转和反转;用一对变迁和分别描述电机由反转向正转切换和电机由正转向反转切换;Input the control input of the motor rotation direction to describe the ring composed of 2 places and 2 transitions, and use a pair of places and Describe the forward rotation and reverse rotation of the motor separately; use a pair of transitions and Respectively describe the switching of the motor from reverse to forward rotation and the switching of the motor from forward to reverse rotation;
1.3)建立每个功率管的Petri网模型:1.3) Establish the Petri net model of each power tube:
对于每一个功率管,用一对库所和分别描述功率管的导通状态和关断状态;将功率管的梯形换向逻辑表达式形式化为析取范式,将其中每个合取逻辑描述为一个变迁,变迁的输入对应合取逻辑表达式中逻辑变量对应的库所结点,变迁的输出为功率管对应的导通或关断库所结点。For each power tube, use a pair of place and Describe the on-state and off-state of the power tube respectively; formalize the trapezoidal commutation logic expression of the power tube into a disjunctive paradigm, describe each conjunction logic as a transition, and the input of the transition corresponds to the conjunction logic expression In the formula, the logic variable corresponds to the place node, and the output of the transition is the on or off place node corresponding to the power transistor.
步骤2)具体为:根据Petri网可达图算法,计算无刷直流电机动态系统的状态集合,并根据梯形换向逻辑逐个验证,是否符合规范,若不符合,重新设计Petri网模型。其中,初始状态下,默认为全部信号为低电平或关断状态,作为相应的库所标记托肯,获得初始标识。Step 2) is specifically: according to the Petri net reachable graph algorithm, calculate the state set of the brushless DC motor dynamic system, and verify one by one according to the trapezoidal commutation logic, whether it meets the specification, if not, redesign the Petri net model. Among them, in the initial state, the default is that all signals are in the low level or off state, and the initial identification is obtained as the corresponding place token Token.
步骤3)具体如下:Step 3) is as follows:
3.1)借助每个霍尔传感器的Petri网,根据其库所名称和在DSP控制程序中,定义该传感器对应的输入变量为Hi;3.1) With the help of the Petri net of each Hall sensor, according to its place name and In the DSP control program, define the input variable corresponding to the sensor as H i ;
3.2)借助转向控制变量的Petri网,根据其库所名称和在DSP控制程序中,定义电机旋转方向控制对应的输入变量为D;3.2) With the help of the Petri net of the steering control variable, according to the place name and In the DSP control program, define the input variable corresponding to the motor rotation direction control as D;
3.3)借助功率管变量的Petri网,根据其库所名称和在DSP控制程序中,定义该功率管对应的输入变量为VTi;3.3) With the help of the Petri net of the power tube variable, according to its place name and In the DSP control program, define the input variable corresponding to the power tube as VT i ;
3.4)借助每个功率管的Petri网,根据每个变迁的执行逻辑,设计无刷直流电机DSP逻辑控制程序。3.4) With the help of the Petri net of each power tube, design the DSP logic control program of the brushless DC motor according to the execution logic of each transition.
实施例Example
如图1所示,本实施例的无刷直流电机驱动电路中,电机定子绕组星型连接,逆变器采用三相全桥逆变电路,通电方式为两两导通。通过霍尔传感器检测转子位置,传感器输出的脉宽信号为180°电角度,三路霍尔信号输出相位差是120°,如图2、图3所示。控制器处理位置信号输出换相信息,驱动逆变电路三个桥臂上的VT1~VT6功率管,霍尔传感器状态与换相关系如下表所示:As shown in FIG. 1 , in the drive circuit of the brushless DC motor of this embodiment, the stator windings of the motor are connected in star form, and the inverter adopts a three-phase full-bridge inverter circuit, and the power supply mode is two-two conduction. The rotor position is detected by the Hall sensor, the pulse width signal output by the sensor is 180° electrical angle, and the phase difference of the three Hall signal outputs is 120°, as shown in Figure 2 and Figure 3. The controller processes the position signal and outputs the commutation information, and drives the VT 1 ~ VT 6 power tubes on the three bridge arms of the inverter circuit. The relationship between the state of the Hall sensor and the commutation is shown in the following table:
所述的基于Petri网的无刷直流电机DSP逻辑控制程序的设计方法,包括如下部分:The design method of the described brushless DC motor DSP logic control program based on Petri net, comprises the following parts:
1)建立霍尔传感器的Petri网模型1) Establish the Petri net model of the Hall sensor
如图4所示,用一对库所和分别描述霍尔传感器的高电平信号和低电平信号,用一对变迁和分别描述霍尔传感器由低电平向高电平切换和霍尔传感器由高电平向低电平切换。As shown in Figure 4, with a pair of places and Describe the high-level signal and low-level signal of the Hall sensor respectively, using a pair of transitions and Respectively describe the Hall sensor switching from low level to high level and the Hall sensor switching from high level to low level.
2)建立电机旋转方向控制变量的Petri网模型2) Establish the Petri net model of the motor rotation direction control variable
如图5所示,用一对库所和分别描述电机的正转和反转;用一对变迁和分别描述电机由反转向正转切换和电机由正转向反转切换。As shown in Figure 5, with a pair of places and Describe the forward rotation and reverse rotation of the motor separately; use a pair of transitions and Respectively describe the switching of the motor from reverse to forward rotation and the switching of the motor from forward to reverse rotation.
3)建立每个功率管的Petri网模型3) Establish the Petri net model of each power tube
用一对库所和分别描述功率管的导通状态和关断状态;将功率管的梯形换向逻辑表达式形式化为析取范式,将其中每个合取逻辑描述为一个变迁,变迁的输入对应合取逻辑表达式中逻辑变量对应的库所结点,变迁的输出为功率管对应的导通或关断库所结点。如图6所示,以功率管VT3为例(其他功率管同理,本领域技术人员根据功率管VT3的描述可推导出,不再赘述),变迁的输入为输出为和VT3在4个变迁条件下是导通的,在4个变迁条件下是关断的。use a pair of warehouses and Describe the on-state and off-state of the power tube respectively; formalize the trapezoidal commutation logic expression of the power tube into a disjunctive paradigm, describe each conjunction logic as a transition, and the input of the transition corresponds to the conjunction logic expression In the formula, the logic variable corresponds to the place node, and the output of the transition is the on or off place node corresponding to the power transistor. As shown in Figure 6 , taking the power tube VT3 as an example (other power tubes are the same, those skilled in the art can deduce it according to the description of the power tube VT3, and will not repeat it), the input of the transition is output as and VT 3 is turned on under 4 transition conditions, and is turned off under 4 transition conditions.
4)建立基于Petri网的无刷直流电机逻辑控制状态可达图4) Establish the logic control state reachable graph of brushless DC motor based on Petri net
4.1)通过功率管的Petri网模型,可以得到输入变迁集和输出变迁集如下:4.1) Through the Petri net model of the power tube, the input transition set and output transition set can be obtained as follows:
4.2)状态可达图中每个状态表示的具体形式如下:4.2) The specific form of each state representation in the state reachability diagram is as follows:
其中,为1,为0时表示霍尔传感器为低电平信号;为0,为1时表示霍尔传感器为高电平信号;为1,为0时表示电机反转,为0,为1时表示电机正转;为1,为1时表示功率管关断状态,为0,为1时表示功率管导通状态。in, is 1, When it is 0, it means that the Hall sensor is a low-level signal; is 0, When it is 1, it means that the Hall sensor is a high-level signal; is 1, When it is 0, it means the motor reverses, is 0, When it is 1, it means the motor rotates forward; is 1, When it is 1, it means that the power tube is off. is 0, When it is 1, it means that the power tube is in the conduction state.
4.3)如图7所示的状态m0为例(其他状态同理,本领域技术人员根据状态m0的描述可推导出,不再赘述),m0是以虚线表示的结点,则,m0是一个输入初始状态,默认为全部信号为低电平或关断状态,即,m0=(1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0)T。4.3) Take the state m 0 shown in Figure 7 as an example (other states are the same, those skilled in the art can deduce it according to the description of the state m 0 , and will not repeat it), m 0 is a node represented by a dotted line, then, m 0 is an input initial state, and the default is that all signals are low level or off, that is, m 0 = (1,0,1,0,1,0,1,0,1,0,1,0 ,1,0,1,0,1,0,1,0) T .
m0经由变迁激发到m1,m3,m5,m7,m9,m11中任一状态,电机正转,旋转顺序为m1→m3→m5→m7→m9→m11;m0经过变迁激发到m2,m4,m6,m8,m10,m12中任一状态,电机反转,旋转顺序为m2→m4→m6→m8→m10→m12。m 0 via transition Excited to any state of m 1 , m 3 , m 5 , m 7 , m 9 , m 11 , the motor rotates forward, and the rotation sequence is m 1 →m 3 →m 5 →m 7 →m 9 →m 11 ; m 0 has changed Excited to any state of m 2 , m 4 , m 6 , m 8 , m 10 , m 12 , the motor reverses, and the rotation sequence is m 2 →m 4 →m 6 →m 8 →m 10 →m 12 .
根据Petri网可达图,计算无刷直流电机动态系统的状态集合,并根据梯形换向逻辑逐个将信号代入逻辑表达式验证,是否符合规范,若不符合,重新设计系统的Petri网模型。According to the Petri net reachability graph, calculate the state set of the dynamic system of the brushless DC motor, and according to the trapezoidal commutation logic, substitute the signals into the logic expression one by one to verify whether it meets the specification, if not, redesign the Petri net model of the system.
5)根据功率管的Petri网设计无刷直流电机的DSP逻辑控制程序5) Design the DSP logic control program of the brushless DC motor according to the Petri net of the power tube
5.1)借助每个霍尔传感器的Petri网,根据其库所名称和在DSP控制程序中,定义该传感器对应的输入变量为Hi;5.1) With the help of the Petri net of each Hall sensor, according to its place name and In the DSP control program, define the input variable corresponding to the sensor as H i ;
5.2)借助转向控制变量的Petri网,根据其库所名称和在DSP控制程序中,定义电机旋转方向控制对应的输入变量为D;5.2) With the help of the Petri net of the steering control variable, according to the place name and In the DSP control program, define the input variable corresponding to the motor rotation direction control as D;
5.3)借助功率管变量的Petri网,根据其库所名称和在DSP控制程序中,定义该功率管对应的输入变量为VTi;5.3) With the help of the Petri net of the power tube variable, according to its place name and In the DSP control program, define the input variable corresponding to the power tube as VT i ;
5.4)借助每个功率管的Petri网,根据每个变迁的执行逻辑,设计无刷直流电机DSP逻辑控制程序,编写功率管VTi的赋值程序指令。5.4) With the help of the Petri net of each power transistor, according to the execution logic of each transition, design the DSP logic control program of the brushless DC motor, and write the assignment program instructions of the power transistor VT i .
以VT3为例,程序如下:Taking VT 3 as an example, the procedure is as follows:
“if VT3==0"if VT 3 == 0
VT3==!VT3&&!H1&&H2&&H3&&D;VT 3 ==! VT 3 &&! H 1 && H 2 && H 3 &&D;
VT3==!VT3&&!H1&&H2&&!H3&&D;VT 3 ==! VT 3 &&! H 1 && H 2 &&! H 3 &&D;
VT3==!VT3&&!H1&&H2&&H3&&!D;VT 3 ==! VT 3 &&! H 1 && H 2 && H 3 &&! D;
VT3==!VT3&&!H1&&H2&&!H3&&!D;VT 3 ==! VT 3 &&! H 1 && H 2 &&! H 3 &&! D;
else if VT3==1else if VT 3 ==1
VT3==VT3&&!(H1&&!H2&&H3);VT 3 == VT 3 &&! (H 1 &&! H 2 && H 3 );
VT3==VT3&&!(!H1&&!H2&&H3);VT 3 == VT 3 &&! (!H1 &&! H2 && H3 ) ;
VT3==VT3&&!(H1&&H2&&!H3);VT 3 == VT 3 &&! (H 1 && H 2 &&! H 3 );
VT3==VT3&&!(H1&&!H2&&!H3);”。VT 3 == VT 3 &&! (H 1 &&! H 2 &&! H 3 );".
上述实施例仅是用来说明本发明,而并非用作对本发明的限定。只要是依据本发明的技术实质,对上述实施例进行变化、变型等都将落在本发明的权利要求的范围内。The above-mentioned embodiments are only used to illustrate the present invention, but not to limit the present invention. As long as it is based on the technical spirit of the present invention, changes and modifications to the above embodiments will fall within the scope of the claims of the present invention.
Claims (5)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910682010.0A CN110308690A (en) | 2019-07-26 | 2019-07-26 | Design method of DSP logic control program for brushless DC motor based on Petri net |
| CN201911233946.1A CN110865586B (en) | 2019-07-26 | 2019-12-05 | Petri network-based brushless direct current motor DSP logic control program design method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910682010.0A CN110308690A (en) | 2019-07-26 | 2019-07-26 | Design method of DSP logic control program for brushless DC motor based on Petri net |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110308690A true CN110308690A (en) | 2019-10-08 |
Family
ID=68081838
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910682010.0A Pending CN110308690A (en) | 2019-07-26 | 2019-07-26 | Design method of DSP logic control program for brushless DC motor based on Petri net |
| CN201911233946.1A Expired - Fee Related CN110865586B (en) | 2019-07-26 | 2019-12-05 | Petri network-based brushless direct current motor DSP logic control program design method |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911233946.1A Expired - Fee Related CN110865586B (en) | 2019-07-26 | 2019-12-05 | Petri network-based brushless direct current motor DSP logic control program design method |
Country Status (1)
| Country | Link |
|---|---|
| CN (2) | CN110308690A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110955251A (en) * | 2019-12-25 | 2020-04-03 | 华侨大学 | Petri network-based mobile robot brain-computer cooperative control method and system |
| CN111124694A (en) * | 2019-11-14 | 2020-05-08 | 武汉纺织大学 | A deadlock detection and solution method for reachability graph based on petri net |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7584449B2 (en) * | 2004-11-22 | 2009-09-01 | Fulcrum Microsystems, Inc. | Logic synthesis of multi-level domino asynchronous pipelines |
| CN102411330B (en) * | 2011-08-25 | 2014-03-12 | 华侨大学 | Method for converting PLC program into common Petri net |
| CN103019233B (en) * | 2012-12-21 | 2015-04-15 | 华侨大学 | Method for detecting whether race condition exists in PLC (programmable logic controller) ladder diagram program or not |
| CN103699730B (en) * | 2013-12-18 | 2017-02-22 | 华侨大学 | Petri-net-based combined logic FPGA (Field Programmable Gate Array) system reachability graph generation method |
| CN103761387B (en) * | 2014-01-20 | 2017-01-18 | 华侨大学 | Formal verification method for sequencing specification of FPGA (field programmable gate array) combinatorial logic system |
| CN105760653A (en) * | 2016-01-29 | 2016-07-13 | 北京航空航天大学 | System safety analyzing method based on random time Petri network |
| CN108647380B (en) * | 2018-04-02 | 2020-07-14 | 同济大学 | Concurrent system error detection method, system, medium and device based on PD-Net |
-
2019
- 2019-07-26 CN CN201910682010.0A patent/CN110308690A/en active Pending
- 2019-12-05 CN CN201911233946.1A patent/CN110865586B/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111124694A (en) * | 2019-11-14 | 2020-05-08 | 武汉纺织大学 | A deadlock detection and solution method for reachability graph based on petri net |
| CN111124694B (en) * | 2019-11-14 | 2023-10-27 | 武汉纺织大学 | A deadlock detection and solution method for reachable graph based on petri net |
| CN110955251A (en) * | 2019-12-25 | 2020-04-03 | 华侨大学 | Petri network-based mobile robot brain-computer cooperative control method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110865586B (en) | 2022-06-07 |
| CN110865586A (en) | 2020-03-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5446324B2 (en) | Inverter device | |
| CN102365817B (en) | Motor drive control device | |
| CN101286727B (en) | Motor control device | |
| TWI687037B (en) | Motor driving circuit and method thereof | |
| US6448725B1 (en) | Apparatus for detecting rotor position in brushless direct current motor | |
| CN103780170B (en) | For controlling the system and method without the motor switching in sensor BLDC motors | |
| JP2008067556A (en) | Motor controller | |
| JP2014207740A (en) | Motor driver | |
| CN111525868B (en) | Phase shifting method and system for three-phase inverter and readable storage medium | |
| CN104579045B (en) | A kind of phase change method of the brshless DC motor based on angular transducer | |
| US10181810B2 (en) | Determining motor position with complementary driving and detection and current injection | |
| CN104852638A (en) | Air conditioner compressor and brushless direct-current motor control method and system thereof | |
| CN114499290A (en) | Position deviation calibration method, motor driving method, system and equipment | |
| TWI558090B (en) | Control apparatus for removing charging error of a rotor in the dc motor and method thereof | |
| CN110308690A (en) | Design method of DSP logic control program for brushless DC motor based on Petri net | |
| JP5843955B2 (en) | Sensorless dynamic drive method and system for single-phase AC permanent magnet motor | |
| CN1976213B (en) | Method for controlling an AC motor | |
| JP2008172948A (en) | Brushless motor control device | |
| JP7456834B2 (en) | Motor control device, motor system and motor control method | |
| JP7482668B2 (en) | MOTOR CONTROL DEVICE, MOTOR SYSTEM, AND MOTOR CONTROL METHOD | |
| CN104702174A (en) | Control system and control method for brushless direct current motor | |
| CN106953556B (en) | Sensorless three-phase motor driving system and method thereof | |
| CN110323987A (en) | A kind of parameter verification method and system for permanent magnet synchronous motor | |
| TWI466433B (en) | A detection control system | |
| CN107947650A (en) | A kind of brushless direct current motor sensorless control method based on extreme learning machine classification |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191008 |