How can we describe the stepmother driver that implements the one two phase on half a step method?
This lecture will guide you through the steps to design such a circuit invited such as?
As previously mentioned in this section, they want to phase one half a step method based, the driver
should feed the stepmother with this way form DiGRA.
There are eight repeating states distinguished in these waveforms.
In the first step, only Coile A is Energis in the second step, Coyle's A and B are energized.
And so on, four other states.
Different states in the diagram can be described as a state machine in the L.A. code describing the
step stepmother driver, the state machine has eight steps.
It goes from the current state to the next on receiving a pass and the motor clock rate signal.
Otherwise, it stays in its current state.
Each state has an output corresponding to a state in the form DiGRA.
Similar to previous cases.
Our final moto driver has two main arteries.
The first one is the Supermoto driver, and the second one is the path to generate.
Now, let's ascribe drive a circuit, invite a socialist curtain, invite a socialist project with the
name of the Stepa, underscore Motal, underscore driver dash white socialist selecter supermoto driver
as a top function name and choose the basis to report as the target FPGA platform.
Download the design files from the resources folder attached to dyslexia and add them to the project.
Open the design source, work in our design.
We have eight states, therefore an enumeration data type defines them.
Then we have the design top function with two arguments, one input and one output.
A static variable will hold a certain state and state machine models of design behavior.
Each state has an output driving the MultiChoice.
When the state machine detects a pulse and the more rate signal, it goes from one state to the next.
After the state machine, we should update the state register and send out the function output.
Now let's synthesize the code and generate the corresponding article type.
To perform the logic synthesis and generate FPGA bitstream, create a new Wieviorka project with the
name of a super underscore Multa underscore driver dashboard.
Create a new blog design and add to IPIS that if you want a repository that's Supermoto driver IP address
to promote or collaborate generate.
Connect them together and make the external parts.
Download the counseling file from the resources folder attached to this lecture and add that to the
project.
Now, Gennari, the bitstream unprogrammed about you should see the motor rotate.
As this video is the last lecture implementing the Supermoto driver Neckless, the next lecture will
give you a couple of exercises to practice your knowledge about the motor and designing sequential circuits
in each other's.
This is our takeaway message, as simple as state machine with eight states can implement the one two
phase unharvested method for driving us to promote.
Now the question, how can we change the rotate direction?