Hi,
but when i added in my own PWM I keep getting simulation errors.
This is useless information as long as you don´t show/say what exact errors you get.
I don't have access to lab technicians or lecturers to help
Lucky you, who lives in 2020. When I was in engineer school we had no internet. Usually not even good datasheets. When we needed a NE555 or it´s datasheet we need to drive to the next bigger city..
We had no online datasheets, no application notes, no online example schematics, no forum, no youtube videos. No circuit simulators.
So please use the internet. All information is available for you within seconds.
Compared to a couple of decades ago it´s really simple for you.
--> When a MOSFET does not turn ON as expected in your simulation, then you just need to show the driving signals on a scope view. That´s all.
--> when an output voltage is not like expected you also may use a virtual ampere meter to show whether the current is in the expected range.
I think your teachers can expect that you use voltmeter, amperemeter, scope on a simulator.
***
Circuit issues:
The HIGH side MOSFETS are drawn the wrong way round. D <--> S
Both MOSFETS turn ON voltage is specified up to 4V for only 250 microamperes. Thus you may not get saturated condition when driving with just 5V.
Read datasheet.
On the other hand if you use two MOSFETS with smaller V_GS_on you run into cross conduction problems, like mentioned by others.
NE555 output HIGH voltage may be just 5V - 1.4V = 3.6V. Read datasheet.
Almost any H-Bridge manufacturer (single chip, hybrid, discrete) has online documentation about working principles and calculations. The tell you the advantages and disadvantages...
****
Later in your job:
You will be responsible for getting complete informations. Either you ask your it or will have to do it "trial and error" style.
Noboby will give you the latest datasheets, nobody will show you new techniques... you need to look for them on your own.
****
My recommendations.
Read datasheets and application notes.
Rectifiy the known issues of your circuit.
Do simulation.
Find debug methods on your own (V, I measurement)
Then - it´s quite usual that you need help from others - show what you did so far.
(A schematic is not enough, you need to provide error messages and measurement resuslts)
Klaus