An aerosol generating system having opposite proximal and distal ends comprising an aerosol generating device for generating an aerosol and a power supply device for powering the aerosol generating device; wherein the aerosol generating device has a longitudinal shape extending from the proximal end to the distal end, and has a first end and a second end in the length direction; the first end is provided with a first atomizer for heating an aerosol-forming substrate to generate an aerosol, and the second end is provided with a second atomizer for heating the aerosol-forming substrate to generate an aerosol; the aerosol generating device is movable with respect to the power supply device, and has a first position and a second position opposite to the power supply device; the aerosol generating system further comprises a position detecting component for detecting that the aerosol generating device is in the first position or the second position, and a controller ; the controller is configured to control the power supply device to output power to the first atomizer or the second atomizer according to the position of the aerosol generating device detected by the position detecting component; characterized in that : the position detecting component comprises a conductive connector provided on the aerosol generating device, and a first contact provided on the power supply device; the conductive connector is conductively connectable to the first contact in one of the first position or the second position; the position detecting component further comprises a detection circuit for detecting whether the conductive connector is conductively connected to the first contact. the aerosol generating device is movable with respect to the power supply device, and has a first position and a second position opposite to the power supply device; the aerosol generating system further comprises a position detecting component for detecting that the aerosol generating device is in the first position or the second position, and a controller ; the controller is configured to control the power supply device to output power to the first atomizer or the second atomizer according to the position of the aerosol generating device detected by the position detecting component; characterized in that : the position detecting component comprises a conductive connector provided on the aerosol generating device, and a first contact provided on the power supply device; the conductive connector is conductively connectable to the first contact in one of the first position or the second position; the position detecting component further comprises a detection circuit for detecting whether the conductive connector is conductively connected to the first contact. the position detecting component comprises a conductive connector provided on the aerosol generating device, and a first contact provided on the power supply device; the conductive connector is conductively connectable to the first contact in one of the first position or the second position; the position detecting component further comprises a detection circuit for detecting whether the conductive connector is conductively connected to the first contact. <EOS>