Rationally segmented triboelectric nanogenerator with a constant direct-current output and low crest factor