Keywords are generally selected from titles and abstracts. The first two keywords generally define the research field or research object. For example, there are 1 papers on automatic monitoring of infrared alarms in museums. You can choose the first two keywords: "museum, alarm", and the last two keywords generally choose research means and methods. For example, the four keywords "infrared sensor, single chip microcomputer" in the above example basically cover the main fields of the paper, and readers can easily retrieve the author's paper from all angles. For example, if the author chooses "single chip microcomputer, programming, display and automation", the main content of the paper can't be well reflected.
Be careful not to use too general keywords, such as "circuit", "device", "system", "analysis" and "measurement", which are not specific. Can't use too trivial details, readers may not think of using such keywords to search.