Setting
Let $W = \{w_1, w_2, \dots, w_n \}$ be some set and denote $2^W$ as its power set. For any set $S \subseteq 2^W$, define $F(S)$ as $\{ U \cup U'\mid U\in S, U'\in S \}$.
Example) When $S=\{\{ \}, \{w_1 \}, \{w_2\},\{ w_1, w_3 \} \},\tag{1}$
we have $F(S) = \{\{ \}, \{w_1 \}, \{w_2\},\{ w_1, w_2 \},\{w_1, w_3\}, \{w_1, w_2, w_3\} \},\tag{2}$
where we use the equality $\{w_1\} \cup \{w_1, w_3\} = \{w_1, w_3\}$.
Problem
For any $n$, find the set $S$ with minimum cardinality such that $F(S) = 2^W$.
Any ideas, pointers, references would be appreciated.
Example) For $n=3$ the set where we add $\{w_3\}$ to Eq.(1) is the desired set, and for $n=4$, $S = \{\{ \}, \{w_1 \}, \{w_2\},\{ w_3 \},\{w_4\}, \{w_1, w_2\}, \{w_3, w_4\} \}$ is the desired set.
So far, I had no luck on finding an explicit formula on how to create a set with the above property. Even for small $n$ such as $n=5$, it turned out to be highly non-trivial. Although I am not quite sure if this is the minimal set, $S = \{\{ \}, \{w_1 \}, \{w_2\},\{ w_3 \},\{w_4\}, \{w_5\},\{w_1, w_2\}, \{w_3, w_4\}, \{w_3, w_5\}, \{w_4, w_5\}, \{w_3, w_4, w_5\}\}$ has the property $F(S) = 2^W$, where $|S|=11$.
One simple observation I found so far is that, we need
$|S| \ge \Omega(2^{n/2}), \tag{1}$
since $|F(S)| = |2^W|=2^n$ and $|F(S)| \le |S|^2$. For intuition on the latter inequality, think of a 2-by-2 matrix where the columns and rows are indexed by the elements of $S$, and fill each entry of the matrix by taking the union of elements that the column and row index represents. Then, the set of entries of the matrix must $2^W$ by the property of $S$. There are a lot of duplicate entries in the matrix, but this gives us a rough upper bound for $|F(S)|$.
Note @Test123 gave a more tighter upper bound of $|F(S)| \le (n^2 + n)/2$.