A pressure sensor, comprising a top cover assembly, an upper seat, and a movable membrane, wherein each of a top and a bottom of the upper seat is provided with an opening, the top cover assembly seals the opening at the top of the upper seat, the movable membrane seals the opening at the bottom of the upper seat, the top cover assembly, the upper seat, and the movable membrane form a pressure reference chamber, the pressure sensor is configured to detect a gas pressure on a side of the movable membrane away from the top cover assembly based on a state of the movable membrane, wherein, at least one gas guide passage is formed at the top cover assembly, and is configured to connect the pressure reference chamber to the outside, the top cover assembly comprises at least one blocking member configured to seal the gas guide passage, wherein the blocking member before melting is disposed in the gas guide passage, and the blocking member seals the gas guide passage after being heated to a temperature higher than a preset melting temperature to be at least partially melted and being cooled to solidify.