What happens when a verb follows a verb? Like say, I know the following sentence is grammatically incorrect:
- I did knew I was wrong.
Rather it should be:
- I did know I was wrong.
whereas the following is acceptable,
- If I had known that I was wrong. (Pardon the fragmentation, just for an example.)
Each case includes a past tense verb 'did' and 'had' followed by, again, a past tense verb 'knew' and 'known' accordingly. Why is such a difference? Someone enlighten me.

Also, if there are other similar anomalies, I'd be happy to learn.
I know I'm segregating the tenses rather superficially as I've little knowledge on them, even so, If it is the case of compatibility with the past perfect and the past participles and such, then is the following sentence possible? If not, why?
- I did known I was wrong,