It is difficult for you to apply for a patent and write it yourself. Even if you know the writing framework and process of patent materials, it is difficult to get the approval of the patent review and adjudication board at one time. You may need to make some changes and corrections. This process is very energy-consuming and time-consuming.
If you really want to write it yourself, you can go to the State Patent Office to download a patent similar to the one you want to apply for and write it according to its template.